mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2026-05-07 17:43:39 +00:00
Compare commits
2339 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dc529a89ae | ||
|
|
1869349dce | ||
|
|
70711ddb39 | ||
|
|
adc597a799 | ||
|
|
276ceb26d0 | ||
|
|
15e6e48bef | ||
|
|
2f57c5a0e9 | ||
|
|
338e088b9d | ||
|
|
56c9107d08 | ||
|
|
dc94882c90 | ||
|
|
30567a5909 | ||
|
|
f1b1530249 | ||
|
|
6948ac8c16 | ||
|
|
b2e129eaa5 | ||
|
|
1de37306a5 | ||
|
|
9bc85dda5f | ||
|
|
c7174d5f61 | ||
|
|
1bec420695 | ||
|
|
79edad2533 | ||
|
|
ce62fa6f7b | ||
|
|
a0e254e7c4 | ||
|
|
25c3bbba0e | ||
|
|
d66ca8b731 | ||
|
|
fd9ed54f27 | ||
|
|
f9bfdb1555 | ||
|
|
15831b19a3 | ||
|
|
8416d1c028 | ||
|
|
4d5d37ae61 | ||
|
|
e62cea20d1 | ||
|
|
9e27dbb53b | ||
|
|
dc50b95a47 | ||
|
|
4050242cf3 | ||
|
|
fd718f350c | ||
|
|
0d6fd12231 | ||
|
|
f297e98a9e | ||
|
|
637c54e205 | ||
|
|
f045fa576b | ||
|
|
692ba0fa7d | ||
|
|
a93d249ac1 | ||
|
|
9fccccedee | ||
|
|
ca7f949ee8 | ||
|
|
05f94dc5fc | ||
|
|
dcf7698924 | ||
|
|
7b68d7d467 | ||
|
|
4741e50047 | ||
|
|
7836c0867d | ||
|
|
d1e0039bc8 | ||
|
|
7a51eaa727 | ||
|
|
6c40d75e47 | ||
|
|
0a0c257206 | ||
|
|
7019023cbc | ||
|
|
c48c182fe0 | ||
|
|
98be02898b | ||
|
|
e1bdeb2942 | ||
|
|
015d666a4d | ||
|
|
624c90a439 | ||
|
|
0fb26acccc | ||
|
|
ed315fb8a5 | ||
|
|
fc6a87bba1 | ||
|
|
d08f201e0c | ||
|
|
0369c65870 | ||
|
|
975d6f1ec4 | ||
|
|
7c9e2255be | ||
|
|
9f6818a6e5 | ||
|
|
f1c16b487a | ||
|
|
6512f39061 | ||
|
|
22b91afa69 | ||
|
|
77107ba124 | ||
|
|
fa4dec9fe9 | ||
|
|
215e887be0 | ||
|
|
0da6704fc2 | ||
|
|
812754edec | ||
|
|
964e19ab56 | ||
|
|
9dc624f5dc | ||
|
|
dad9ea3e07 | ||
|
|
2c00599a53 | ||
|
|
2786d34dd7 | ||
|
|
864b046500 | ||
|
|
d12d9dad40 | ||
|
|
2b3f1d3fc5 | ||
|
|
984396a21a | ||
|
|
4f95ee5209 | ||
|
|
c04567fad4 | ||
|
|
89c2fd3d28 | ||
|
|
5ab49c833d | ||
|
|
0e74204aad | ||
|
|
a37bd0b9a7 | ||
|
|
01d89acd13 | ||
|
|
e85466c1ae | ||
|
|
352297d361 | ||
|
|
6c2d6cff19 | ||
|
|
e540757279 | ||
|
|
a8bca24292 | ||
|
|
5f3c03d6a8 | ||
|
|
6b956a6951 | ||
|
|
8689370830 | ||
|
|
8ffa27b311 | ||
|
|
6334616b44 | ||
|
|
8bbc209950 | ||
|
|
9e1a67b950 | ||
|
|
de5422b1fd | ||
|
|
45f450fca5 | ||
|
|
9a3fd76b25 | ||
|
|
60fc6df407 | ||
|
|
2e4a6b7f92 | ||
|
|
5f90bd88da | ||
|
|
c575a85233 | ||
|
|
ea4703cb31 | ||
|
|
0471e54e5a | ||
|
|
6012c9fe3a | ||
|
|
f65539504f | ||
|
|
62083fcafd | ||
|
|
2e5a9cf119 | ||
|
|
a45b8bc9bc | ||
|
|
a05bd3c47e | ||
|
|
2a2c92f181 | ||
|
|
f54277364c | ||
|
|
de2d496e71 | ||
|
|
7b5bdd076d | ||
|
|
e0c17a2113 | ||
|
|
b107435a3f | ||
|
|
4e1fcd4a63 | ||
|
|
ea4a96b45e | ||
|
|
6a90db8c19 | ||
|
|
0e5972b0b5 | ||
|
|
5f7608a7c6 | ||
|
|
668ff0db3a | ||
|
|
9f159dd62c | ||
|
|
d1eaeeed8c | ||
|
|
10e27a2902 | ||
|
|
f567a41f53 | ||
|
|
704c62ca01 | ||
|
|
8d5473e67c | ||
|
|
3b1b98c645 | ||
|
|
daf350f5d3 | ||
|
|
ef50277124 | ||
|
|
ba70dc4c13 | ||
|
|
934e420e36 | ||
|
|
d5e4617ab5 | ||
|
|
b5a17b501b | ||
|
|
2b18957365 | ||
|
|
4c71bf3d90 | ||
|
|
fdf4a5bc90 | ||
|
|
b7d9eba72b | ||
|
|
380475af32 | ||
|
|
a2a0be4246 | ||
|
|
c9ef2e26ca | ||
|
|
aa6532cf34 | ||
|
|
310c1f50be | ||
|
|
665fce871f | ||
|
|
58c7e846cb | ||
|
|
8b0fb98a11 | ||
|
|
8615509c40 | ||
|
|
d0af52f28e | ||
|
|
f46dc31683 | ||
|
|
ef89b79d7e | ||
|
|
3e41f9a673 | ||
|
|
d45a12826c | ||
|
|
56810541f0 | ||
|
|
911ee8fd1f | ||
|
|
5361027ef0 | ||
|
|
56721517ea | ||
|
|
940a71422e | ||
|
|
da225d4aa1 | ||
|
|
8d74c107f5 | ||
|
|
1fc86b1e3a | ||
|
|
4cdf18095d | ||
|
|
2d43831d1f | ||
|
|
2e96921f9c | ||
|
|
cf0de18982 | ||
|
|
ae83ee28a3 | ||
|
|
306ed4984b | ||
|
|
626f2e65b1 | ||
|
|
2eded86b4b | ||
|
|
786fc512e2 | ||
|
|
c31ac45332 | ||
|
|
db172ba249 | ||
|
|
bb59940b03 | ||
|
|
04887953ff | ||
|
|
8ea72cc99d | ||
|
|
44d2e90217 | ||
|
|
12926eb5db | ||
|
|
ae114d2fa1 | ||
|
|
270d07be2f | ||
|
|
947cdbe4b1 | ||
|
|
5583957616 | ||
|
|
6d731e1aa1 | ||
|
|
839ded7d59 | ||
|
|
f57281ebc1 | ||
|
|
0a3bc6c0cf | ||
|
|
55a7815064 | ||
|
|
a1c4f53c8c | ||
|
|
8bbb44a74e | ||
|
|
bc5ae04ea0 | ||
|
|
4f387b0b74 | ||
|
|
bdf8aca750 | ||
|
|
acfc4d6dfb | ||
|
|
35a3c7226a | ||
|
|
d93fdc8a6c | ||
|
|
5d3c7433b8 | ||
|
|
0010d42f82 | ||
|
|
316089c39f | ||
|
|
5024df1925 | ||
|
|
e7146309de | ||
|
|
c327d2a62c | ||
|
|
cb2e312f13 | ||
|
|
366bb52ec8 | ||
|
|
82949085c0 | ||
|
|
90c43aa2e7 | ||
|
|
a07f0883b9 | ||
|
|
812f23d05c | ||
|
|
dcce9837d2 | ||
|
|
ee8eccc5fa | ||
|
|
7b79cddacd | ||
|
|
53f8383354 | ||
|
|
36108ce2be | ||
|
|
4cbafc1ef6 | ||
|
|
e31c926bf0 | ||
|
|
59ede32f8e | ||
|
|
9eba64adce | ||
|
|
110969e207 | ||
|
|
50ecad547e | ||
|
|
34fb14ec9a | ||
|
|
e2e0916100 | ||
|
|
501e3ae05a | ||
|
|
ac33847b30 | ||
|
|
18494b0ad6 | ||
|
|
dc2c302a84 | ||
|
|
a251f77556 | ||
|
|
ec02a1cfe5 | ||
|
|
39b958ab86 | ||
|
|
9c0724b270 | ||
|
|
dbcc447f43 | ||
|
|
2954c01b47 | ||
|
|
c7588c042b | ||
|
|
6e2678a42c | ||
|
|
462ea921e3 | ||
|
|
cb29aa0473 | ||
|
|
af42482565 | ||
|
|
caf16982d9 | ||
|
|
1842df1da5 | ||
|
|
8863940bf5 | ||
|
|
b1c71f976c | ||
|
|
59011a04a1 | ||
|
|
c448001d47 | ||
|
|
2e8c0e9247 | ||
|
|
db871677b0 | ||
|
|
a40adbc142 | ||
|
|
1e8554b01f | ||
|
|
75bfbadb23 | ||
|
|
ad4ae39903 | ||
|
|
fefdba05ca | ||
|
|
f813dc78b2 | ||
|
|
10ba318807 | ||
|
|
86fc1e5b32 | ||
|
|
3c823254ff | ||
|
|
a0513bc45b | ||
|
|
3067bfd126 | ||
|
|
95d96cfe66 | ||
|
|
f75fceb3c0 | ||
|
|
3511d5552a | ||
|
|
f27bdce70f | ||
|
|
85fd2bcb82 | ||
|
|
461eaca7e8 | ||
|
|
836592c447 | ||
|
|
fbc1b61bff | ||
|
|
bca698a17a | ||
|
|
a65fb85b6d | ||
|
|
bbb1ff6574 | ||
|
|
927fa532e5 | ||
|
|
87b740df46 | ||
|
|
203d213529 | ||
|
|
2e614ce08f | ||
|
|
9e271f2017 | ||
|
|
79f225bd59 | ||
|
|
c7e94e2175 | ||
|
|
1c797a8048 | ||
|
|
f9bba8007d | ||
|
|
2c49ebbeea | ||
|
|
17460def8e | ||
|
|
77b7e1e682 | ||
|
|
eafaa5511d | ||
|
|
96fea99af9 | ||
|
|
44e7e85f23 | ||
|
|
af35057212 | ||
|
|
590e86792c | ||
|
|
6fd6c65fd4 | ||
|
|
c809f7193a | ||
|
|
c7e97b22fb | ||
|
|
b2e140b032 | ||
|
|
2ff45cd0da | ||
|
|
b6b56f48b7 | ||
|
|
04a9d14f35 | ||
|
|
26e028808a | ||
|
|
2053ff96fc | ||
|
|
368bf2211f | ||
|
|
de8a623932 | ||
|
|
865a0186b6 | ||
|
|
98db796fde | ||
|
|
adebc96a9c | ||
|
|
564a65a82e | ||
|
|
501ff2eda5 | ||
|
|
999ec5739d | ||
|
|
68b2db21b1 | ||
|
|
2337397a15 | ||
|
|
7c56ecca3f | ||
|
|
211544fbc8 | ||
|
|
4677fd3f64 | ||
|
|
4eeac731ff | ||
|
|
9ce43ee677 | ||
|
|
816d03f7d9 | ||
|
|
909f7eb3d2 | ||
|
|
7c2e9a6596 | ||
|
|
fe6934593f | ||
|
|
52c8adc7ed | ||
|
|
7ec7ff0f30 | ||
|
|
a133eadf06 | ||
|
|
89dd0fa932 | ||
|
|
a9dcfe2a42 | ||
|
|
2ad8d614b5 | ||
|
|
b206ea5cfe | ||
|
|
70590f79f8 | ||
|
|
fa12384350 | ||
|
|
78aac6b403 | ||
|
|
0cb413c3d3 | ||
|
|
962c82540c | ||
|
|
06fd7f2012 | ||
|
|
0cbb555e9a | ||
|
|
2e8c21ad2d | ||
|
|
f44183db9e | ||
|
|
5fa9bc192c | ||
|
|
f9a559d2b7 | ||
|
|
af87365672 | ||
|
|
03a23c037a | ||
|
|
0ac777460d | ||
|
|
71e59bdcd8 | ||
|
|
0a1283f94f | ||
|
|
2600ac65c8 | ||
|
|
c8e8c614a0 | ||
|
|
e7c4c8b993 | ||
|
|
7cfb51e5e7 | ||
|
|
f049453dd6 | ||
|
|
cac37a6f6e | ||
|
|
263dfa95e4 | ||
|
|
bc9711cb1e | ||
|
|
b4d88a7bb4 | ||
|
|
ae833aa9c0 | ||
|
|
4463ded603 | ||
|
|
159dec01ee | ||
|
|
6319bafafa | ||
|
|
c000a5ff09 | ||
|
|
fee263c59c | ||
|
|
5a64a77df3 | ||
|
|
6810929f6a | ||
|
|
9404633bfd | ||
|
|
12f86f89fc | ||
|
|
9858ea79fb | ||
|
|
2c357c929c | ||
|
|
482e203d5c | ||
|
|
c10e720ba9 | ||
|
|
5016de3626 | ||
|
|
d5fb9fd12c | ||
|
|
c79b3af610 | ||
|
|
c0a383d960 | ||
|
|
b6106604c4 | ||
|
|
12b6162852 | ||
|
|
8f192b494a | ||
|
|
372897aac4 | ||
|
|
fa47ac1c9f | ||
|
|
c52d7cc694 | ||
|
|
a2f23746c2 | ||
|
|
215b13f2a2 | ||
|
|
35ed9425d7 | ||
|
|
74cc8721c7 | ||
|
|
8ef1db78b0 | ||
|
|
18c8f10ff2 | ||
|
|
96d881f087 | ||
|
|
0e950baf41 | ||
|
|
8113f55f4b | ||
|
|
f296a9ce9a | ||
|
|
ddbefc71cb | ||
|
|
0d5a3abeae | ||
|
|
85143e8376 | ||
|
|
504abbd6e0 | ||
|
|
accccc0cbf | ||
|
|
01ba6cf610 | ||
|
|
4841dc0b74 | ||
|
|
185125e4e4 | ||
|
|
99ea31faa8 | ||
|
|
9ade941de1 | ||
|
|
4cccbe7989 | ||
|
|
5eb5c96750 | ||
|
|
5da55cbac9 | ||
|
|
81cc4df1f9 | ||
|
|
25f3d358b1 | ||
|
|
a3c8bb251d | ||
|
|
327533be1f | ||
|
|
61ea2115c7 | ||
|
|
108a72ea8a | ||
|
|
fb3ef957bb | ||
|
|
78f72b3bf5 | ||
|
|
6baf965777 | ||
|
|
3f86b339f3 | ||
|
|
32d38a5df6 | ||
|
|
3ac46aeced | ||
|
|
58cf2ee1f9 | ||
|
|
c74b5f9ee6 | ||
|
|
11a8ef6640 | ||
|
|
b51b47e707 | ||
|
|
35e3c68028 | ||
|
|
818721d12d | ||
|
|
3212bf5294 | ||
|
|
d49275f0e7 | ||
|
|
c9ff4b9de4 | ||
|
|
21138b6a86 | ||
|
|
f740d8b9be | ||
|
|
d4ac84d50d | ||
|
|
5cb9fe7819 | ||
|
|
c98d0e185f | ||
|
|
2c421a7046 | ||
|
|
a595e9e8a7 | ||
|
|
10cf058518 | ||
|
|
9bdf09bd76 | ||
|
|
d4de04584f | ||
|
|
dd2918efd8 | ||
|
|
2ed9586130 | ||
|
|
b78900e956 | ||
|
|
60ee29aac3 | ||
|
|
b90eff4bc6 | ||
|
|
0c2e5b64c9 | ||
|
|
9568b310be | ||
|
|
2b1dd3bef5 | ||
|
|
453091f611 | ||
|
|
80de01a5b4 | ||
|
|
7cc7d027f7 | ||
|
|
12e5293c73 | ||
|
|
22492b68b7 | ||
|
|
a12a26e19b | ||
|
|
2a2a1d98b3 | ||
|
|
6e92a7a149 | ||
|
|
4dfe9dd038 | ||
|
|
d57165df45 | ||
|
|
738e9a79a0 | ||
|
|
aaab11e36f | ||
|
|
8f848f43e9 | ||
|
|
a7c1306e2d | ||
|
|
e8be665f11 | ||
|
|
9ed82a280e | ||
|
|
817d916233 | ||
|
|
ffe3984353 | ||
|
|
ec734cb06c | ||
|
|
8292ba7ad6 | ||
|
|
2e65616761 | ||
|
|
07aa1a99fa | ||
|
|
6524f20de4 | ||
|
|
a0f7f2b309 | ||
|
|
442aad9b27 | ||
|
|
8e0f97ac96 | ||
|
|
5510b31972 | ||
|
|
ecea5ef757 | ||
|
|
a1ce45b0b1 | ||
|
|
9ba9780a96 | ||
|
|
4afca6bf5d | ||
|
|
73e7a259fd | ||
|
|
8e0a40434c | ||
|
|
68303ed601 | ||
|
|
8a146469c0 | ||
|
|
b1c2f791af | ||
|
|
182137a9a4 | ||
|
|
3155f4e96d | ||
|
|
345d691328 | ||
|
|
dfb9fa0144 | ||
|
|
a7e9d7842d | ||
|
|
7de6b41030 | ||
|
|
2cc5c517cf | ||
|
|
c0775e74ec | ||
|
|
3acf35bb98 | ||
|
|
8ddfecfbae | ||
|
|
51f5a6f1f8 | ||
|
|
64fca24b32 | ||
|
|
41149d061d | ||
|
|
ba4cee1812 | ||
|
|
06abf3205a | ||
|
|
adfdc9520a | ||
|
|
90cb852908 | ||
|
|
278dd589ec | ||
|
|
15e8791f9d | ||
|
|
498c9bd96a | ||
|
|
6c8df6af44 | ||
|
|
8e93537266 | ||
|
|
b8f16f3538 | ||
|
|
87e26de0fc | ||
|
|
575183d6dc | ||
|
|
6a2532fe17 | ||
|
|
3655115105 | ||
|
|
5561a08d59 | ||
|
|
e687ca8735 | ||
|
|
0bf46cb1ee | ||
|
|
19a2f12692 | ||
|
|
6cc82fd430 | ||
|
|
72c897c49d | ||
|
|
077a50a547 | ||
|
|
820f1c8a16 | ||
|
|
b163757e1f | ||
|
|
2bc0132d0c | ||
|
|
b75401a2cb | ||
|
|
12e7ee2357 | ||
|
|
3ec41503e3 | ||
|
|
c770af9b12 | ||
|
|
2d8f80b65e | ||
|
|
6c4eb2733d | ||
|
|
d5e8c9d04f | ||
|
|
3f1290cee3 | ||
|
|
5a20d07c21 | ||
|
|
9f91d310c6 | ||
|
|
6527c0d2fc | ||
|
|
ce2eb6e8ee | ||
|
|
8b47465586 | ||
|
|
3065ab0fd8 | ||
|
|
a2407a2964 | ||
|
|
16b79df836 | ||
|
|
6a4b25699d | ||
|
|
da410506a4 | ||
|
|
c5e88c654e | ||
|
|
bd8635e26a | ||
|
|
4349cdba07 | ||
|
|
f2fb761bac | ||
|
|
59aee2b461 | ||
|
|
4d206d849e | ||
|
|
744c0173d1 | ||
|
|
55482ab5dc | ||
|
|
e56b44dee6 | ||
|
|
f2012e5aff | ||
|
|
4526fdaf64 | ||
|
|
bc22b4e782 | ||
|
|
f70821ce0d | ||
|
|
a774ff935c | ||
|
|
431df5ae93 | ||
|
|
677c2c2cd2 | ||
|
|
ee540c712c | ||
|
|
d23c4393fd | ||
|
|
b24a111136 | ||
|
|
91636deaaf | ||
|
|
68cbf67f4c | ||
|
|
645961613f | ||
|
|
53b321c945 | ||
|
|
975deb7528 | ||
|
|
2c049ae06d | ||
|
|
54372fdff5 | ||
|
|
c60ab6bbf6 | ||
|
|
cc09c265e1 | ||
|
|
0f9288e38d | ||
|
|
06fb7f90da | ||
|
|
e04368ad7c | ||
|
|
3e2d3548f2 | ||
|
|
eb9036d75b | ||
|
|
01a2d978eb | ||
|
|
6e67b25af9 | ||
|
|
e91667ba75 | ||
|
|
d45561ace0 | ||
|
|
0fdd6e8934 | ||
|
|
35794f4f18 | ||
|
|
b8be8dff69 | ||
|
|
bc317a9807 | ||
|
|
97ca160b08 | ||
|
|
1a3fc3724a | ||
|
|
7b01454d5f | ||
|
|
f3749394ac | ||
|
|
807f421752 | ||
|
|
e4915fb7d2 | ||
|
|
a76f6a2775 | ||
|
|
ba518f6899 | ||
|
|
ad4622da2c | ||
|
|
3b1c2896d9 | ||
|
|
fc5d76e6e2 | ||
|
|
5f9a45ada9 | ||
|
|
a120f8ff4d | ||
|
|
96833cd809 | ||
|
|
8649a80071 | ||
|
|
550cadbee4 | ||
|
|
8bd10473d6 | ||
|
|
8d708b0c79 | ||
|
|
beaab10c8f | ||
|
|
889c5d2705 | ||
|
|
17b0aac809 | ||
|
|
399220ddbc | ||
|
|
23e074ff14 | ||
|
|
59080a3d1d | ||
|
|
3a25a217e6 | ||
|
|
f854ffd015 | ||
|
|
961b5586a5 | ||
|
|
57ff934f0d | ||
|
|
92ce9273ee | ||
|
|
dd36d43ea1 | ||
|
|
a7a7720752 | ||
|
|
c725f3c86c | ||
|
|
1b984738ab | ||
|
|
a3199401f4 | ||
|
|
a7620a29be | ||
|
|
5ac1297fa5 | ||
|
|
fe69105f71 | ||
|
|
93a3342841 | ||
|
|
7b3e26acc9 | ||
|
|
444e86d191 | ||
|
|
61ce0088ae | ||
|
|
b3aa3633c7 | ||
|
|
627ba271ad | ||
|
|
2faa631676 | ||
|
|
5838779162 | ||
|
|
23fd1041c1 | ||
|
|
5c398ede6f | ||
|
|
378e4752a6 | ||
|
|
dad48f16b7 | ||
|
|
a363fa78ef | ||
|
|
03fa91ba3c | ||
|
|
d79d4d5986 | ||
|
|
ccd3dd842f | ||
|
|
b4a8e1ef8a | ||
|
|
5ea8f05ec6 | ||
|
|
10535e0016 | ||
|
|
a8c552e261 | ||
|
|
932bd98824 | ||
|
|
9f376cd901 | ||
|
|
a560b9f5a2 | ||
|
|
4f04bd3697 | ||
|
|
97c8b49444 | ||
|
|
748465f5a5 | ||
|
|
04867e2456 | ||
|
|
32f623e029 | ||
|
|
b6c6534c30 | ||
|
|
beb438bb0b | ||
|
|
4b963ca8a5 | ||
|
|
648ed55fe6 | ||
|
|
23430e6772 | ||
|
|
0672847330 | ||
|
|
a874ab0133 | ||
|
|
590d9b7e1d | ||
|
|
b0bca0f8b0 | ||
|
|
d8f1ce2f76 | ||
|
|
9b11b9dce5 | ||
|
|
303cd31162 | ||
|
|
0adc09e0af | ||
|
|
96fd1348ae | ||
|
|
bad705f245 | ||
|
|
34a8d0cc8e | ||
|
|
0a2536a0df | ||
|
|
c85d7ccd79 | ||
|
|
7a9d1ad2f8 | ||
|
|
2f0418c101 | ||
|
|
3092855d5a | ||
|
|
72f803c366 | ||
|
|
c87b96435d | ||
|
|
e4bbb24dcf | ||
|
|
6536d29c61 | ||
|
|
116f76e4b6 | ||
|
|
ce89580749 | ||
|
|
dff0a7c52a | ||
|
|
915efa4236 | ||
|
|
4548e5ae1d | ||
|
|
46c2435235 | ||
|
|
e9eb017aac | ||
|
|
0b0e9ef18d | ||
|
|
7f5adf8982 | ||
|
|
89d6856090 | ||
|
|
2cacb9d48c | ||
|
|
2c29c2b8dd | ||
|
|
16abda59be | ||
|
|
90ab89a0b0 | ||
|
|
6531ad56a6 | ||
|
|
e8671ed04e | ||
|
|
2044ae6b3a | ||
|
|
c661b95864 | ||
|
|
c683ec2bcb | ||
|
|
2e4e33156e | ||
|
|
04f4eeaca2 | ||
|
|
2e4b32204c | ||
|
|
34db13486a | ||
|
|
c6c6bb4041 | ||
|
|
a2ffb419c9 | ||
|
|
0127cec371 | ||
|
|
db3a6075f5 | ||
|
|
8876a15227 | ||
|
|
954eb40237 | ||
|
|
d4acdac168 | ||
|
|
817c7c445d | ||
|
|
da714a362b | ||
|
|
7b3941e5d4 | ||
|
|
15d8a40529 | ||
|
|
cdeaca73c4 | ||
|
|
bee22540a1 | ||
|
|
76880b84f9 | ||
|
|
2f0b57ca13 | ||
|
|
f90a022d3a | ||
|
|
f2fed21c11 | ||
|
|
d940974789 | ||
|
|
f7a3c135e2 | ||
|
|
fcb0dff67c | ||
|
|
b5dac5f525 | ||
|
|
a4d90a9a64 | ||
|
|
84787a2ada | ||
|
|
2a0d707ce1 | ||
|
|
aae9eea532 | ||
|
|
2044a289f8 | ||
|
|
d3ba6b334b | ||
|
|
dac8c4ce4d | ||
|
|
9e974d4c7e | ||
|
|
6bfc3c530c | ||
|
|
93239f191a | ||
|
|
b17db2b462 | ||
|
|
9130366a58 | ||
|
|
ad0066a6b6 | ||
|
|
78c323c4eb | ||
|
|
51ad2d10de | ||
|
|
6533dfd7ce | ||
|
|
e11a3414ae | ||
|
|
4fdc900581 | ||
|
|
d99830b59c | ||
|
|
23c11e50f9 | ||
|
|
5fde5e62a8 | ||
|
|
f124461674 | ||
|
|
63b835f822 | ||
|
|
30743eff56 | ||
|
|
4f83b00f6f | ||
|
|
ea710e6523 | ||
|
|
200b371d13 | ||
|
|
ae88ea79b2 | ||
|
|
82b58668ed | ||
|
|
bd80929ac1 | ||
|
|
2a4ac7cfac | ||
|
|
ab513c378a | ||
|
|
a959fb011f | ||
|
|
53085a45e0 | ||
|
|
bc2d1262d7 | ||
|
|
1220309323 | ||
|
|
a972341b5d | ||
|
|
87430acff1 | ||
|
|
0b4cc6e14c | ||
|
|
5105b90017 | ||
|
|
3516a2d0bf | ||
|
|
f224ef6185 | ||
|
|
8e27a485d8 | ||
|
|
a36f4d0a9f | ||
|
|
b71840bbd2 | ||
|
|
71fbc87dbd | ||
|
|
37b0870ee3 | ||
|
|
3dbe998f9b | ||
|
|
edfbf363de | ||
|
|
12fd2ae86d | ||
|
|
ee847f8ff0 | ||
|
|
92a331af76 | ||
|
|
a8f62bff43 | ||
|
|
519904e8a8 | ||
|
|
8d3463dbdd | ||
|
|
b125cb97a2 | ||
|
|
d7e7a69e00 | ||
|
|
246cffb624 | ||
|
|
0e93cad4f0 | ||
|
|
53d4dbacf0 | ||
|
|
39d28a5131 | ||
|
|
fa04dea7c4 | ||
|
|
1c278974a8 | ||
|
|
2b838b6d06 | ||
|
|
82ea082997 | ||
|
|
5562322290 | ||
|
|
6a244465ce | ||
|
|
e5de3d5a77 | ||
|
|
bdf87ba0f8 | ||
|
|
3b314a68a1 | ||
|
|
06c68fb196 | ||
|
|
9a31122c82 | ||
|
|
dace726d08 | ||
|
|
0f7fc94111 | ||
|
|
e231b8b6f5 | ||
|
|
68fe1e3476 | ||
|
|
148ad0cf0b | ||
|
|
1b4cf7fc27 | ||
|
|
cec91c5fd6 | ||
|
|
974ccb6f00 | ||
|
|
3c78926d75 | ||
|
|
466cdeb8a0 | ||
|
|
29b983398c | ||
|
|
15cf34cd62 | ||
|
|
59d81ae614 | ||
|
|
c3c676b7d6 | ||
|
|
aa9ff2ffc2 | ||
|
|
f0f92edbd0 | ||
|
|
4d49f095b3 | ||
|
|
f47d618e54 | ||
|
|
583e04bdd6 | ||
|
|
737e6e531c | ||
|
|
d07397931a | ||
|
|
865abfc37c | ||
|
|
aa4d15594f | ||
|
|
278cafb76c | ||
|
|
24a78dba31 | ||
|
|
d163b18208 | ||
|
|
051afd21e7 | ||
|
|
d3f38ce56c | ||
|
|
b2b4742e61 | ||
|
|
09bfc852dc | ||
|
|
ace74bd066 | ||
|
|
f6ee53af14 | ||
|
|
6c6cb5745f | ||
|
|
3262c0f747 | ||
|
|
9323a1f9b2 | ||
|
|
f02a8d0ae9 | ||
|
|
8517d7cb44 | ||
|
|
cb4b4f3d6e | ||
|
|
21e7f86697 | ||
|
|
347b3bd18d | ||
|
|
755c45777f | ||
|
|
558192abf4 | ||
|
|
d677052e8c | ||
|
|
95bfc542aa | ||
|
|
d1c99c5d52 | ||
|
|
adb2af0a2b | ||
|
|
d0c60605ab | ||
|
|
6697b665ca | ||
|
|
12178c694a | ||
|
|
de1e5584b3 | ||
|
|
1559984f77 | ||
|
|
467ac4fdfe | ||
|
|
69b7100dac | ||
|
|
14dc41d4b3 | ||
|
|
ad049f13aa | ||
|
|
20e0407235 | ||
|
|
4f569fd568 | ||
|
|
ddda76f9b0 | ||
|
|
553dac2ae0 | ||
|
|
96abe0d7d3 | ||
|
|
47e44a6693 | ||
|
|
cf8c7d4ed3 | ||
|
|
5165ed9efd | ||
|
|
05e3db3ac9 | ||
|
|
e3491a9ee8 | ||
|
|
3a4e7d45f1 | ||
|
|
05eda56e66 | ||
|
|
575db04172 | ||
|
|
f34d3d7e84 | ||
|
|
6a1ddc5028 | ||
|
|
b1d4804c07 | ||
|
|
c57ae803a6 | ||
|
|
db7b2bc8f1 | ||
|
|
31bf57a310 | ||
|
|
cae675343c | ||
|
|
35501ba41c | ||
|
|
419055e484 | ||
|
|
91290b9be4 | ||
|
|
820f113d9e | ||
|
|
373a1ff2ce | ||
|
|
4d6b6ba76c | ||
|
|
139b4cc9ea | ||
|
|
d5d0d2cb0e | ||
|
|
4aa713e861 | ||
|
|
9e9aed41be | ||
|
|
3d268b8480 | ||
|
|
ad7445d4cc | ||
|
|
3a30271219 | ||
|
|
bb5196aaae | ||
|
|
d3070cafa7 | ||
|
|
5cd3b6f58c | ||
|
|
a5b2b8b91b | ||
|
|
b4b301d22e | ||
|
|
bedc758fe7 | ||
|
|
76701185ad | ||
|
|
f1cb14eb54 | ||
|
|
f4f4a469a9 | ||
|
|
9e5b4052ed | ||
|
|
234867b84d | ||
|
|
61e8c5f798 | ||
|
|
4b60aec190 | ||
|
|
bbc0ed118d | ||
|
|
ecfba79d98 | ||
|
|
310834aea2 | ||
|
|
6a1fa9bb17 | ||
|
|
db8a601cf8 | ||
|
|
1bb76201e6 | ||
|
|
372bca5945 | ||
|
|
93c19a40bf | ||
|
|
d0a75580da | ||
|
|
345ec25532 | ||
|
|
a94721fde0 | ||
|
|
816c7a8d1f | ||
|
|
efe52db690 | ||
|
|
d61df0f400 | ||
|
|
b14547b8b6 | ||
|
|
97ad3e7530 | ||
|
|
0589a32f75 | ||
|
|
617dc0f822 | ||
|
|
fcfa8b680b | ||
|
|
94244437de | ||
|
|
53956a2990 | ||
|
|
a7731abb72 | ||
|
|
50fd029eaa | ||
|
|
a2b567dfd6 | ||
|
|
b770f6a985 | ||
|
|
797e8fdbc3 | ||
|
|
b8c5027686 | ||
|
|
65e646eeba | ||
|
|
fba3fa705d | ||
|
|
09e8fb75ce | ||
|
|
6ca530a721 | ||
|
|
e01c535178 | ||
|
|
7239547ead | ||
|
|
7fc06260d1 | ||
|
|
e357896674 | ||
|
|
225f4f40cb | ||
|
|
927be75616 | ||
|
|
00965e6c34 | ||
|
|
4bf1f217ae | ||
|
|
fcc85abe27 | ||
|
|
6851e93296 | ||
|
|
67660972c9 | ||
|
|
ffbba74c91 | ||
|
|
2b0cf73bf0 | ||
|
|
a093f3d47a | ||
|
|
4f600f746a | ||
|
|
360418f1a1 | ||
|
|
3bc7575c47 | ||
|
|
fde8dc1652 | ||
|
|
b8f83aa4bf | ||
|
|
85b1e17df6 | ||
|
|
4144c517a5 | ||
|
|
8ad5f2c506 | ||
|
|
2a3f84aaf2 | ||
|
|
030e6b3980 | ||
|
|
e8ad603cd9 | ||
|
|
b560ade663 | ||
|
|
d10464de30 | ||
|
|
64f68e9635 | ||
|
|
462ba1b360 | ||
|
|
4a86a55174 | ||
|
|
86d26914a2 | ||
|
|
6ae4177b25 | ||
|
|
f6bf8b3ed3 | ||
|
|
345fb6b226 | ||
|
|
87a9dc9489 | ||
|
|
6c6e8b8de0 | ||
|
|
5acffe75df | ||
|
|
ac222ceba2 | ||
|
|
f9d4827102 | ||
|
|
7ea7c72dde | ||
|
|
809230f634 | ||
|
|
698c854d5b | ||
|
|
ca5b135ddf | ||
|
|
dbddc627d4 | ||
|
|
62fc386bb4 | ||
|
|
f2eb3c579f | ||
|
|
2fce812026 | ||
|
|
e975f3cde9 | ||
|
|
6b5fb2063f | ||
|
|
70c3d36536 | ||
|
|
d590cfb9d0 | ||
|
|
ded419ef2b | ||
|
|
4c3f898789 | ||
|
|
46c259bb20 | ||
|
|
adc3079613 | ||
|
|
15bebf1695 | ||
|
|
5c840334b8 | ||
|
|
a05c242429 | ||
|
|
bd59934350 | ||
|
|
11b123ba01 | ||
|
|
24e7ace876 | ||
|
|
62586c1676 | ||
|
|
108737fcc6 | ||
|
|
abfebe5cc4 | ||
|
|
a22a025c5b | ||
|
|
a529ef4c09 | ||
|
|
875568bb3e | ||
|
|
988e557ec8 | ||
|
|
6d2af32f29 | ||
|
|
8f9d5c3143 | ||
|
|
dc0fb56f3a | ||
|
|
7ba4a8f4a3 | ||
|
|
8ef1fdafa2 | ||
|
|
d597383ab2 | ||
|
|
5feda37688 | ||
|
|
34e4012998 | ||
|
|
c1924951ad | ||
|
|
5646e313a0 | ||
|
|
f447996080 | ||
|
|
42b34a0dc5 | ||
|
|
fe5e4bd846 | ||
|
|
a53cd2854e | ||
|
|
1d731dd1ff | ||
|
|
8225ac004e | ||
|
|
52e6b8a2d3 | ||
|
|
13131e602f | ||
|
|
7761f29892 | ||
|
|
e92b10f971 | ||
|
|
9268f265a1 | ||
|
|
e445ef9d60 | ||
|
|
40bb176c39 | ||
|
|
8a79dd2d6c | ||
|
|
d5de9402ee | ||
|
|
4cd3f9f4f9 | ||
|
|
167efb2d2b | ||
|
|
8e0e066c3f | ||
|
|
f0ee3e29cb | ||
|
|
5d4da07943 | ||
|
|
45c87c7e6e | ||
|
|
90e87c40e8 | ||
|
|
6b7dc587cf | ||
|
|
f05cb69d4f | ||
|
|
382cf087a0 | ||
|
|
0751488727 | ||
|
|
4bc932261b | ||
|
|
5fb1a83e4c | ||
|
|
6da8301773 | ||
|
|
fedeff7a89 | ||
|
|
9de99839bd | ||
|
|
69529a748c | ||
|
|
0ed292568f | ||
|
|
7fb6fbcd87 | ||
|
|
82ac3003a6 | ||
|
|
45b6161582 | ||
|
|
345ea568ba | ||
|
|
08be9cff0f | ||
|
|
e9a43bae6f | ||
|
|
01d3e250ab | ||
|
|
270d290e65 | ||
|
|
d74dd4faf9 | ||
|
|
e40a2d2fd2 | ||
|
|
f6fdacd935 | ||
|
|
1c21d6c2c2 | ||
|
|
7dd78e8dcc | ||
|
|
e7dd968ac4 | ||
|
|
3c45ba1c22 | ||
|
|
d2bb9e9729 | ||
|
|
127bfb81d5 | ||
|
|
3a12fe5d13 | ||
|
|
5345ab40eb | ||
|
|
57a391e71d | ||
|
|
8f62e8e63f | ||
|
|
df96caec79 | ||
|
|
4a3abba16d | ||
|
|
d21305c2e7 | ||
|
|
9dc9aaf4af | ||
|
|
5eec980a2d | ||
|
|
aded28f276 | ||
|
|
80c4743754 | ||
|
|
498159d719 | ||
|
|
91ad6b7098 | ||
|
|
df49795bcb | ||
|
|
337e37f91d | ||
|
|
992ca8c358 | ||
|
|
340548aba7 | ||
|
|
7dddf5cb3c | ||
|
|
b8f66c9412 | ||
|
|
fd29227bc4 | ||
|
|
e21f96ffde | ||
|
|
c7649a0cdb | ||
|
|
5a96c525e3 | ||
|
|
db1d32485e | ||
|
|
1d11fe00a3 | ||
|
|
a76a8fb5fe | ||
|
|
7c1cb5e8c9 | ||
|
|
15f35b8657 | ||
|
|
7482e03c77 | ||
|
|
f21340f7aa | ||
|
|
e0c894408a | ||
|
|
257a1c884d | ||
|
|
c100d7e802 | ||
|
|
281eb020ea | ||
|
|
4ce6762945 | ||
|
|
fe3702223f | ||
|
|
83aa66b17d | ||
|
|
8d7a55be5b | ||
|
|
de58618421 | ||
|
|
e6847c65a8 | ||
|
|
ac11f6e4c5 | ||
|
|
40644d43f7 | ||
|
|
dfa56765d6 | ||
|
|
b5bde8451c | ||
|
|
090ea0281c | ||
|
|
bc4818b058 | ||
|
|
2993d3bb49 | ||
|
|
6432508740 | ||
|
|
5a9ffa81a6 | ||
|
|
9ff8d0f3e6 | ||
|
|
d040b27a35 | ||
|
|
cf534f5149 | ||
|
|
20de0ddf1f | ||
|
|
1cde01c8c8 | ||
|
|
f542a3bb7a | ||
|
|
3ec3cca4d8 | ||
|
|
c37b5f431f | ||
|
|
263b7a44f9 | ||
|
|
6de2edcca1 | ||
|
|
8fab363237 | ||
|
|
9f91ba1f73 | ||
|
|
4838837620 | ||
|
|
2e02efbdd0 | ||
|
|
15331c2a60 | ||
|
|
f2a8409083 | ||
|
|
5938a9582a | ||
|
|
4766baddf3 | ||
|
|
448d4815de | ||
|
|
29e7d79a86 | ||
|
|
20011dfeb8 | ||
|
|
5a182f4e7c | ||
|
|
f61cf14646 | ||
|
|
2d4e7c8264 | ||
|
|
dee792937f | ||
|
|
4a278b69b1 | ||
|
|
02a0b41a15 | ||
|
|
093eb075a6 | ||
|
|
0b766e4523 | ||
|
|
453fd47030 | ||
|
|
dda187d300 | ||
|
|
0b8218d8eb | ||
|
|
91c12db070 | ||
|
|
d8f380961e | ||
|
|
b088a448cd | ||
|
|
c4f6c3b00b | ||
|
|
1654b8f9e0 | ||
|
|
14398a1cbb | ||
|
|
cddb28cf26 | ||
|
|
538e137bca | ||
|
|
e69118042f | ||
|
|
a6b8d85b34 | ||
|
|
f3fe362c93 | ||
|
|
eedecaef96 | ||
|
|
e637ec0c38 | ||
|
|
e744c06f61 | ||
|
|
ac522db857 | ||
|
|
aa20311969 | ||
|
|
da14c7b8e4 | ||
|
|
e7878e3cf8 | ||
|
|
cff2d0e19e | ||
|
|
8da5bd27e9 | ||
|
|
0216aa55b4 | ||
|
|
0298c2cc5d | ||
|
|
00dcf69ce8 | ||
|
|
1ea0890a36 | ||
|
|
a77feca086 | ||
|
|
99a8f7fb72 | ||
|
|
8ae26df15c | ||
|
|
82a4a67f6b | ||
|
|
a595ed499d | ||
|
|
8e93a9a9ef | ||
|
|
23c1f7c72f | ||
|
|
d3ed771f39 | ||
|
|
12fba361bd | ||
|
|
6bcde572dd | ||
|
|
cb004d1ba1 | ||
|
|
20a17607ae | ||
|
|
473caaff5b | ||
|
|
787552f832 | ||
|
|
5f945e2fcd | ||
|
|
c08da2d6ad | ||
|
|
4458920799 | ||
|
|
61fed8a3a6 | ||
|
|
efb3165e3d | ||
|
|
a493ba76b4 | ||
|
|
ae60a5657e | ||
|
|
feb60de5c3 | ||
|
|
c67644f1da | ||
|
|
9343b81afd | ||
|
|
71f53b4218 | ||
|
|
f131b0faeb | ||
|
|
6c64d5aff2 | ||
|
|
de594995da | ||
|
|
4c16a1a26f | ||
|
|
862e66202c | ||
|
|
4055a476aa | ||
|
|
2136a46ab7 | ||
|
|
b9c7e5c2c8 | ||
|
|
d86e88a622 | ||
|
|
7eac28e410 | ||
|
|
ea4c92f734 | ||
|
|
c9cd938dfd | ||
|
|
4c5e3d5f7a | ||
|
|
e2be180136 | ||
|
|
c9437e5244 | ||
|
|
24548b1f5c | ||
|
|
be0ecae108 | ||
|
|
fcd54c6479 | ||
|
|
08296f151e | ||
|
|
a134e924ff | ||
|
|
31ed6bae11 | ||
|
|
9a5ef835cc | ||
|
|
df0d3698ae | ||
|
|
51fc608f68 | ||
|
|
b30e19ba24 | ||
|
|
ec6b67d862 | ||
|
|
4d0b7f8496 | ||
|
|
e3b510a4b4 | ||
|
|
247d66a680 | ||
|
|
0047d8a01e | ||
|
|
efc0187537 | ||
|
|
b6fe8a0b3f | ||
|
|
ecaa038b4d | ||
|
|
4aac971864 | ||
|
|
6c93cdffb1 | ||
|
|
470714e2d1 | ||
|
|
6b888b0fa8 | ||
|
|
1a1393dad7 | ||
|
|
55412962c0 | ||
|
|
50bcfa5fb9 | ||
|
|
efc50485b8 | ||
|
|
d920da2631 | ||
|
|
ff72bf2cb2 | ||
|
|
4efb9763d9 | ||
|
|
c600bc8652 | ||
|
|
f1806d237f | ||
|
|
ae57a99d7d | ||
|
|
767c4b5a99 | ||
|
|
904d03b01f | ||
|
|
9f1c9599a2 | ||
|
|
5f6666a7cd | ||
|
|
1906e2724f | ||
|
|
0c032d3f2f | ||
|
|
a6735cba5f | ||
|
|
3b872b89d1 | ||
|
|
40d4e9543b | ||
|
|
e588f341ed | ||
|
|
875246f5b2 | ||
|
|
b16fefa106 | ||
|
|
2a255b2d61 | ||
|
|
9e331f9957 | ||
|
|
9169cbf728 | ||
|
|
2f9487cd38 | ||
|
|
1d03a0fa75 | ||
|
|
09f993899e | ||
|
|
c9038af29e | ||
|
|
f3053920bf | ||
|
|
c7b31d24b9 | ||
|
|
cb3559539a | ||
|
|
71cdfa6ad5 | ||
|
|
edce713fc9 | ||
|
|
8d0d0e1c7a | ||
|
|
f75363177e | ||
|
|
4c6217f09b | ||
|
|
c95f35ea85 | ||
|
|
40357098a2 | ||
|
|
e7f4110791 | ||
|
|
ca1dd1862b | ||
|
|
737d1cea62 | ||
|
|
2f8e237ab7 | ||
|
|
5191465b0a | ||
|
|
50c604f37f | ||
|
|
dfbc22c291 | ||
|
|
a5a3167eba | ||
|
|
a423e0f9e0 | ||
|
|
511c1f0c8b | ||
|
|
8369fcd71a | ||
|
|
626916e9a4 | ||
|
|
507f360a81 | ||
|
|
5323d9f6b3 | ||
|
|
770d4b0b72 | ||
|
|
e5fed31009 | ||
|
|
4b8b223db2 | ||
|
|
728aca7703 | ||
|
|
f07484bc64 | ||
|
|
78b9956a04 | ||
|
|
90aa937593 | ||
|
|
940618a64d | ||
|
|
409fa5dda2 | ||
|
|
211b67668d | ||
|
|
f0cd02b9bd | ||
|
|
34101d8c5e | ||
|
|
bf8d7bc0da | ||
|
|
9543adf072 | ||
|
|
036d2686af | ||
|
|
a80e0e7da5 | ||
|
|
9631dedea9 | ||
|
|
75de0cadcf | ||
|
|
4b321c003c | ||
|
|
0a83047368 | ||
|
|
9bb8ac7cb6 | ||
|
|
d6e6ab11b1 | ||
|
|
b3a1f793c3 | ||
|
|
a294beb116 | ||
|
|
eda403388a | ||
|
|
3032980478 | ||
|
|
7f96f4db3f | ||
|
|
a0f9a3ab5b | ||
|
|
b36fec486e | ||
|
|
57cf830862 | ||
|
|
41701052d3 | ||
|
|
57c8dcfd77 | ||
|
|
398e881428 | ||
|
|
92418e909f | ||
|
|
7b10ceda02 | ||
|
|
344162db75 | ||
|
|
48f913b6e7 | ||
|
|
0efda40b57 | ||
|
|
5872c7d420 | ||
|
|
2b6edd3efd | ||
|
|
b0c6bf497a | ||
|
|
bf16289d77 | ||
|
|
987b37798a | ||
|
|
135b645b3d | ||
|
|
1e468eac94 | ||
|
|
97b4ca1d01 | ||
|
|
1d7ff850d6 | ||
|
|
75c5be55af | ||
|
|
735612c9b3 | ||
|
|
7d34800531 | ||
|
|
7e284809de | ||
|
|
324c93e4aa | ||
|
|
133788d0d4 | ||
|
|
e8cb8b2668 | ||
|
|
361dbdddcc | ||
|
|
6a7123826a | ||
|
|
ab3e3c11af | ||
|
|
db5c24eb66 | ||
|
|
f7755df2af | ||
|
|
c60204e255 | ||
|
|
5e69769356 | ||
|
|
22cac3a5e3 | ||
|
|
e867768316 | ||
|
|
07276cf62a | ||
|
|
f04bc172ae | ||
|
|
585b6e9d46 | ||
|
|
a9e29a3972 | ||
|
|
1e61c3e1e7 | ||
|
|
79d3cef8db | ||
|
|
3e0da4f698 | ||
|
|
789c16305d | ||
|
|
1836e62d33 | ||
|
|
0bbbe80f75 | ||
|
|
70be45c992 | ||
|
|
9b3c64f4a4 | ||
|
|
eec3d356b6 | ||
|
|
a872030a35 | ||
|
|
79e7d7f4ba | ||
|
|
2c1d850b46 | ||
|
|
2581590023 | ||
|
|
adb0900906 | ||
|
|
2d608cd625 | ||
|
|
29955de767 | ||
|
|
b0f62d8f24 | ||
|
|
ed2d77ddbc | ||
|
|
6e883a26da | ||
|
|
8427b9d49d | ||
|
|
0bb1c7c804 | ||
|
|
a5aa5876b4 | ||
|
|
911d2216be | ||
|
|
4da2105a32 | ||
|
|
1f9684eaf9 | ||
|
|
40c97c0549 | ||
|
|
6aee148b17 | ||
|
|
b5b93e6741 | ||
|
|
18a4529851 | ||
|
|
9e4d606c4c | ||
|
|
6513a356f0 | ||
|
|
64f60f0acb | ||
|
|
65d4a16afd | ||
|
|
21c631b33b | ||
|
|
f26dddf3b5 | ||
|
|
7f62a48ab5 | ||
|
|
b5415b6872 | ||
|
|
43be2bfe33 | ||
|
|
79ba5d9c26 | ||
|
|
ca75c58f43 | ||
|
|
723df0f368 | ||
|
|
94b7ac50bb | ||
|
|
18450ebd78 | ||
|
|
efdb2e8f3d | ||
|
|
7a84a1a974 | ||
|
|
789d9c8af9 | ||
|
|
4df063209b | ||
|
|
6256e3ca8e | ||
|
|
008d7e8c5f | ||
|
|
19e9bde9e0 | ||
|
|
6eb3a583cb | ||
|
|
e0834ee50b | ||
|
|
79894152a8 | ||
|
|
9274eaecd0 | ||
|
|
c733620024 | ||
|
|
897b411ae7 | ||
|
|
94836ba3b1 | ||
|
|
b1909b0435 | ||
|
|
1cc764988f | ||
|
|
da5c49f22d | ||
|
|
6b93b0b08c | ||
|
|
68f25217b8 | ||
|
|
0604b14263 | ||
|
|
a065dcdcd9 | ||
|
|
3d4a064674 | ||
|
|
e4dfd51337 | ||
|
|
cfe73af6f2 | ||
|
|
d6bd16b2c0 | ||
|
|
a49b146ccc | ||
|
|
fd9e157184 | ||
|
|
6cbd4020e8 | ||
|
|
3558b236cd | ||
|
|
48e82c4138 | ||
|
|
9eb70aea1d | ||
|
|
0460fbacc9 | ||
|
|
c73297e840 | ||
|
|
633d869ff4 | ||
|
|
e03f86cc54 | ||
|
|
a0a3566977 | ||
|
|
77fb9d415b | ||
|
|
bbdaa62175 | ||
|
|
31bffc7299 | ||
|
|
5f8f09d750 | ||
|
|
dcfe674ed4 | ||
|
|
bb195c2c2b | ||
|
|
8c59543ee3 | ||
|
|
db37e583ff | ||
|
|
d28e826e47 | ||
|
|
13beb85514 | ||
|
|
4b06bcc82c | ||
|
|
b76a1d987f | ||
|
|
12ebc8d9d1 | ||
|
|
2b85e9e997 | ||
|
|
59b62c6507 | ||
|
|
2e760a9833 | ||
|
|
bab4a13a41 | ||
|
|
b56c7397ad | ||
|
|
689f346e97 | ||
|
|
249db0a59b | ||
|
|
9526ce95dd | ||
|
|
687158fe00 | ||
|
|
d8507332c1 | ||
|
|
67e983a354 | ||
|
|
f21058a6c0 | ||
|
|
b456af31e6 | ||
|
|
0441853d0f | ||
|
|
60a1c6b95b | ||
|
|
794e6c7a96 | ||
|
|
22afa2c7a3 | ||
|
|
85a89ca3e3 | ||
|
|
26776c0e60 | ||
|
|
e02ee8e59d | ||
|
|
134ecca9b0 | ||
|
|
ae2130470e | ||
|
|
c5f1ec8040 | ||
|
|
765ea9b79d | ||
|
|
ac6290bea7 | ||
|
|
4051bbbed7 | ||
|
|
2a7edda70a | ||
|
|
59b6ada7b7 | ||
|
|
c5bdc0054c | ||
|
|
0b7593d352 | ||
|
|
bd05ace08d | ||
|
|
fa56518f20 | ||
|
|
b577d7a55f | ||
|
|
d9dde7e6f3 | ||
|
|
2244b613cf | ||
|
|
9908434c14 | ||
|
|
c73bb33ff1 | ||
|
|
668a10f9b9 | ||
|
|
bcce184e60 | ||
|
|
fc4b45ebd3 | ||
|
|
1afe6d51ee | ||
|
|
1ae0f0f3f6 | ||
|
|
de0b35b974 | ||
|
|
ae88d01d8d | ||
|
|
d759de9f96 | ||
|
|
89d3e81be8 | ||
|
|
326ebbb2fa | ||
|
|
07143ce15c | ||
|
|
dbc73c6c6c | ||
|
|
71f264c498 | ||
|
|
26417da5d3 | ||
|
|
b3b458edf9 | ||
|
|
8becf13e8b | ||
|
|
9e2ebb24df | ||
|
|
74961d4dfb | ||
|
|
9ffa1801c7 | ||
|
|
90c56f5dc1 | ||
|
|
4d4fe69223 | ||
|
|
4b0291172e | ||
|
|
12e4757cf3 | ||
|
|
144c0734f5 | ||
|
|
f40f65f5d2 | ||
|
|
03c3f936cf | ||
|
|
66f41da365 | ||
|
|
7a986d731b | ||
|
|
eae0570a1c | ||
|
|
0a75519ab5 | ||
|
|
3062a35eb1 | ||
|
|
b57d98f847 | ||
|
|
762ac5aa9f | ||
|
|
1a4abd184f | ||
|
|
9524d7034c | ||
|
|
36d18e457b | ||
|
|
db562bc08d | ||
|
|
18672e6a78 | ||
|
|
32ad99701d | ||
|
|
63c5340cc4 | ||
|
|
a94371f67b | ||
|
|
22e4add562 | ||
|
|
b1a7bbd458 | ||
|
|
27ab2a6e13 | ||
|
|
68ea0a2b72 | ||
|
|
a8bd02acd8 | ||
|
|
3e4edbe007 | ||
|
|
4a9240599a | ||
|
|
053a16799e | ||
|
|
82c845dc2f | ||
|
|
3aa6d4d8ce | ||
|
|
9b961dddb4 | ||
|
|
224b6036a4 | ||
|
|
2c3281c66b | ||
|
|
1591923f91 | ||
|
|
56e5d99684 | ||
|
|
ca75c9125d | ||
|
|
1a4874e178 | ||
|
|
c00b63b9e1 | ||
|
|
c8602e1b1f | ||
|
|
faa6c35e78 | ||
|
|
8b64878258 | ||
|
|
519c12da15 | ||
|
|
d74fd9e2fe | ||
|
|
d011d3ff0e | ||
|
|
a5fb9de6fa | ||
|
|
c4ec76edba | ||
|
|
3f05b8facd | ||
|
|
65d3300875 | ||
|
|
7b2ac196d2 | ||
|
|
d9456f0a11 | ||
|
|
2212c9653d | ||
|
|
fe04a7523a | ||
|
|
45a76637f5 | ||
|
|
bf7c45e560 | ||
|
|
48b67fc4a0 | ||
|
|
6c246f2ac5 | ||
|
|
a34565727b | ||
|
|
6f4a080b98 | ||
|
|
da6824d9fd | ||
|
|
b36f45b239 | ||
|
|
07ae6659e7 | ||
|
|
880b004321 | ||
|
|
21ebe3e462 | ||
|
|
98cac9410c | ||
|
|
7b5d234558 | ||
|
|
84b0e29b56 | ||
|
|
5ecdcfa334 | ||
|
|
5f4857691e | ||
|
|
b50ce645ac | ||
|
|
b6d19329ac | ||
|
|
8c769b71a1 | ||
|
|
9512992fe2 | ||
|
|
6b10f04322 | ||
|
|
c206a04747 | ||
|
|
ec6ddaf766 | ||
|
|
36ea7565fa | ||
|
|
00b0938f10 | ||
|
|
ed58445111 | ||
|
|
b28b05e2aa | ||
|
|
8151a4d301 | ||
|
|
8ac8d703b9 | ||
|
|
1c1959eaeb | ||
|
|
c0d152affa | ||
|
|
85d99f873f | ||
|
|
21bc2c14bc | ||
|
|
d3997bad9b | ||
|
|
54fa1115a6 | ||
|
|
8347e5cdb9 | ||
|
|
dac53b4ba0 | ||
|
|
0bb7990c49 | ||
|
|
9ef9ca0927 | ||
|
|
bd42bba71c | ||
|
|
a27f94830a | ||
|
|
bd6f9f1d91 | ||
|
|
bf15aa093c | ||
|
|
0e9b839b6f | ||
|
|
15a5bdd979 | ||
|
|
fc4cde7513 | ||
|
|
ff3859d482 | ||
|
|
10de8f2c60 | ||
|
|
51b89fddd0 | ||
|
|
f585dec48d | ||
|
|
ad1a9f3d3a | ||
|
|
e797a917a9 | ||
|
|
71044f6def | ||
|
|
a764f49910 | ||
|
|
a17cde7b2c | ||
|
|
a84c928827 | ||
|
|
9568d3bc60 | ||
|
|
0fe935a5de | ||
|
|
c84c35ac74 | ||
|
|
b32940d3ea | ||
|
|
7a0da729b4 | ||
|
|
0448eb6f0f | ||
|
|
c334959440 | ||
|
|
2fa53ec1d9 | ||
|
|
e37ad99f22 | ||
|
|
ff57c66773 | ||
|
|
c6d552f29b | ||
|
|
7f9b64519d | ||
|
|
d89ef6280c | ||
|
|
8fb13372c2 | ||
|
|
f9521f5bd4 | ||
|
|
53f904b740 | ||
|
|
99e2568304 | ||
|
|
38394f36d7 | ||
|
|
26f9d1f122 | ||
|
|
9cd5c44019 | ||
|
|
2687a83f6a | ||
|
|
35f25882e0 | ||
|
|
f1f3d490ef | ||
|
|
ae5c134ac6 | ||
|
|
03d4fffc70 | ||
|
|
a0d56c855c | ||
|
|
9007d8c8d4 | ||
|
|
65bbf708a8 | ||
|
|
2f0db2708c | ||
|
|
184ee2d890 | ||
|
|
d6b3e7f195 | ||
|
|
926e24c642 | ||
|
|
18a396b53f | ||
|
|
c62e089260 | ||
|
|
1a246bf135 | ||
|
|
257a6aa2ba | ||
|
|
7bae22a3ca | ||
|
|
f24d956ae2 | ||
|
|
4487c165c8 | ||
|
|
e3f7e02555 | ||
|
|
f782104125 | ||
|
|
7507a7f89f | ||
|
|
882859bc78 | ||
|
|
22284fc504 | ||
|
|
d70f18b87b | ||
|
|
ec388622ff | ||
|
|
6a425e95cb | ||
|
|
1fdfedc43e | ||
|
|
18b240c071 | ||
|
|
0aa99b8f47 | ||
|
|
481f91cc34 | ||
|
|
feebdc9779 | ||
|
|
a29e26200f | ||
|
|
75180bdc9d | ||
|
|
cf44be1de6 | ||
|
|
95a31b8887 | ||
|
|
c8673a16bb | ||
|
|
195d0a93b5 | ||
|
|
3491ba4a06 | ||
|
|
5326ea63e5 | ||
|
|
e9e6296893 | ||
|
|
9335cf8857 | ||
|
|
00a612eaea | ||
|
|
4e855be38b | ||
|
|
69ba29e518 | ||
|
|
3d03e8b806 | ||
|
|
ff9d8dd0b3 | ||
|
|
38b939b2e9 | ||
|
|
a19f62e636 | ||
|
|
b60013b277 | ||
|
|
5e4938ab1a | ||
|
|
854457a392 | ||
|
|
0d7d3d938c | ||
|
|
37a4a6751a | ||
|
|
93a1cd75fe | ||
|
|
b356909212 | ||
|
|
bb28f4a0c4 | ||
|
|
0993c71335 | ||
|
|
6e1b113c89 | ||
|
|
c46f54b091 | ||
|
|
3983ce9b5c | ||
|
|
d2cd08e3e1 | ||
|
|
bb4ae5ee53 | ||
|
|
57d8cd6c40 | ||
|
|
bf0d6b8806 | ||
|
|
a07c88e686 | ||
|
|
c8237d5c31 | ||
|
|
2fea1b8407 | ||
|
|
282ae8fa51 | ||
|
|
aa6587d854 | ||
|
|
57401589c2 | ||
|
|
f1a2e36711 | ||
|
|
bdc01254a9 | ||
|
|
ace91dd0c0 | ||
|
|
2921a24268 | ||
|
|
5269a46399 | ||
|
|
33e2dce715 | ||
|
|
f3bc7354b1 | ||
|
|
bd5ae33153 | ||
|
|
16f1592e50 | ||
|
|
fda08cbbb0 | ||
|
|
1e24d02434 | ||
|
|
a57ca3fb66 | ||
|
|
c619199bb4 | ||
|
|
703bf7cfce | ||
|
|
4f69be8169 | ||
|
|
b6ad7e263b | ||
|
|
9e9cb28471 | ||
|
|
2ffea42ec8 | ||
|
|
4a59dc2947 | ||
|
|
c644c1a90a | ||
|
|
753bc3a448 | ||
|
|
c708643972 | ||
|
|
a85325f56a | ||
|
|
bdb4fd208f | ||
|
|
1fae4a01a8 | ||
|
|
8992a62da4 | ||
|
|
1e740df9b8 | ||
|
|
02b897ce27 | ||
|
|
df56ecc318 | ||
|
|
49cb89e324 | ||
|
|
da8cbbf958 | ||
|
|
55087ab08a | ||
|
|
d7e8926ff6 | ||
|
|
7dd3d1b8ad | ||
|
|
fd09784231 | ||
|
|
3b612cff28 | ||
|
|
32d65fc8de | ||
|
|
3ff29de4a1 | ||
|
|
9fef6560f0 | ||
|
|
dca36ebb87 | ||
|
|
f93f31f4ae | ||
|
|
974380fe10 | ||
|
|
d6cf54dd2f | ||
|
|
79f0202045 | ||
|
|
5d7571114e | ||
|
|
2fb71aecb0 | ||
|
|
9a878de33f | ||
|
|
a50b50f8b4 | ||
|
|
bd409c3416 | ||
|
|
2f22b53732 | ||
|
|
1e8616bd01 | ||
|
|
e3c546a1ed | ||
|
|
e18ff5cb4e | ||
|
|
77682aabd3 | ||
|
|
2fe92436b9 | ||
|
|
e1b79610f8 | ||
|
|
474739a379 | ||
|
|
67eeb05692 | ||
|
|
4d28e60694 | ||
|
|
af0c1b0cb7 | ||
|
|
7282976de3 | ||
|
|
13a7a297bb | ||
|
|
c484a61515 | ||
|
|
b99f94a7ff | ||
|
|
6a1ecab2dd | ||
|
|
67e2d5c28b | ||
|
|
9912704234 | ||
|
|
fe771b59f4 | ||
|
|
d26c76180d | ||
|
|
62d473305d | ||
|
|
13d551846a | ||
|
|
c05ea35f78 | ||
|
|
7f705870d2 | ||
|
|
821037e18f | ||
|
|
a3f235f8a2 | ||
|
|
f70bafff1a | ||
|
|
3ad7eec9de | ||
|
|
7135bdc3bd | ||
|
|
260bfc4bd2 | ||
|
|
8950fe79ad | ||
|
|
c8b9467f50 | ||
|
|
0d4aa9125e | ||
|
|
aa6afb0cfe | ||
|
|
832a2fcc69 | ||
|
|
958bed4545 | ||
|
|
0c688b0bf5 | ||
|
|
7e2bd395bc | ||
|
|
19053ab631 | ||
|
|
6481f4e937 | ||
|
|
d1deff6b07 | ||
|
|
e8aaab2fc1 | ||
|
|
21b133de40 | ||
|
|
0c55248f92 | ||
|
|
b394389170 | ||
|
|
5eceab3ce6 | ||
|
|
3ef9673360 | ||
|
|
8baed5d95d | ||
|
|
4a3cbf0021 | ||
|
|
21ecf01a17 | ||
|
|
5d52d73c4b | ||
|
|
fea5b758bc | ||
|
|
c656105a6c | ||
|
|
04352a9aef | ||
|
|
48dec7e0c9 | ||
|
|
b5f99164f1 | ||
|
|
eb4ddb2868 | ||
|
|
9d7eebde7b | ||
|
|
fe70c6f481 | ||
|
|
8fb9f78e83 | ||
|
|
c2961454fe | ||
|
|
5ffa1049ae | ||
|
|
3ae3706c84 | ||
|
|
2d2c176f03 | ||
|
|
0eef4a6c94 | ||
|
|
22be3008f8 | ||
|
|
7f98f4a38b | ||
|
|
0098ecb609 | ||
|
|
85e1754728 | ||
|
|
3f52b5167b | ||
|
|
5b5c69b8f6 | ||
|
|
9a0ea90018 | ||
|
|
f8985d1cc5 | ||
|
|
ce5320c49f | ||
|
|
4d138b760b | ||
|
|
a2150e456c | ||
|
|
1b6852a36c | ||
|
|
66f2947854 | ||
|
|
ec25f847d8 | ||
|
|
bd169f417f | ||
|
|
571399930c | ||
|
|
36290f9a0a | ||
|
|
d6037efe5e | ||
|
|
81f50d5132 | ||
|
|
8d7d62dc24 | ||
|
|
27929d7ca2 | ||
|
|
63b239f5c6 | ||
|
|
0cdc8b13b7 | ||
|
|
baad1238c3 | ||
|
|
87c0ba129c | ||
|
|
eb9e847380 | ||
|
|
5b8fdedf4d | ||
|
|
64130d9f01 | ||
|
|
3df56dc790 | ||
|
|
3b7d112c83 | ||
|
|
b011ce023d | ||
|
|
36917d8a8f | ||
|
|
24ab10c2f6 | ||
|
|
cad28abe61 | ||
|
|
254b2bd9df | ||
|
|
7bec8d1c5b | ||
|
|
800d6f7d0d | ||
|
|
4baaaf6a99 | ||
|
|
bbfd9eb428 | ||
|
|
57e7eed54c | ||
|
|
e69eebb14a | ||
|
|
0145c89879 | ||
|
|
a02d641042 | ||
|
|
716e0a126a | ||
|
|
69949e7964 | ||
|
|
5e424d791b | ||
|
|
70790711d2 | ||
|
|
d2e519494f | ||
|
|
d8943e5bac | ||
|
|
e4ebabcd5b | ||
|
|
d078cff269 | ||
|
|
0a51fe7854 | ||
|
|
ba4e5068bc | ||
|
|
ea46efd9a2 | ||
|
|
ebd19dec99 | ||
|
|
785e480b62 | ||
|
|
8a9d4936d4 | ||
|
|
ba4b65e4bc | ||
|
|
c24ed3ecaf | ||
|
|
1971403ab7 | ||
|
|
76bddd3673 | ||
|
|
2c5e8e6d40 | ||
|
|
84eb1cdb65 | ||
|
|
02e2aea50d | ||
|
|
32b2436f80 | ||
|
|
bdd09d6844 | ||
|
|
89a2d48cf8 | ||
|
|
9245b426e3 | ||
|
|
f8ba043a47 | ||
|
|
5ce41fa213 | ||
|
|
50d4e0f4f7 | ||
|
|
d833fc383d | ||
|
|
c5357b17e6 | ||
|
|
b48dbb18f2 | ||
|
|
a2f0caefd4 | ||
|
|
5445e974e0 | ||
|
|
b0a96d5216 | ||
|
|
1d07bb4ca6 | ||
|
|
a7a5835ffb | ||
|
|
270f430f70 | ||
|
|
44bce11853 | ||
|
|
4701eea646 | ||
|
|
2f03fac9a0 | ||
|
|
21ad5f5cc5 | ||
|
|
45280a0342 | ||
|
|
fd5c7b21dd | ||
|
|
d786d19880 | ||
|
|
369d06292f | ||
|
|
95a939a49f | ||
|
|
f5e6b12c74 | ||
|
|
6c8f2b355a | ||
|
|
3d5ecc1f08 | ||
|
|
52c71e7eb6 | ||
|
|
1f04a3dd55 | ||
|
|
d360abadba | ||
|
|
2dbe067d74 | ||
|
|
2f18fa5cd1 | ||
|
|
5a09ba7255 | ||
|
|
9df3794a83 | ||
|
|
f260c74beb | ||
|
|
1615a86375 | ||
|
|
199de26995 | ||
|
|
6c68b07a67 | ||
|
|
1d201c71dc | ||
|
|
4077ff6851 | ||
|
|
667ec28697 | ||
|
|
164f880f23 | ||
|
|
52544933d2 | ||
|
|
954144e22b | ||
|
|
c2f827b85e | ||
|
|
037f82025c | ||
|
|
338d6f29b1 | ||
|
|
ada4697300 | ||
|
|
115792158d | ||
|
|
5464423667 | ||
|
|
710ca3ca49 | ||
|
|
acc99433c7 | ||
|
|
6c4abd23be | ||
|
|
84b384fbea | ||
|
|
3620533995 | ||
|
|
c5105b65d5 | ||
|
|
1ac2615adb | ||
|
|
531572b411 | ||
|
|
b7523d6fa7 | ||
|
|
8beda6a2bf | ||
|
|
d7a0b8c373 | ||
|
|
6bb02dcb8a | ||
|
|
32c453a5f1 | ||
|
|
91eb5afd0b | ||
|
|
bc4e58eb51 | ||
|
|
8674724ef0 | ||
|
|
a8edbb7019 | ||
|
|
d8c8fbe41f | ||
|
|
234cc45192 | ||
|
|
b923f5aa7e | ||
|
|
18ad55be0b | ||
|
|
4e71628097 | ||
|
|
92e6ff30a1 | ||
|
|
2e55459e03 | ||
|
|
8677d98a10 | ||
|
|
49df2b9715 | ||
|
|
2f2de400e1 | ||
|
|
9e134c3da2 | ||
|
|
59b3c30f94 | ||
|
|
a669e37ddb | ||
|
|
7d89f2c146 | ||
|
|
51ffc2c66c | ||
|
|
e41655960e | ||
|
|
1cdd11d9f5 | ||
|
|
cc4736fa58 | ||
|
|
ccd163ab2c | ||
|
|
182fb83556 | ||
|
|
39c8ddcda2 | ||
|
|
2c4ebeb51d | ||
|
|
00af46c356 | ||
|
|
ce0f1baf51 | ||
|
|
75f5b3177d | ||
|
|
3c45452fae | ||
|
|
ab862207d7 | ||
|
|
7f8335f4ae | ||
|
|
6ed5b581f0 | ||
|
|
387ede76d2 | ||
|
|
8a4cb3f902 | ||
|
|
35b77b9599 | ||
|
|
bc4ad5e62d | ||
|
|
0e443dcb05 | ||
|
|
ef61d129d3 | ||
|
|
b8bab551a4 | ||
|
|
a9f223cd9f | ||
|
|
87022a4833 | ||
|
|
1bc832c9b1 | ||
|
|
df00da1760 | ||
|
|
9d6ac28999 | ||
|
|
a921851ba6 | ||
|
|
18c08cee43 | ||
|
|
062113374d | ||
|
|
133ff3989b | ||
|
|
861597eb2e | ||
|
|
0cd9d51e06 | ||
|
|
6a5db5679b | ||
|
|
f2f99a8c31 | ||
|
|
c03f0b3c89 | ||
|
|
ae1421265a | ||
|
|
314d3858a1 | ||
|
|
0383ae1dbf | ||
|
|
1dcb0c2232 | ||
|
|
8be3a041e0 | ||
|
|
ddedaa8875 | ||
|
|
0e3a995bf4 | ||
|
|
6af8cca2c1 | ||
|
|
775bf8e215 | ||
|
|
e28b936950 | ||
|
|
6fe51b48e9 | ||
|
|
96c98d09cb | ||
|
|
76a03e99b6 | ||
|
|
95409c6859 | ||
|
|
227950ac99 | ||
|
|
bc5ec10498 | ||
|
|
d9275b7757 | ||
|
|
3e28e85468 | ||
|
|
755bcc459b | ||
|
|
50eee9b218 | ||
|
|
0398b34370 | ||
|
|
86f6b6b7b2 | ||
|
|
a8c4f01f6c | ||
|
|
6d665a94ea | ||
|
|
bbc6b08fc7 | ||
|
|
0bd9a4456c | ||
|
|
fbda084acb | ||
|
|
2694f81462 | ||
|
|
d5adaeafdf | ||
|
|
58a4c86797 | ||
|
|
35a77c3bb2 | ||
|
|
c1016b68ae | ||
|
|
b30df50076 | ||
|
|
5afe1367ba | ||
|
|
24700af3c2 | ||
|
|
d1c878fb41 | ||
|
|
9b112107e2 | ||
|
|
48b87d64de | ||
|
|
f9ef721ca6 | ||
|
|
c34ed4bbd8 | ||
|
|
7351884588 | ||
|
|
5a37b8f2c1 | ||
|
|
242ce2a0b3 | ||
|
|
8ab3685a39 | ||
|
|
8bd0521b58 | ||
|
|
64ea5522d3 | ||
|
|
798a439eb1 | ||
|
|
786b609151 | ||
|
|
89a2d308c3 | ||
|
|
0d4bf53ad9 | ||
|
|
8b98c4e5a0 | ||
|
|
26ff214719 | ||
|
|
640f7cd945 | ||
|
|
7d8f748696 | ||
|
|
bdd96118d1 | ||
|
|
e3dd78e414 | ||
|
|
b9ab44ed0e | ||
|
|
1ed9e8812b | ||
|
|
9d3a293a4e | ||
|
|
3d6ce9dd2b | ||
|
|
023b9b38cc | ||
|
|
5c25712af9 | ||
|
|
0f7220c9c8 | ||
|
|
71857e889e | ||
|
|
70f8ffb787 | ||
|
|
6a43aff745 | ||
|
|
1e394c6cdf | ||
|
|
37b278a9a8 | ||
|
|
83eee1d226 | ||
|
|
84cb20bc72 | ||
|
|
85e3575496 | ||
|
|
7f55c377b0 | ||
|
|
9893a4d918 | ||
|
|
bed2fc8707 | ||
|
|
9058486b9b | ||
|
|
b18c1fb1bb | ||
|
|
913803bf65 | ||
|
|
31a0cff036 | ||
|
|
b36e645fee | ||
|
|
8ce158bce6 | ||
|
|
5a78b35b1a | ||
|
|
7a0d7e7668 | ||
|
|
fd2051b401 | ||
|
|
75ac7845ce | ||
|
|
441b847107 | ||
|
|
f2cf81e0b6 | ||
|
|
f41fb3ec0b | ||
|
|
553dd3e120 | ||
|
|
c077e467c4 | ||
|
|
5c16559694 | ||
|
|
6b0b584eba | ||
|
|
05ee37a1f0 | ||
|
|
3494fce864 | ||
|
|
5248fa926d | ||
|
|
998246efc2 | ||
|
|
d17a51bc59 | ||
|
|
0078e5a338 | ||
|
|
b8ca47e094 | ||
|
|
27c8bb9615 | ||
|
|
ac09cc3504 | ||
|
|
6ff65abd62 | ||
|
|
e0c59c7b0b | ||
|
|
7ef879b296 | ||
|
|
8d2f0dc707 | ||
|
|
cb0b8442f0 | ||
|
|
089e385944 | ||
|
|
0d470b57ed | ||
|
|
755f45a522 | ||
|
|
4533769f7f | ||
|
|
00d9a9c44e | ||
|
|
35bdd5fff3 | ||
|
|
7707768f80 | ||
|
|
ae19eb1e10 | ||
|
|
a09507f271 | ||
|
|
dfb7fc8293 | ||
|
|
369fcadf08 | ||
|
|
4bd4a95d84 | ||
|
|
cd80cbc420 | ||
|
|
c7c44dc238 | ||
|
|
dd1cbd9c56 | ||
|
|
096644c01c | ||
|
|
fca7d975fd | ||
|
|
32b4d63a5b | ||
|
|
09e265c116 | ||
|
|
36aca262e3 | ||
|
|
d6d43e11a3 | ||
|
|
9d6f8e88b2 | ||
|
|
2754f6c883 | ||
|
|
ef5618e486 | ||
|
|
d31676935e | ||
|
|
9bca45aa15 | ||
|
|
2a9eab5e1b | ||
|
|
083fb8a15f | ||
|
|
06fa13a014 | ||
|
|
1ed6e3e51d | ||
|
|
e2623d64de | ||
|
|
0f37756a3a | ||
|
|
ed3f9bab11 | ||
|
|
deafa92122 | ||
|
|
c6458970ad | ||
|
|
eaf2ab5289 | ||
|
|
7aa848080d | ||
|
|
55c0b55d1d | ||
|
|
a4a106bb25 | ||
|
|
f4e5d07619 | ||
|
|
70f37be9b9 | ||
|
|
36d48cef50 | ||
|
|
d90c622549 | ||
|
|
05c8063ac1 | ||
|
|
689dc4a17b | ||
|
|
9352a0f2e6 | ||
|
|
b1730d3c72 | ||
|
|
bb4e676155 | ||
|
|
8c2411da29 | ||
|
|
26658c2e93 | ||
|
|
4007142b91 | ||
|
|
a1c355051e | ||
|
|
d3da1e6517 | ||
|
|
6ffcc3d5d2 | ||
|
|
01b379fe20 | ||
|
|
195403c87c | ||
|
|
1bc0b673aa | ||
|
|
397333b2d5 | ||
|
|
4742627744 | ||
|
|
43920aa1a0 | ||
|
|
b881949b6d | ||
|
|
e2ea46f6ef | ||
|
|
07f71e2620 | ||
|
|
b1716a9e14 | ||
|
|
18000df5e9 | ||
|
|
bb0edb53ae | ||
|
|
099295d7c6 | ||
|
|
a0ed0e4e10 | ||
|
|
ab2921121e | ||
|
|
f84e7b4656 | ||
|
|
dad0d076ee | ||
|
|
3e3294e1c2 | ||
|
|
fc1bb93b01 | ||
|
|
fb7da1fa11 | ||
|
|
9f3f615e05 | ||
|
|
d144168442 | ||
|
|
3e4029b238 | ||
|
|
b1aed2c5b7 | ||
|
|
0ea138fb5b | ||
|
|
85ed10f31f | ||
|
|
482c957f5d | ||
|
|
39edd2ff82 | ||
|
|
33d118509a | ||
|
|
1d4f813c6a | ||
|
|
17b9c1e171 | ||
|
|
05bc024260 | ||
|
|
4bee333d84 | ||
|
|
c067046387 | ||
|
|
efda6cc9ec | ||
|
|
8927f016e1 | ||
|
|
2911988b85 | ||
|
|
ffb384463f | ||
|
|
b54c3fba68 | ||
|
|
b55a763618 | ||
|
|
8e91554e11 | ||
|
|
3211623192 | ||
|
|
b02e7eea78 | ||
|
|
1e093767a8 | ||
|
|
267f3c7905 | ||
|
|
35872ad95b | ||
|
|
127b3da0f1 | ||
|
|
ff6a5031d5 | ||
|
|
07e8477f5a | ||
|
|
ef6406a666 | ||
|
|
a14d2a6f83 | ||
|
|
c1717b3f47 | ||
|
|
ca8509d205 | ||
|
|
e7f01128f1 | ||
|
|
ecc1feff64 | ||
|
|
52cc7b438b | ||
|
|
9186f08c3c | ||
|
|
8497fb0a04 | ||
|
|
54d58130a0 | ||
|
|
926f3e3d3e | ||
|
|
9de50d6194 | ||
|
|
7f708e8d77 | ||
|
|
d1de1c3bed | ||
|
|
21723879e7 | ||
|
|
b2438f1fb7 | ||
|
|
ad645c29a4 | ||
|
|
62ffaa730f | ||
|
|
8b28aa45b9 | ||
|
|
8366736b67 | ||
|
|
7ffbffe170 | ||
|
|
02c48a80f6 | ||
|
|
fdbeb84168 | ||
|
|
81a96bafe2 | ||
|
|
3a7705e774 | ||
|
|
69bc8ea148 | ||
|
|
3f0cc544cf | ||
|
|
c97cbd089b | ||
|
|
246740f102 | ||
|
|
89f89cf1df | ||
|
|
ab795fe0e2 | ||
|
|
ee32b17782 | ||
|
|
916c6cd1a0 | ||
|
|
57a00e01d6 | ||
|
|
a7ee9d999f | ||
|
|
6935332cba | ||
|
|
3240d199a2 | ||
|
|
a0883526d6 | ||
|
|
7c52bb2772 | ||
|
|
27e53990ed | ||
|
|
b4f2ad3ff5 | ||
|
|
3b0650b70d | ||
|
|
512fb3abff | ||
|
|
11e7e1b8ce | ||
|
|
4903f40efe | ||
|
|
04d4b6ab80 | ||
|
|
02265f19d9 | ||
|
|
7515c502c5 | ||
|
|
79024bb955 | ||
|
|
c5f8b909ec | ||
|
|
0193add060 | ||
|
|
2fba913d0b | ||
|
|
fe6e765b2d | ||
|
|
47d870b11f | ||
|
|
b86171d2b5 | ||
|
|
81e9cf0934 | ||
|
|
163f229d26 | ||
|
|
681ebcf4a5 | ||
|
|
78b2709373 | ||
|
|
8c17a945f7 | ||
|
|
d146dd9d12 | ||
|
|
9e3c94bb3d | ||
|
|
f7948b7b64 | ||
|
|
25cea2ef27 | ||
|
|
9a2a92673c | ||
|
|
d7dd023409 | ||
|
|
d373cc3d3f | ||
|
|
e6d65bf61c | ||
|
|
cd1d8adc49 | ||
|
|
09f61656e3 | ||
|
|
81860b4317 | ||
|
|
b570b719de | ||
|
|
3d932416e3 | ||
|
|
7734127f9e | ||
|
|
3281ea935f | ||
|
|
217fa04080 | ||
|
|
3337250746 | ||
|
|
daa31121ee | ||
|
|
c5a3642cb6 | ||
|
|
86ed82cdde | ||
|
|
432f68ad29 | ||
|
|
88d3de4e85 | ||
|
|
f055f2dcf4 | ||
|
|
4ff8255e4a | ||
|
|
4c4bc134a9 | ||
|
|
8e15146026 | ||
|
|
56960bf9f8 | ||
|
|
b11a2a206f | ||
|
|
cdb5dea269 | ||
|
|
df2bd251fa | ||
|
|
97674bc888 | ||
|
|
def00e8c55 | ||
|
|
23f874ae60 | ||
|
|
c1748b229a | ||
|
|
8c03ae793e | ||
|
|
e2de48f14b | ||
|
|
827082c5ac | ||
|
|
c530532de7 | ||
|
|
d3d9c3568e | ||
|
|
464aad52cd | ||
|
|
ea4afbfc54 | ||
|
|
640e7db60e | ||
|
|
f66d617107 | ||
|
|
d35577d3ed | ||
|
|
39a1ffbb91 | ||
|
|
d72ff01726 | ||
|
|
9a844bbf0c | ||
|
|
3a7a5edcea | ||
|
|
05c26411a3 | ||
|
|
a4de202cbd | ||
|
|
cfb63c68db | ||
|
|
bafd569b47 | ||
|
|
f8435d676f | ||
|
|
75d7e40113 | ||
|
|
4a825268d6 | ||
|
|
4f545e3024 | ||
|
|
a007ac6b9c | ||
|
|
b11b4be7cb | ||
|
|
d3b94d64d4 | ||
|
|
e5b981e1e4 | ||
|
|
60773194a0 | ||
|
|
e7543e8b84 | ||
|
|
4133165607 | ||
|
|
5ccfaf0517 | ||
|
|
5cffa34288 | ||
|
|
c0202da9ac | ||
|
|
7fc5ef68d2 | ||
|
|
014ca709c9 | ||
|
|
86bbfe3b1d | ||
|
|
1ab3bd5a5e | ||
|
|
c1e57ad358 | ||
|
|
4ecedc4991 | ||
|
|
71b3b2a2f0 | ||
|
|
80cd67ed7b | ||
|
|
3fded314f2 | ||
|
|
8f1d48fda6 | ||
|
|
16c238e4b9 | ||
|
|
e0fb1d3d17 | ||
|
|
5bbc3aef13 | ||
|
|
54f150b70a | ||
|
|
5593bed08a | ||
|
|
8750564bd2 | ||
|
|
2461c78e3f | ||
|
|
50fe45f1e4 | ||
|
|
4347dd26c6 | ||
|
|
d7c532d889 | ||
|
|
474db2d8da | ||
|
|
a85ce8ea56 | ||
|
|
63a0a1f826 | ||
|
|
9e0d6f7d54 | ||
|
|
13755c0903 | ||
|
|
c3050c1b48 | ||
|
|
833306bf5e | ||
|
|
90d76333da | ||
|
|
b417b8562e | ||
|
|
644c3ce609 | ||
|
|
0ed1cb7266 | ||
|
|
0e191c2711 | ||
|
|
98685d48e3 | ||
|
|
d885dd5b64 | ||
|
|
b9f9d0a642 | ||
|
|
8b9c077826 | ||
|
|
cd4b8f037c | ||
|
|
ac939f08a4 | ||
|
|
42015de49b | ||
|
|
4a35569921 | ||
|
|
8905142f43 | ||
|
|
7cc428ddf6 | ||
|
|
8e703e08df |
|
|
@ -6,10 +6,24 @@
|
|||
export NDK_CCACHE="$(which ccache)"
|
||||
ccache -s
|
||||
|
||||
BUILD_FLAVOR=mainline
|
||||
BUILD_FLAVOR="mainline"
|
||||
|
||||
BUILD_TYPE="release"
|
||||
if [ "${GITHUB_REPOSITORY}" == "yuzu-emu/yuzu" ]; then
|
||||
BUILD_TYPE="relWithDebInfo"
|
||||
fi
|
||||
|
||||
if [ ! -z "${ANDROID_KEYSTORE_B64}" ]; then
|
||||
export ANDROID_KEYSTORE_FILE="${GITHUB_WORKSPACE}/ks.jks"
|
||||
base64 --decode <<< "${ANDROID_KEYSTORE_B64}" > "${ANDROID_KEYSTORE_FILE}"
|
||||
fi
|
||||
|
||||
cd src/android
|
||||
chmod +x ./gradlew
|
||||
./gradlew "assemble${BUILD_FLAVOR}Release" "bundle${BUILD_FLAVOR}Release"
|
||||
./gradlew "assemble${BUILD_FLAVOR}${BUILD_TYPE}" "bundle${BUILD_FLAVOR}${BUILD_TYPE}"
|
||||
|
||||
ccache -s
|
||||
|
||||
if [ ! -z "${ANDROID_KEYSTORE_B64}" ]; then
|
||||
rm "${ANDROID_KEYSTORE_FILE}"
|
||||
fi
|
||||
|
|
|
|||
21
.ci/scripts/android/eabuild.sh
Normal file
21
.ci/scripts/android/eabuild.sh
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#!/bin/bash -ex
|
||||
|
||||
# SPDX-FileCopyrightText: 2024 yuzu Emulator Project
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
export NDK_CCACHE="$(which ccache)"
|
||||
ccache -s
|
||||
|
||||
export ANDROID_KEYSTORE_FILE="${GITHUB_WORKSPACE}/ks.jks"
|
||||
base64 --decode <<< "${EA_PLAY_ANDROID_KEYSTORE_B64}" > "${ANDROID_KEYSTORE_FILE}"
|
||||
export ANDROID_KEY_ALIAS="${PLAY_ANDROID_KEY_ALIAS}"
|
||||
export ANDROID_KEYSTORE_PASS="${PLAY_ANDROID_KEYSTORE_PASS}"
|
||||
export SERVICE_ACCOUNT_KEY_PATH="${GITHUB_WORKSPACE}/sa.json"
|
||||
base64 --decode <<< "${EA_SERVICE_ACCOUNT_KEY_B64}" > "${SERVICE_ACCOUNT_KEY_PATH}"
|
||||
./gradlew "publishEaReleaseBundle"
|
||||
|
||||
ccache -s
|
||||
|
||||
if [ ! -z "${ANDROID_KEYSTORE_B64}" ]; then
|
||||
rm "${ANDROID_KEYSTORE_FILE}"
|
||||
fi
|
||||
21
.ci/scripts/android/mainlinebuild.sh
Normal file
21
.ci/scripts/android/mainlinebuild.sh
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#!/bin/bash -ex
|
||||
|
||||
# SPDX-FileCopyrightText: 2024 yuzu Emulator Project
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
export NDK_CCACHE="$(which ccache)"
|
||||
ccache -s
|
||||
|
||||
export ANDROID_KEYSTORE_FILE="${GITHUB_WORKSPACE}/ks.jks"
|
||||
base64 --decode <<< "${MAINLINE_PLAY_ANDROID_KEYSTORE_B64}" > "${ANDROID_KEYSTORE_FILE}"
|
||||
export ANDROID_KEY_ALIAS="${PLAY_ANDROID_KEY_ALIAS}"
|
||||
export ANDROID_KEYSTORE_PASS="${PLAY_ANDROID_KEYSTORE_PASS}"
|
||||
export SERVICE_ACCOUNT_KEY_PATH="${GITHUB_WORKSPACE}/sa.json"
|
||||
base64 --decode <<< "${MAINLINE_SERVICE_ACCOUNT_KEY_B64}" > "${SERVICE_ACCOUNT_KEY_PATH}"
|
||||
./gradlew "publishMainlineReleaseBundle"
|
||||
|
||||
ccache -s
|
||||
|
||||
if [ ! -z "${ANDROID_KEYSTORE_B64}" ]; then
|
||||
rm "${ANDROID_KEYSTORE_FILE}"
|
||||
fi
|
||||
|
|
@ -7,21 +7,16 @@
|
|||
|
||||
REV_NAME="yuzu-${GITDATE}-${GITREV}"
|
||||
|
||||
BUILD_FLAVOR=mainline
|
||||
BUILD_FLAVOR="mainline"
|
||||
|
||||
cp src/android/app/build/outputs/apk/"${BUILD_FLAVOR}/release/app-${BUILD_FLAVOR}-release.apk" \
|
||||
"artifacts/${REV_NAME}.apk"
|
||||
cp src/android/app/build/outputs/bundle/"${BUILD_FLAVOR}Release"/"app-${BUILD_FLAVOR}-release.aab" \
|
||||
"artifacts/${REV_NAME}.aab"
|
||||
|
||||
if [ -n "${ANDROID_KEYSTORE_B64}" ]
|
||||
then
|
||||
echo "Signing apk..."
|
||||
base64 --decode <<< "${ANDROID_KEYSTORE_B64}" > ks.jks
|
||||
|
||||
apksigner sign --ks ks.jks \
|
||||
--ks-key-alias "${ANDROID_KEY_ALIAS}" \
|
||||
--ks-pass env:ANDROID_KEYSTORE_PASS "artifacts/${REV_NAME}.apk"
|
||||
else
|
||||
echo "No keystore specified, not signing the APK files."
|
||||
BUILD_TYPE_LOWER="release"
|
||||
BUILD_TYPE_UPPER="Release"
|
||||
if [ "${GITHUB_REPOSITORY}" == "yuzu-emu/yuzu" ]; then
|
||||
BUILD_TYPE_LOWER="relWithDebInfo"
|
||||
BUILD_TYPE_UPPER="RelWithDebInfo"
|
||||
fi
|
||||
|
||||
cp src/android/app/build/outputs/apk/"${BUILD_FLAVOR}/${BUILD_TYPE_LOWER}/app-${BUILD_FLAVOR}-${BUILD_TYPE_LOWER}.apk" \
|
||||
"artifacts/${REV_NAME}.apk"
|
||||
cp src/android/app/build/outputs/bundle/"${BUILD_FLAVOR}${BUILD_TYPE_UPPER}"/"app-${BUILD_FLAVOR}-${BUILD_TYPE_LOWER}.aab" \
|
||||
"artifacts/${REV_NAME}.aab"
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ cmake .. \
|
|||
-DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON \
|
||||
-DENABLE_QT_TRANSLATION=ON \
|
||||
-DUSE_DISCORD_PRESENCE=ON \
|
||||
-DYUZU_CRASH_DUMPS=ON \
|
||||
-DYUZU_ENABLE_COMPATIBILITY_REPORTING=${ENABLE_COMPATIBILITY_REPORTING:-"OFF"} \
|
||||
-DYUZU_USE_BUNDLED_FFMPEG=ON \
|
||||
-GNinja
|
||||
|
|
|
|||
|
|
@ -5,6 +5,6 @@
|
|||
|
||||
GITDATE="`git show -s --date=short --format='%ad' | sed 's/-//g'`"
|
||||
GITREV="`git show -s --format='%h'`"
|
||||
ARTIFACTS_DIR="artifacts"
|
||||
ARTIFACTS_DIR="$PWD/artifacts"
|
||||
|
||||
mkdir -p "${ARTIFACTS_DIR}/"
|
||||
|
|
|
|||
|
|
@ -3,38 +3,35 @@
|
|||
# SPDX-FileCopyrightText: 2019 yuzu Emulator Project
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
if grep -nrI '\s$' src *.yml *.txt *.md Doxyfile .gitignore .gitmodules .ci* dist/*.desktop \
|
||||
dist/*.svg dist/*.xml; then
|
||||
shopt -s nullglob globstar
|
||||
|
||||
if git grep -nrI '\s$' src **/*.yml **/*.txt **/*.md Doxyfile .gitignore .gitmodules .ci* dist/*.desktop dist/*.svg dist/*.xml; then
|
||||
echo Trailing whitespace found, aborting
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Default clang-format points to default 3.5 version one
|
||||
CLANG_FORMAT=${CLANG_FORMAT:-clang-format-15}
|
||||
$CLANG_FORMAT --version
|
||||
|
||||
if [ "$TRAVIS_EVENT_TYPE" = "pull_request" ]; then
|
||||
# Get list of every file modified in this pull request
|
||||
files_to_lint="$(git diff --name-only --diff-filter=ACMRTUXB $TRAVIS_COMMIT_RANGE | grep '^src/[^.]*[.]\(cpp\|h\)$' || true)"
|
||||
else
|
||||
# Check everything for branch pushes
|
||||
files_to_lint="$(find src/ -name '*.cpp' -or -name '*.h')"
|
||||
fi
|
||||
CLANG_FORMAT="${CLANG_FORMAT:-clang-format-15}"
|
||||
"$CLANG_FORMAT" --version
|
||||
|
||||
# Turn off tracing for this because it's too verbose
|
||||
set +x
|
||||
|
||||
for f in $files_to_lint; do
|
||||
d=$(diff -u "$f" <($CLANG_FORMAT "$f") || true)
|
||||
if ! [ -z "$d" ]; then
|
||||
echo "!!! $f not compliant to coding style, here is the fix:"
|
||||
echo "$d"
|
||||
fail=1
|
||||
fi
|
||||
# Check everything for branch pushes
|
||||
FILES_TO_LINT="$(find src/ -name '*.cpp' -or -name '*.h')"
|
||||
|
||||
for f in $FILES_TO_LINT; do
|
||||
echo "$f"
|
||||
"$CLANG_FORMAT" -i "$f"
|
||||
done
|
||||
|
||||
set -x
|
||||
DIFF=$(git -c core.fileMode=false diff)
|
||||
|
||||
if [ "$fail" = 1 ]; then
|
||||
if [ ! -z "$DIFF" ]; then
|
||||
echo "!!! Not compliant to coding style, here is the fix:"
|
||||
echo "$DIFF"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cd src/android
|
||||
./gradlew ktlintCheck
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ ccache -s
|
|||
mkdir build || true && cd build
|
||||
cmake .. \
|
||||
-DBoost_USE_STATIC_LIBS=ON \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DCMAKE_CXX_FLAGS="-march=x86-64-v2" \
|
||||
-DCMAKE_CXX_COMPILER=/usr/lib/ccache/g++ \
|
||||
-DCMAKE_C_COMPILER=/usr/lib/ccache/gcc \
|
||||
|
|
@ -23,6 +23,7 @@ cmake .. \
|
|||
-DYUZU_ENABLE_COMPATIBILITY_REPORTING=${ENABLE_COMPATIBILITY_REPORTING:-"OFF"} \
|
||||
-DYUZU_USE_BUNDLED_FFMPEG=ON \
|
||||
-DYUZU_ENABLE_LTO=ON \
|
||||
-DYUZU_CRASH_DUMPS=ON \
|
||||
-GNinja
|
||||
|
||||
ninja
|
||||
|
|
@ -31,11 +32,24 @@ ccache -s
|
|||
|
||||
ctest -VV -C Release
|
||||
|
||||
# Separate debug symbols from specified executables
|
||||
for EXE in yuzu; do
|
||||
EXE_PATH="bin/$EXE"
|
||||
# Copy debug symbols out
|
||||
objcopy --only-keep-debug $EXE_PATH $EXE_PATH.debug
|
||||
# Add debug link and strip debug symbols
|
||||
objcopy -g --add-gnu-debuglink=$EXE_PATH.debug $EXE_PATH $EXE_PATH.out
|
||||
# Overwrite original with stripped copy
|
||||
mv $EXE_PATH.out $EXE_PATH
|
||||
done
|
||||
# Strip debug symbols from all executables
|
||||
find bin/ -type f -not -regex '.*.debug' -exec strip -g {} ';'
|
||||
|
||||
DESTDIR="$PWD/AppDir" ninja install
|
||||
rm -vf AppDir/usr/bin/yuzu-cmd AppDir/usr/bin/yuzu-tester
|
||||
|
||||
# Download tools needed to build an AppImage
|
||||
wget -nc https://raw.githubusercontent.com/yuzu-emu/ext-linux-bin/main/gcc/deploy-linux.sh
|
||||
wget -nc https://raw.githubusercontent.com/yuzu-emu/ext-linux-bin/main/appimage/deploy-linux.sh
|
||||
wget -nc https://raw.githubusercontent.com/yuzu-emu/AppImageKit-checkrt/old/AppRun.sh
|
||||
wget -nc https://github.com/yuzu-emu/ext-linux-bin/raw/main/appimage/exec-x86_64.so
|
||||
# Set executable bit
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ chmod a+x ./.ci/scripts/linux/docker.sh
|
|||
sudo chown -R 1027 ./
|
||||
|
||||
# The environment variables listed below:
|
||||
# AZURECIREPO TITLEBARFORMATIDLE TITLEBARFORMATRUNNING DISPLAYVERSION
|
||||
# AZURECIREPO TITLEBARFORMATIDLE TITLEBARFORMATRUNNING DISPLAYVERSION
|
||||
# are requested in src/common/CMakeLists.txt and appear to be provided somewhere in Azure DevOps
|
||||
|
||||
docker run -e AZURECIREPO -e TITLEBARFORMATIDLE -e TITLEBARFORMATRUNNING -e DISPLAYVERSION -e ENABLE_COMPATIBILITY_REPORTING -e CCACHE_DIR=/yuzu/ccache -v "$(pwd):/yuzu" -w /yuzu yuzuemu/build-environments:linux-fresh /bin/bash /yuzu/.ci/scripts/linux/docker.sh "$1"
|
||||
|
|
|
|||
|
|
@ -59,4 +59,9 @@ if [ "${RELEASE_NAME}" = "mainline" ] || [ "${RELEASE_NAME}" = "early-access" ];
|
|||
cp "build/${APPIMAGE_NAME}" "${DIR_NAME}/yuzu-${RELEASE_NAME}.AppImage"
|
||||
fi
|
||||
|
||||
# Copy debug symbols to artifacts
|
||||
cd build/bin
|
||||
tar $COMPRESSION_FLAGS "${ARTIFACTS_DIR}/${REV_NAME}-debug.tar.xz" *.debug
|
||||
cd -
|
||||
|
||||
. .ci/scripts/common/post-upload.sh
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@ cmake .. \
|
|||
-DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON \
|
||||
-DENABLE_QT_TRANSLATION=ON \
|
||||
-DUSE_CCACHE=ON \
|
||||
-DYUZU_CRASH_DUMPS=ON \
|
||||
-DYUZU_USE_BUNDLED_SDL2=OFF \
|
||||
-DYUZU_USE_EXTERNAL_SDL2=OFF \
|
||||
-DYUZU_TESTS=OFF \
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ steps:
|
|||
inputs:
|
||||
targetType: 'filePath'
|
||||
filePath: './.ci/scripts/windows/install-vulkan-sdk.ps1'
|
||||
- script: refreshenv && glslangValidator --version && mkdir build && cd build && cmake -E env CXXFLAGS="/Gw /GA /Gr /Ob2" cmake -G "Visual Studio 17 2022" -A x64 -DCMAKE_POLICY_DEFAULT_CMP0069=NEW -DYUZU_ENABLE_LTO=ON -DYUZU_USE_BUNDLED_QT=1 -DYUZU_USE_BUNDLED_SDL2=1 -DYUZU_USE_QT_WEB_ENGINE=ON -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON -DYUZU_ENABLE_COMPATIBILITY_REPORTING=${COMPAT} -DYUZU_TESTS=OFF -DUSE_DISCORD_PRESENCE=ON -DENABLE_QT_TRANSLATION=ON -DDISPLAY_VERSION=${{ parameters['version'] }} -DCMAKE_BUILD_TYPE=Release -DYUZU_CRASH_DUMPS=ON .. && cd ..
|
||||
- script: refreshenv && glslangValidator --version && mkdir build && cd build && cmake -E env CXXFLAGS="/Gw" cmake -G "Visual Studio 17 2022" -A x64 -DCMAKE_POLICY_DEFAULT_CMP0069=NEW -DYUZU_ENABLE_LTO=ON -DYUZU_USE_BUNDLED_QT=1 -DYUZU_USE_BUNDLED_SDL2=1 -DYUZU_USE_QT_WEB_ENGINE=ON -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON -DYUZU_ENABLE_COMPATIBILITY_REPORTING=${COMPAT} -DYUZU_TESTS=OFF -DUSE_DISCORD_PRESENCE=ON -DENABLE_QT_TRANSLATION=ON -DDISPLAY_VERSION=${{ parameters['version'] }} -DCMAKE_BUILD_TYPE=Release -DYUZU_CRASH_DUMPS=ON .. && cd ..
|
||||
displayName: 'Configure CMake'
|
||||
- task: MSBuild@1
|
||||
displayName: 'Build'
|
||||
|
|
|
|||
|
|
@ -8,17 +8,7 @@ variables:
|
|||
DisplayVersion: $[counter(variables['DisplayPrefix'], 1)]
|
||||
|
||||
stages:
|
||||
- stage: format
|
||||
displayName: 'format'
|
||||
jobs:
|
||||
- job: format
|
||||
displayName: 'clang'
|
||||
pool:
|
||||
vmImage: ubuntu-latest
|
||||
steps:
|
||||
- template: ./templates/format-check.yml
|
||||
- stage: build
|
||||
dependsOn: format
|
||||
displayName: 'build'
|
||||
jobs:
|
||||
- job: build
|
||||
|
|
@ -43,7 +33,6 @@ stages:
|
|||
cache: 'true'
|
||||
version: $(DisplayVersion)
|
||||
- stage: build_win
|
||||
dependsOn: format
|
||||
displayName: 'build-windows'
|
||||
jobs:
|
||||
- job: build
|
||||
|
|
|
|||
|
|
@ -3,4 +3,4 @@
|
|||
|
||||
[codespell]
|
||||
skip = ./.git,./build,./dist,./Doxyfile,./externals,./LICENSES,./src/android/app/src/main/res
|
||||
ignore-words-list = aci,allright,ba,deques,froms,hda,inout,lod,masia,nam,nax,nd,optin,pullrequests,pullrequest,te,transfered,unstall,uscaled,zink
|
||||
ignore-words-list = aci,allright,ba,canonicalizations,deques,fpr,froms,hda,inout,lod,masia,nam,nax,nce,nd,optin,pullrequests,pullrequest,te,transfered,unstall,uscaled,vas,zink
|
||||
|
|
|
|||
5
.git-blame-ignore-revs
Normal file
5
.git-blame-ignore-revs
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# SPDX-FileCopyrightText: 2023 yuzu Emulator Project
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
# CRLF -> LF
|
||||
90aa937593e53a5d5e070fb623b228578b0b225f
|
||||
2
.github/workflows/android-build.yml
vendored
2
.github/workflows/android-build.yml
vendored
|
|
@ -40,11 +40,11 @@ jobs:
|
|||
sudo apt-get install -y ccache apksigner glslang-dev glslang-tools
|
||||
- name: Build
|
||||
run: ./.ci/scripts/android/build.sh
|
||||
- name: Copy and sign artifacts
|
||||
env:
|
||||
ANDROID_KEYSTORE_B64: ${{ secrets.ANDROID_KEYSTORE_B64 }}
|
||||
ANDROID_KEY_ALIAS: ${{ secrets.ANDROID_KEY_ALIAS }}
|
||||
ANDROID_KEYSTORE_PASS: ${{ secrets.ANDROID_KEYSTORE_PASS }}
|
||||
- name: Copy artifacts
|
||||
run: ./.ci/scripts/android/upload.sh
|
||||
- name: Upload
|
||||
uses: actions/upload-artifact@v3
|
||||
|
|
|
|||
66
.github/workflows/android-ea-play-release.yml
vendored
Normal file
66
.github/workflows/android-ea-play-release.yml
vendored
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
# SPDX-FileCopyrightText: 2024 yuzu Emulator Project
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
name: yuzu-android-ea-play-release
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
release-track:
|
||||
description: 'Play store release track (internal/alpha/beta/production)'
|
||||
required: true
|
||||
default: 'alpha'
|
||||
|
||||
jobs:
|
||||
android:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.repository == 'yuzu-emu/yuzu' }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
name: Checkout
|
||||
with:
|
||||
fetch-depth: 0
|
||||
submodules: true
|
||||
token: ${{ secrets.ALT_GITHUB_TOKEN }}
|
||||
- run: npm install execa@5
|
||||
- uses: actions/github-script@v5
|
||||
name: 'Merge and publish Android EA changes'
|
||||
env:
|
||||
ALT_GITHUB_TOKEN: ${{ secrets.ALT_GITHUB_TOKEN }}
|
||||
BUILD_EA: true
|
||||
with:
|
||||
script: |
|
||||
const execa = require("execa");
|
||||
const mergebot = require('./.github/workflows/android-merge.js').mergebot;
|
||||
process.chdir('${{ github.workspace }}');
|
||||
mergebot(github, context, execa);
|
||||
- name: Get tag name
|
||||
run: echo "GIT_TAG_NAME=$(cat tag-name.txt)" >> $GITHUB_ENV
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y ccache apksigner glslang-dev glslang-tools
|
||||
- name: Build
|
||||
run: ./.ci/scripts/android/eabuild.sh
|
||||
env:
|
||||
EA_PLAY_ANDROID_KEYSTORE_B64: ${{ secrets.PLAY_ANDROID_KEYSTORE_B64 }}
|
||||
PLAY_ANDROID_KEY_ALIAS: ${{ secrets.PLAY_ANDROID_KEY_ALIAS }}
|
||||
PLAY_ANDROID_KEYSTORE_PASS: ${{ secrets.PLAY_ANDROID_KEYSTORE_PASS }}
|
||||
EA_SERVICE_ACCOUNT_KEY_B64: ${{ secrets.EA_SERVICE_ACCOUNT_KEY_B64 }}
|
||||
STORE_TRACK: ${{ github.event.inputs.release-track }}
|
||||
AUTO_VERSIONED: true
|
||||
BUILD_EA: true
|
||||
- name: Create release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
tag_name: ${{ env.EA_TAG_NAME }}
|
||||
name: ${{ env.EA_TAG_NAME }}
|
||||
draft: false
|
||||
prerelease: false
|
||||
repository: yuzu/yuzu-android
|
||||
token: ${{ secrets.ALT_GITHUB_TOKEN }}
|
||||
59
.github/workflows/android-mainline-play-release.yml
vendored
Normal file
59
.github/workflows/android-mainline-play-release.yml
vendored
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
# SPDX-FileCopyrightText: 2024 yuzu Emulator Project
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
name: yuzu-android-mainline-play-release
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
release-tag:
|
||||
description: 'Tag # from yuzu-android that you want to build and publish'
|
||||
required: true
|
||||
default: '200'
|
||||
release-track:
|
||||
description: 'Play store release track (internal/alpha/beta/production)'
|
||||
required: true
|
||||
default: 'alpha'
|
||||
|
||||
jobs:
|
||||
android:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.repository == 'yuzu-emu/yuzu' }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
name: Checkout
|
||||
with:
|
||||
fetch-depth: 0
|
||||
submodules: true
|
||||
token: ${{ secrets.ALT_GITHUB_TOKEN }}
|
||||
- run: npm install execa@5
|
||||
- uses: actions/github-script@v5
|
||||
name: 'Pull mainline tag'
|
||||
env:
|
||||
MAINLINE_TAG: ${{ github.event.inputs.release-tag }}
|
||||
with:
|
||||
script: |
|
||||
const execa = require("execa");
|
||||
const mergebot = require('./.github/workflows/android-merge.js').getMainlineTag;
|
||||
process.chdir('${{ github.workspace }}');
|
||||
mergebot(execa);
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y ccache apksigner glslang-dev glslang-tools
|
||||
- name: Build
|
||||
run: |
|
||||
echo "GIT_TAG_NAME=android-${{ github.event.inputs.releast-tag }}" >> $GITHUB_ENV
|
||||
./.ci/scripts/android/mainlinebuild.sh
|
||||
env:
|
||||
MAINLINE_PLAY_ANDROID_KEYSTORE_B64: ${{ secrets.PLAY_ANDROID_KEYSTORE_B64 }}
|
||||
PLAY_ANDROID_KEY_ALIAS: ${{ secrets.PLAY_ANDROID_KEY_ALIAS }}
|
||||
PLAY_ANDROID_KEYSTORE_PASS: ${{ secrets.PLAY_ANDROID_KEYSTORE_PASS }}
|
||||
SERVICE_ACCOUNT_KEY_B64: ${{ secrets.MAINLINE_SERVICE_ACCOUNT_KEY_B64 }}
|
||||
STORE_TRACK: ${{ github.event.inputs.release-track }}
|
||||
AUTO_VERSIONED: true
|
||||
166
.github/workflows/android-merge.js
vendored
166
.github/workflows/android-merge.js
vendored
|
|
@ -6,11 +6,14 @@
|
|||
|
||||
const fs = require("fs");
|
||||
// which label to check for changes
|
||||
const CHANGE_LABEL = 'android-merge';
|
||||
const CHANGE_LABEL_MAINLINE = 'android-merge';
|
||||
const CHANGE_LABEL_EA = 'android-ea-merge';
|
||||
// how far back in time should we consider the changes are "recent"? (default: 24 hours)
|
||||
const DETECTION_TIME_FRAME = (parseInt(process.env.DETECTION_TIME_FRAME)) || (24 * 3600 * 1000);
|
||||
const BUILD_EA = process.env.BUILD_EA == 'true';
|
||||
const MAINLINE_TAG = process.env.MAINLINE_TAG;
|
||||
|
||||
async function checkBaseChanges(github, context) {
|
||||
async function checkBaseChanges(github) {
|
||||
// query the commit date of the latest commit on this branch
|
||||
const query = `query($owner:String!, $name:String!, $ref:String!) {
|
||||
repository(name:$name, owner:$owner) {
|
||||
|
|
@ -22,8 +25,8 @@ async function checkBaseChanges(github, context) {
|
|||
}
|
||||
}`;
|
||||
const variables = {
|
||||
owner: context.repo.owner,
|
||||
name: context.repo.repo,
|
||||
owner: 'yuzu-emu',
|
||||
name: 'yuzu',
|
||||
ref: 'refs/heads/master',
|
||||
};
|
||||
const result = await github.graphql(query, variables);
|
||||
|
|
@ -38,22 +41,9 @@ async function checkBaseChanges(github, context) {
|
|||
return false;
|
||||
}
|
||||
|
||||
async function checkAndroidChanges(github, context) {
|
||||
if (checkBaseChanges(github, context)) return true;
|
||||
const query = `query($owner:String!, $name:String!, $label:String!) {
|
||||
repository(name:$name, owner:$owner) {
|
||||
pullRequests(labels: [$label], states: OPEN, first: 100) {
|
||||
nodes { number headRepository { pushedAt } }
|
||||
}
|
||||
}
|
||||
}`;
|
||||
const variables = {
|
||||
owner: context.repo.owner,
|
||||
name: context.repo.repo,
|
||||
label: CHANGE_LABEL,
|
||||
};
|
||||
const result = await github.graphql(query, variables);
|
||||
const pulls = result.repository.pullRequests.nodes;
|
||||
async function checkAndroidChanges(github) {
|
||||
if (checkBaseChanges(github)) return true;
|
||||
const pulls = getPulls(github, false);
|
||||
for (let i = 0; i < pulls.length; i++) {
|
||||
let pull = pulls[i];
|
||||
if (new Date() - new Date(pull.headRepository.pushedAt) <= DETECTION_TIME_FRAME) {
|
||||
|
|
@ -83,15 +73,21 @@ async function tagAndPush(github, owner, repo, execa, commit=false) {
|
|||
};
|
||||
const tags = await github.graphql(query, variables);
|
||||
const tagList = tags.repository.refs.nodes;
|
||||
const lastTag = tagList[0] ? tagList[0].name : 'dummy-0';
|
||||
let lastTag = 'android-1';
|
||||
for (let i = 0; i < tagList.length; ++i) {
|
||||
if (tagList[i].name.includes('android-')) {
|
||||
lastTag = tagList[i].name;
|
||||
break;
|
||||
}
|
||||
}
|
||||
const tagNumber = /\w+-(\d+)/.exec(lastTag)[1] | 0;
|
||||
const channel = repo.split('-')[1];
|
||||
const newTag = `${channel}-${tagNumber + 1}`;
|
||||
console.log(`New tag: ${newTag}`);
|
||||
if (commit) {
|
||||
let channelName = channel[0].toUpperCase() + channel.slice(1);
|
||||
console.info(`Committing pending commit as ${channelName} #${tagNumber + 1}`);
|
||||
await execa("git", ['commit', '-m', `${channelName} #${tagNumber + 1}`]);
|
||||
console.info(`Committing pending commit as ${channelName} ${tagNumber + 1}`);
|
||||
await execa("git", ['commit', '-m', `${channelName} ${tagNumber + 1}`]);
|
||||
}
|
||||
console.info('Pushing tags to GitHub ...');
|
||||
await execa("git", ['tag', newTag]);
|
||||
|
|
@ -101,6 +97,48 @@ async function tagAndPush(github, owner, repo, execa, commit=false) {
|
|||
console.info('Successfully pushed new changes.');
|
||||
}
|
||||
|
||||
async function tagAndPushEA(github, owner, repo, execa) {
|
||||
let altToken = process.env.ALT_GITHUB_TOKEN;
|
||||
if (!altToken) {
|
||||
throw `Please set ALT_GITHUB_TOKEN environment variable. This token should have write access to ${owner}/${repo}.`;
|
||||
}
|
||||
const query = `query ($owner:String!, $name:String!) {
|
||||
repository(name:$name, owner:$owner) {
|
||||
refs(refPrefix: "refs/tags/", orderBy: {field: TAG_COMMIT_DATE, direction: DESC}, first: 10) {
|
||||
nodes { name }
|
||||
}
|
||||
}
|
||||
}`;
|
||||
const variables = {
|
||||
owner: owner,
|
||||
name: repo,
|
||||
};
|
||||
const tags = await github.graphql(query, variables);
|
||||
const tagList = tags.repository.refs.nodes;
|
||||
let lastTag = 'ea-1';
|
||||
for (let i = 0; i < tagList.length; ++i) {
|
||||
if (tagList[i].name.includes('ea-')) {
|
||||
lastTag = tagList[i].name;
|
||||
break;
|
||||
}
|
||||
}
|
||||
const tagNumber = /\w+-(\d+)/.exec(lastTag)[1] | 0;
|
||||
const newTag = `ea-${tagNumber + 1}`;
|
||||
console.log(`New tag: ${newTag}`);
|
||||
console.info('Pushing tags to GitHub ...');
|
||||
await execa("git", ["remote", "add", "android", "https://github.com/yuzu-emu/yuzu-android.git"]);
|
||||
await execa("git", ["fetch", "android"]);
|
||||
|
||||
await execa("git", ['tag', newTag]);
|
||||
await execa("git", ['push', 'android', `${newTag}`]);
|
||||
|
||||
fs.writeFile('tag-name.txt', newTag, (err) => {
|
||||
if (err) throw 'Could not write tag name to file!'
|
||||
})
|
||||
|
||||
console.info('Successfully pushed new changes.');
|
||||
}
|
||||
|
||||
async function generateReadme(pulls, context, mergeResults, execa) {
|
||||
let baseUrl = `https://github.com/${context.repo.owner}/${context.repo.repo}/`;
|
||||
let output =
|
||||
|
|
@ -157,7 +195,7 @@ async function mergePullRequests(pulls, execa) {
|
|||
process1.stdout.pipe(process.stdout);
|
||||
await process1;
|
||||
|
||||
const process2 = execa("git", ["commit", "-m", `Merge PR ${pr}`]);
|
||||
const process2 = execa("git", ["commit", "-m", `Merge yuzu-emu#${pr}`]);
|
||||
process2.stdout.pipe(process.stdout);
|
||||
await process2;
|
||||
|
||||
|
|
@ -182,7 +220,27 @@ async function mergePullRequests(pulls, execa) {
|
|||
return mergeResults;
|
||||
}
|
||||
|
||||
async function mergebot(github, context, execa) {
|
||||
async function resetBranch(execa) {
|
||||
console.log("::group::Reset master branch");
|
||||
let hasFailed = false;
|
||||
try {
|
||||
await execa("git", ["remote", "add", "source", "https://github.com/yuzu-emu/yuzu.git"]);
|
||||
await execa("git", ["fetch", "source"]);
|
||||
const process1 = await execa("git", ["rev-parse", "source/master"]);
|
||||
const headCommit = process1.stdout;
|
||||
|
||||
await execa("git", ["reset", "--hard", headCommit]);
|
||||
} catch (err) {
|
||||
console.log(`::error title=Failed to reset master branch`);
|
||||
hasFailed = true;
|
||||
}
|
||||
console.log("::endgroup::");
|
||||
if (hasFailed) {
|
||||
throw 'Failed to reset the master branch. Aborting!';
|
||||
}
|
||||
}
|
||||
|
||||
async function getPulls(github) {
|
||||
const query = `query ($owner:String!, $name:String!, $label:String!) {
|
||||
repository(name:$name, owner:$owner) {
|
||||
pullRequests(labels: [$label], states: OPEN, first: 100) {
|
||||
|
|
@ -192,13 +250,49 @@ async function mergebot(github, context, execa) {
|
|||
}
|
||||
}
|
||||
}`;
|
||||
const variables = {
|
||||
owner: context.repo.owner,
|
||||
name: context.repo.repo,
|
||||
label: CHANGE_LABEL,
|
||||
const mainlineVariables = {
|
||||
owner: 'yuzu-emu',
|
||||
name: 'yuzu',
|
||||
label: CHANGE_LABEL_MAINLINE,
|
||||
};
|
||||
const result = await github.graphql(query, variables);
|
||||
const pulls = result.repository.pullRequests.nodes;
|
||||
const mainlineResult = await github.graphql(query, mainlineVariables);
|
||||
const pulls = mainlineResult.repository.pullRequests.nodes;
|
||||
if (BUILD_EA) {
|
||||
const eaVariables = {
|
||||
owner: 'yuzu-emu',
|
||||
name: 'yuzu',
|
||||
label: CHANGE_LABEL_EA,
|
||||
};
|
||||
const eaResult = await github.graphql(query, eaVariables);
|
||||
const eaPulls = eaResult.repository.pullRequests.nodes;
|
||||
return pulls.concat(eaPulls);
|
||||
}
|
||||
return pulls;
|
||||
}
|
||||
|
||||
async function getMainlineTag(execa) {
|
||||
console.log(`::group::Getting mainline tag android-${MAINLINE_TAG}`);
|
||||
let hasFailed = false;
|
||||
try {
|
||||
await execa("git", ["remote", "add", "mainline", "https://github.com/yuzu-emu/yuzu-android.git"]);
|
||||
await execa("git", ["fetch", "mainline", "--tags"]);
|
||||
await execa("git", ["checkout", `tags/android-${MAINLINE_TAG}`]);
|
||||
await execa("git", ["submodule", "update", "--init", "--recursive"]);
|
||||
} catch (err) {
|
||||
console.log('::error title=Failed pull tag');
|
||||
hasFailed = true;
|
||||
}
|
||||
console.log("::endgroup::");
|
||||
if (hasFailed) {
|
||||
throw 'Failed pull mainline tag. Aborting!';
|
||||
}
|
||||
}
|
||||
|
||||
async function mergebot(github, context, execa) {
|
||||
// Reset our local copy of master to what appears on yuzu-emu/yuzu - master
|
||||
await resetBranch(execa);
|
||||
|
||||
const pulls = await getPulls(github);
|
||||
let displayList = [];
|
||||
for (let i = 0; i < pulls.length; i++) {
|
||||
let pull = pulls[i];
|
||||
|
|
@ -208,11 +302,17 @@ async function mergebot(github, context, execa) {
|
|||
console.table(displayList);
|
||||
await fetchPullRequests(pulls, "https://github.com/yuzu-emu/yuzu", execa);
|
||||
const mergeResults = await mergePullRequests(pulls, execa);
|
||||
await generateReadme(pulls, context, mergeResults, execa);
|
||||
await tagAndPush(github, context.repo.owner, `${context.repo.repo}-android`, execa, true);
|
||||
|
||||
if (BUILD_EA) {
|
||||
await tagAndPushEA(github, 'yuzu-emu', `yuzu-android`, execa);
|
||||
} else {
|
||||
await generateReadme(pulls, context, mergeResults, execa);
|
||||
await tagAndPush(github, 'yuzu-emu', `yuzu-android`, execa, true);
|
||||
}
|
||||
}
|
||||
|
||||
module.exports.mergebot = mergebot;
|
||||
module.exports.checkAndroidChanges = checkAndroidChanges;
|
||||
module.exports.tagAndPush = tagAndPush;
|
||||
module.exports.checkBaseChanges = checkBaseChanges;
|
||||
module.exports.getMainlineTag = getMainlineTag;
|
||||
|
|
|
|||
4
.github/workflows/android-publish.yml
vendored
4
.github/workflows/android-publish.yml
vendored
|
|
@ -1,4 +1,4 @@
|
|||
# SPDX-FileCopyrightText: 2023 yuzu Emulator Project
|
||||
# SPDX-FileCopyrightText: 2024 yuzu Emulator Project
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
name: yuzu-android-publish
|
||||
|
|
@ -33,7 +33,7 @@ jobs:
|
|||
script: |
|
||||
if (context.payload.inputs && context.payload.inputs.android === 'true') return true;
|
||||
const checkAndroidChanges = require('./.github/workflows/android-merge.js').checkAndroidChanges;
|
||||
return checkAndroidChanges(github, context);
|
||||
return checkAndroidChanges(github);
|
||||
- run: npm install execa@5
|
||||
if: ${{ steps.check-changes.outputs.result == 'true' }}
|
||||
- uses: actions/checkout@v3
|
||||
|
|
|
|||
27
.github/workflows/verify.yml
vendored
27
.github/workflows/verify.yml
vendored
|
|
@ -13,13 +13,15 @@ jobs:
|
|||
format:
|
||||
name: 'verify format'
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: yuzuemu/build-environments:linux-clang-format
|
||||
options: -u 1001
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: false
|
||||
- name: set up JDK 17
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
- name: 'Verify Formatting'
|
||||
run: bash -ex ./.ci/scripts/format/script.sh
|
||||
build:
|
||||
|
|
@ -68,6 +70,25 @@ jobs:
|
|||
with:
|
||||
name: ${{ matrix.type }}
|
||||
path: artifacts/
|
||||
build-mac:
|
||||
name: 'test build (macos)'
|
||||
needs: format
|
||||
runs-on: macos-14
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
fetch-depth: 0
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
brew install autoconf automake boost ccache ffmpeg fmt glslang hidapi libtool libusb lz4 ninja nlohmann-json openssl pkg-config qt@5 sdl2 speexdsp zlib zlib zstd
|
||||
- name: Build
|
||||
run: |
|
||||
mkdir build
|
||||
cd build
|
||||
export Qt5_DIR="$(brew --prefix qt@5)/lib/cmake"
|
||||
cmake .. -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DYUZU_USE_BUNDLED_VCPKG=OFF -DYUZU_TESTS=OFF -DENABLE_WEB_SERVICE=OFF -DENABLE_LIBUSB=OFF
|
||||
ninja
|
||||
build-msvc:
|
||||
name: 'test build (windows, msvc)'
|
||||
needs: format
|
||||
|
|
|
|||
19
.gitmodules
vendored
19
.gitmodules
vendored
|
|
@ -4,9 +4,6 @@
|
|||
[submodule "enet"]
|
||||
path = externals/enet
|
||||
url = https://github.com/lsalzman/enet.git
|
||||
[submodule "inih"]
|
||||
path = externals/inih/inih
|
||||
url = https://github.com/benhoyt/inih.git
|
||||
[submodule "cubeb"]
|
||||
path = externals/cubeb
|
||||
url = https://github.com/mozilla/cubeb.git
|
||||
|
|
@ -32,7 +29,7 @@
|
|||
path = externals/xbyak
|
||||
url = https://github.com/herumi/xbyak.git
|
||||
[submodule "opus"]
|
||||
path = externals/opus/opus
|
||||
path = externals/opus
|
||||
url = https://github.com/xiph/opus.git
|
||||
[submodule "SDL"]
|
||||
path = externals/SDL
|
||||
|
|
@ -56,5 +53,17 @@
|
|||
path = externals/nx_tzdb/tzdb_to_nx
|
||||
url = https://github.com/lat9nq/tzdb_to_nx.git
|
||||
[submodule "VulkanMemoryAllocator"]
|
||||
path = externals/vma/VulkanMemoryAllocator
|
||||
path = externals/VulkanMemoryAllocator
|
||||
url = https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
|
||||
[submodule "breakpad"]
|
||||
path = externals/breakpad
|
||||
url = https://github.com/yuzu-emu/breakpad.git
|
||||
[submodule "simpleini"]
|
||||
path = externals/simpleini
|
||||
url = https://github.com/brofield/simpleini.git
|
||||
[submodule "oaknut"]
|
||||
path = externals/oaknut
|
||||
url = https://github.com/merryhime/oaknut
|
||||
[submodule "Vulkan-Utility-Libraries"]
|
||||
path = externals/Vulkan-Utility-Libraries
|
||||
url = https://github.com/KhronosGroup/Vulkan-Utility-Libraries.git
|
||||
|
|
|
|||
12
.reuse/dep5
12
.reuse/dep5
|
|
@ -147,3 +147,15 @@ License: GPL-3.0-or-later
|
|||
Files: src/android/gradle/wrapper/*
|
||||
Copyright: 2023 yuzu Emulator Project
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
Files: externals/stb/*
|
||||
Copyright: Sean Barrett
|
||||
License: MIT
|
||||
|
||||
Files: externals/gamemode/*
|
||||
Copyright: Copyright 2017-2019 Feral Interactive
|
||||
License: BSD-3-Clause
|
||||
|
||||
Files: src/android/app/debug.keystore
|
||||
Copyright: 2023 yuzu Emulator Project
|
||||
License: GPL-3.0-or-later
|
||||
|
|
|
|||
158
CMakeLists.txt
158
CMakeLists.txt
|
|
@ -11,7 +11,6 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/externals/cmake-modul
|
|||
include(DownloadExternals)
|
||||
include(CMakeDependentOption)
|
||||
include(CTest)
|
||||
include(FetchContent)
|
||||
|
||||
# Set bundled sdl2/qt as dependent options.
|
||||
# OFF by default, but if ENABLE_SDL2 and MSVC are true then ON
|
||||
|
|
@ -37,6 +36,8 @@ option(YUZU_USE_BUNDLED_FFMPEG "Download/Build bundled FFmpeg" "${WIN32}")
|
|||
|
||||
option(YUZU_USE_EXTERNAL_VULKAN_HEADERS "Use Vulkan-Headers from externals" ON)
|
||||
|
||||
option(YUZU_USE_EXTERNAL_VULKAN_UTILITY_LIBRARIES "Use Vulkan-Utility-Libraries from externals" ON)
|
||||
|
||||
option(YUZU_USE_QT_MULTIMEDIA "Use QtMultimedia for Camera" OFF)
|
||||
|
||||
option(YUZU_USE_QT_WEB_ENGINE "Use QtWebEngine for web applet implementation" OFF)
|
||||
|
|
@ -49,9 +50,11 @@ option(YUZU_TESTS "Compile tests" "${BUILD_TESTING}")
|
|||
|
||||
option(YUZU_USE_PRECOMPILED_HEADERS "Use precompiled headers" ON)
|
||||
|
||||
cmake_dependent_option(YUZU_ROOM "Compile LDN room server" ON "NOT ANDROID" OFF)
|
||||
option(YUZU_DOWNLOAD_ANDROID_VVL "Download validation layer binary for android" ON)
|
||||
|
||||
CMAKE_DEPENDENT_OPTION(YUZU_CRASH_DUMPS "Compile Windows crash dump (Minidump) support" OFF "WIN32" OFF)
|
||||
CMAKE_DEPENDENT_OPTION(YUZU_ROOM "Compile LDN room server" ON "NOT ANDROID" OFF)
|
||||
|
||||
CMAKE_DEPENDENT_OPTION(YUZU_CRASH_DUMPS "Compile crash dump (Minidump) support" OFF "WIN32 OR LINUX" OFF)
|
||||
|
||||
option(YUZU_USE_BUNDLED_VCPKG "Use vcpkg for yuzu dependencies" "${MSVC}")
|
||||
|
||||
|
|
@ -61,49 +64,44 @@ option(YUZU_ENABLE_LTO "Enable link-time optimization" OFF)
|
|||
|
||||
option(YUZU_DOWNLOAD_TIME_ZONE_DATA "Always download time zone binaries" OFF)
|
||||
|
||||
option(YUZU_ENABLE_PORTABLE "Allow yuzu to enable portable mode if a user folder is found in the CWD" ON)
|
||||
|
||||
CMAKE_DEPENDENT_OPTION(YUZU_USE_FASTER_LD "Check if a faster linker is available" ON "NOT WIN32" OFF)
|
||||
|
||||
# On Android, fetch and compile libcxx before doing anything else
|
||||
CMAKE_DEPENDENT_OPTION(USE_SYSTEM_MOLTENVK "Use the system MoltenVK lib (instead of the bundled one)" OFF "APPLE" OFF)
|
||||
|
||||
set(DEFAULT_ENABLE_OPENSSL ON)
|
||||
if (ANDROID OR WIN32 OR APPLE)
|
||||
# - Windows defaults to the Schannel backend.
|
||||
# - macOS defaults to the SecureTransport backend.
|
||||
# - Android currently has no SSL backend as the NDK doesn't include any SSL
|
||||
# library; a proper 'native' backend would have to go through Java.
|
||||
# But you can force builds for those platforms to use OpenSSL if you have
|
||||
# your own copy of it.
|
||||
set(DEFAULT_ENABLE_OPENSSL OFF)
|
||||
endif()
|
||||
option(ENABLE_OPENSSL "Enable OpenSSL backend for ISslConnection" ${DEFAULT_ENABLE_OPENSSL})
|
||||
|
||||
if (ANDROID AND YUZU_DOWNLOAD_ANDROID_VVL)
|
||||
set(vvl_version "sdk-1.3.261.1")
|
||||
set(vvl_zip_file "${CMAKE_BINARY_DIR}/externals/vvl-android.zip")
|
||||
if (NOT EXISTS "${vvl_zip_file}")
|
||||
# Download and extract validation layer release to externals directory
|
||||
set(vvl_base_url "https://github.com/KhronosGroup/Vulkan-ValidationLayers/releases/download")
|
||||
file(DOWNLOAD "${vvl_base_url}/${vvl_version}/android-binaries-${vvl_version}-android.zip"
|
||||
"${vvl_zip_file}" SHOW_PROGRESS)
|
||||
execute_process(COMMAND ${CMAKE_COMMAND} -E tar xf "${vvl_zip_file}"
|
||||
WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/externals")
|
||||
endif()
|
||||
|
||||
# Copy the arm64 binary to src/android/app/main/jniLibs
|
||||
set(vvl_lib_path "${CMAKE_CURRENT_SOURCE_DIR}/src/android/app/src/main/jniLibs/arm64-v8a/")
|
||||
file(COPY "${CMAKE_BINARY_DIR}/externals/android-binaries-${vvl_version}/arm64-v8a/libVkLayer_khronos_validation.so"
|
||||
DESTINATION "${vvl_lib_path}")
|
||||
endif()
|
||||
|
||||
if (ANDROID)
|
||||
set(CMAKE_SKIP_INSTALL_RULES ON)
|
||||
set(LLVM_VERSION "15.0.6")
|
||||
|
||||
# Note: even though libcxx and libcxxabi have separate releases on the project page,
|
||||
# the separated releases cannot be compiled. Only in-tree builds work. Therefore we
|
||||
# must fetch the source release for the entire llvm tree.
|
||||
FetchContent_Declare(llvm
|
||||
URL "https://github.com/llvm/llvm-project/releases/download/llvmorg-${LLVM_VERSION}/llvm-project-${LLVM_VERSION}.src.tar.xz"
|
||||
URL_HASH SHA256=9d53ad04dc60cb7b30e810faf64c5ab8157dadef46c8766f67f286238256ff92
|
||||
TLS_VERIFY TRUE
|
||||
)
|
||||
FetchContent_MakeAvailable(llvm)
|
||||
|
||||
# libcxx has support for most of the range library, but it's gated behind a flag:
|
||||
add_compile_definitions(_LIBCPP_ENABLE_EXPERIMENTAL)
|
||||
|
||||
# Disable standard header inclusion
|
||||
set(ANDROID_STL "none")
|
||||
|
||||
# libcxxabi
|
||||
set(LIBCXXABI_INCLUDE_TESTS OFF)
|
||||
set(LIBCXXABI_ENABLE_SHARED FALSE)
|
||||
set(LIBCXXABI_ENABLE_STATIC TRUE)
|
||||
set(LIBCXXABI_LIBCXX_INCLUDES "${LIBCXX_TARGET_INCLUDE_DIRECTORY}" CACHE STRING "" FORCE)
|
||||
add_subdirectory("${llvm_SOURCE_DIR}/libcxxabi" "${llvm_BINARY_DIR}/libcxxabi")
|
||||
link_libraries(cxxabi_static)
|
||||
|
||||
# libcxx
|
||||
set(LIBCXX_ABI_NAMESPACE "__ndk1" CACHE STRING "" FORCE)
|
||||
set(LIBCXX_CXX_ABI "libcxxabi")
|
||||
set(LIBCXX_INCLUDE_TESTS OFF)
|
||||
set(LIBCXX_INCLUDE_BENCHMARKS OFF)
|
||||
set(LIBCXX_INCLUDE_DOCS OFF)
|
||||
set(LIBCXX_ENABLE_SHARED FALSE)
|
||||
set(LIBCXX_ENABLE_STATIC TRUE)
|
||||
set(LIBCXX_ENABLE_ASSERTIONS FALSE)
|
||||
add_subdirectory("${llvm_SOURCE_DIR}/libcxx" "${llvm_BINARY_DIR}/libcxx")
|
||||
set_target_properties(cxx-headers PROPERTIES INTERFACE_COMPILE_OPTIONS "-isystem${CMAKE_BINARY_DIR}/${LIBCXX_INSTALL_INCLUDE_DIR}")
|
||||
link_libraries(cxx_static cxx-headers)
|
||||
endif()
|
||||
|
||||
if (YUZU_USE_BUNDLED_VCPKG)
|
||||
|
|
@ -124,15 +122,31 @@ if (YUZU_USE_BUNDLED_VCPKG)
|
|||
endif()
|
||||
endif()
|
||||
|
||||
if (MSVC)
|
||||
set(VCPKG_DOWNLOADS_PATH ${PROJECT_SOURCE_DIR}/externals/vcpkg/downloads)
|
||||
set(NASM_VERSION "2.16.01")
|
||||
set(NASM_DESTINATION_PATH ${VCPKG_DOWNLOADS_PATH}/nasm-${NASM_VERSION}-win64.zip)
|
||||
set(NASM_DOWNLOAD_URL "https://github.com/yuzu-emu/ext-windows-bin/raw/master/nasm/nasm-${NASM_VERSION}-win64.zip")
|
||||
|
||||
if (NOT EXISTS ${NASM_DESTINATION_PATH})
|
||||
file(DOWNLOAD ${NASM_DOWNLOAD_URL} ${NASM_DESTINATION_PATH} SHOW_PROGRESS STATUS NASM_STATUS)
|
||||
|
||||
if (NOT NASM_STATUS EQUAL 0)
|
||||
# Warn and not fail since vcpkg is supposed to download this package for us in the first place
|
||||
message(WARNING "External nasm vcpkg package download from ${NASM_DOWNLOAD_URL} failed with status ${NASM_STATUS}")
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if (YUZU_TESTS)
|
||||
list(APPEND VCPKG_MANIFEST_FEATURES "yuzu-tests")
|
||||
endif()
|
||||
if (YUZU_CRASH_DUMPS)
|
||||
list(APPEND VCPKG_MANIFEST_FEATURES "dbghelp")
|
||||
endif()
|
||||
if (ENABLE_WEB_SERVICE)
|
||||
list(APPEND VCPKG_MANIFEST_FEATURES "web-service")
|
||||
endif()
|
||||
if (ANDROID)
|
||||
list(APPEND VCPKG_MANIFEST_FEATURES "android")
|
||||
endif()
|
||||
|
||||
include(${CMAKE_SOURCE_DIR}/externals/vcpkg/scripts/buildsystems/vcpkg.cmake)
|
||||
elseif(NOT "$ENV{VCPKG_TOOLCHAIN_FILE}" STREQUAL "")
|
||||
|
|
@ -251,6 +265,11 @@ if (UNIX)
|
|||
add_definitions(-DYUZU_UNIX=1)
|
||||
endif()
|
||||
|
||||
if (ARCHITECTURE_arm64 AND (ANDROID OR ${CMAKE_SYSTEM_NAME} STREQUAL "Linux"))
|
||||
set(HAS_NCE 1)
|
||||
add_definitions(-DHAS_NCE=1)
|
||||
endif()
|
||||
|
||||
# Configure C++ standard
|
||||
# ===========================
|
||||
|
||||
|
|
@ -276,16 +295,23 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin)
|
|||
find_package(Boost 1.79.0 REQUIRED context)
|
||||
find_package(enet 1.3 MODULE)
|
||||
find_package(fmt 9 REQUIRED)
|
||||
find_package(inih 52 MODULE COMPONENTS INIReader)
|
||||
find_package(LLVM MODULE COMPONENTS Demangle)
|
||||
find_package(LLVM 17.0.2 MODULE COMPONENTS Demangle)
|
||||
find_package(lz4 REQUIRED)
|
||||
find_package(nlohmann_json 3.8 REQUIRED)
|
||||
find_package(Opus 1.3 MODULE)
|
||||
find_package(RenderDoc MODULE)
|
||||
find_package(SimpleIni MODULE)
|
||||
find_package(stb MODULE)
|
||||
find_package(VulkanMemoryAllocator CONFIG)
|
||||
find_package(ZLIB 1.2 REQUIRED)
|
||||
find_package(zstd 1.5 REQUIRED)
|
||||
|
||||
if (NOT YUZU_USE_EXTERNAL_VULKAN_HEADERS)
|
||||
find_package(Vulkan 1.3.256 REQUIRED)
|
||||
find_package(VulkanHeaders 1.3.274 REQUIRED)
|
||||
endif()
|
||||
|
||||
if (NOT YUZU_USE_EXTERNAL_VULKAN_UTILITY_LIBRARIES)
|
||||
find_package(VulkanUtilityLibraries REQUIRED)
|
||||
endif()
|
||||
|
||||
if (ENABLE_LIBUSB)
|
||||
|
|
@ -296,6 +322,10 @@ if (ARCHITECTURE_x86 OR ARCHITECTURE_x86_64)
|
|||
find_package(xbyak 6 CONFIG)
|
||||
endif()
|
||||
|
||||
if (ARCHITECTURE_arm64)
|
||||
find_package(oaknut 2.0.1 CONFIG)
|
||||
endif()
|
||||
|
||||
if (ARCHITECTURE_x86_64 OR ARCHITECTURE_arm64)
|
||||
find_package(dynarmic 6.4.0 CONFIG)
|
||||
endif()
|
||||
|
|
@ -322,6 +352,14 @@ if (MINGW)
|
|||
find_library(MSWSOCK_LIBRARY mswsock REQUIRED)
|
||||
endif()
|
||||
|
||||
if(ENABLE_OPENSSL)
|
||||
find_package(OpenSSL 1.1.1 REQUIRED)
|
||||
endif()
|
||||
|
||||
if (UNIX AND NOT APPLE)
|
||||
find_package(gamemode 1.7 MODULE)
|
||||
endif()
|
||||
|
||||
# Please consider this as a stub
|
||||
if(ENABLE_QT6 AND Qt6_LOCATION)
|
||||
list(APPEND CMAKE_PREFIX_PATH "${Qt6_LOCATION}")
|
||||
|
|
@ -342,6 +380,9 @@ function(set_yuzu_qt_components)
|
|||
if (ENABLE_QT_TRANSLATION)
|
||||
list(APPEND YUZU_QT_COMPONENTS2 LinguistTools)
|
||||
endif()
|
||||
if (USE_DISCORD_PRESENCE)
|
||||
list(APPEND YUZU_QT_COMPONENTS2 Network)
|
||||
endif()
|
||||
set(YUZU_QT_COMPONENTS ${YUZU_QT_COMPONENTS2} PARENT_SCOPE)
|
||||
endfunction(set_yuzu_qt_components)
|
||||
|
||||
|
|
@ -489,7 +530,7 @@ if (ENABLE_SDL2)
|
|||
if (YUZU_USE_BUNDLED_SDL2)
|
||||
# Detect toolchain and platform
|
||||
if ((MSVC_VERSION GREATER_EQUAL 1920 AND MSVC_VERSION LESS 1940) AND ARCHITECTURE_x86_64)
|
||||
set(SDL2_VER "SDL2-2.28.1")
|
||||
set(SDL2_VER "SDL2-2.28.2")
|
||||
else()
|
||||
message(FATAL_ERROR "No bundled SDL2 binaries for your toolchain. Disable YUZU_USE_BUNDLED_SDL2 and provide your own.")
|
||||
endif()
|
||||
|
|
@ -529,6 +570,18 @@ if (NOT YUZU_USE_BUNDLED_FFMPEG)
|
|||
find_package(FFmpeg 4.3 REQUIRED QUIET COMPONENTS ${FFmpeg_COMPONENTS})
|
||||
endif()
|
||||
|
||||
if (WIN32 AND YUZU_CRASH_DUMPS)
|
||||
set(BREAKPAD_VER "breakpad-c89f9dd")
|
||||
download_bundled_external("breakpad/" ${BREAKPAD_VER} BREAKPAD_PREFIX)
|
||||
|
||||
set(BREAKPAD_CLIENT_INCLUDE_DIR "${BREAKPAD_PREFIX}/include")
|
||||
set(BREAKPAD_CLIENT_LIBRARY "${BREAKPAD_PREFIX}/lib/libbreakpad_client.lib")
|
||||
|
||||
add_library(libbreakpad_client INTERFACE IMPORTED)
|
||||
target_link_libraries(libbreakpad_client INTERFACE "${BREAKPAD_CLIENT_LIBRARY}")
|
||||
target_include_directories(libbreakpad_client INTERFACE "${BREAKPAD_CLIENT_INCLUDE_DIR}")
|
||||
endif()
|
||||
|
||||
# Prefer the -pthread flag on Linux.
|
||||
set(THREADS_PREFER_PTHREAD_FLAG ON)
|
||||
find_package(Threads REQUIRED)
|
||||
|
|
@ -548,13 +601,6 @@ elseif (WIN32)
|
|||
# PSAPI is the Process Status API
|
||||
set(PLATFORM_LIBRARIES ${PLATFORM_LIBRARIES} psapi imm32 version)
|
||||
endif()
|
||||
|
||||
if (YUZU_CRASH_DUMPS)
|
||||
find_library(DBGHELP_LIBRARY dbghelp)
|
||||
if ("${DBGHELP_LIBRARY}" STREQUAL "DBGHELP_LIBRARY-NOTFOUND")
|
||||
message(FATAL_ERROR "YUZU_CRASH_DUMPS enabled but dbghelp library not found")
|
||||
endif()
|
||||
endif()
|
||||
elseif (CMAKE_SYSTEM_NAME MATCHES "^(Linux|kFreeBSD|GNU|SunOS)$")
|
||||
set(PLATFORM_LIBRARIES rt)
|
||||
endif()
|
||||
|
|
|
|||
|
|
@ -36,3 +36,21 @@ endif()
|
|||
message(STATUS "Using bundled binaries at ${prefix}")
|
||||
set(${prefix_var} "${prefix}" PARENT_SCOPE)
|
||||
endfunction()
|
||||
|
||||
function(download_moltenvk_external platform version)
|
||||
set(MOLTENVK_DIR "${CMAKE_BINARY_DIR}/externals/MoltenVK")
|
||||
set(MOLTENVK_TAR "${CMAKE_BINARY_DIR}/externals/MoltenVK.tar")
|
||||
if (NOT EXISTS ${MOLTENVK_DIR})
|
||||
if (NOT EXISTS ${MOLTENVK_TAR})
|
||||
file(DOWNLOAD https://github.com/KhronosGroup/MoltenVK/releases/download/${version}/MoltenVK-${platform}.tar
|
||||
${MOLTENVK_TAR} SHOW_PROGRESS)
|
||||
endif()
|
||||
|
||||
execute_process(COMMAND ${CMAKE_COMMAND} -E tar xf "${MOLTENVK_TAR}"
|
||||
WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/externals")
|
||||
endif()
|
||||
|
||||
# Add the MoltenVK library path to the prefix so find_library can locate it.
|
||||
list(APPEND CMAKE_PREFIX_PATH "${MOLTENVK_DIR}/MoltenVK/dylib/${platform}")
|
||||
set(CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} PARENT_SCOPE)
|
||||
endfunction()
|
||||
|
|
|
|||
19
CMakeModules/FindRenderDoc.cmake
Normal file
19
CMakeModules/FindRenderDoc.cmake
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# SPDX-FileCopyrightText: 2023 Alexandre Bouvier <contact@amb.tf>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
find_path(RenderDoc_INCLUDE_DIR renderdoc_app.h)
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(RenderDoc
|
||||
REQUIRED_VARS RenderDoc_INCLUDE_DIR
|
||||
)
|
||||
|
||||
if (RenderDoc_FOUND AND NOT TARGET RenderDoc::API)
|
||||
add_library(RenderDoc::API INTERFACE IMPORTED)
|
||||
set_target_properties(RenderDoc::API PROPERTIES
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${RenderDoc_INCLUDE_DIR}"
|
||||
)
|
||||
endif()
|
||||
|
||||
mark_as_advanced(RenderDoc_INCLUDE_DIR)
|
||||
21
CMakeModules/FindSimpleIni.cmake
Normal file
21
CMakeModules/FindSimpleIni.cmake
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# SPDX-FileCopyrightText: 2023 Alexandre Bouvier <contact@amb.tf>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
|
||||
find_package(SimpleIni QUIET CONFIG)
|
||||
if (SimpleIni_CONSIDERED_CONFIGS)
|
||||
find_package_handle_standard_args(SimpleIni CONFIG_MODE)
|
||||
else()
|
||||
find_package(PkgConfig QUIET)
|
||||
pkg_search_module(SIMPLEINI QUIET IMPORTED_TARGET simpleini)
|
||||
find_package_handle_standard_args(SimpleIni
|
||||
REQUIRED_VARS SIMPLEINI_INCLUDEDIR
|
||||
VERSION_VAR SIMPLEINI_VERSION
|
||||
)
|
||||
endif()
|
||||
|
||||
if (SimpleIni_FOUND AND NOT TARGET SimpleIni::SimpleIni)
|
||||
add_library(SimpleIni::SimpleIni ALIAS PkgConfig::SIMPLEINI)
|
||||
endif()
|
||||
15
CMakeModules/Findgamemode.cmake
Normal file
15
CMakeModules/Findgamemode.cmake
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# SPDX-FileCopyrightText: 2023 yuzu Emulator Project
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
find_package(PkgConfig QUIET)
|
||||
pkg_search_module(GAMEMODE QUIET IMPORTED_TARGET gamemode)
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(gamemode
|
||||
REQUIRED_VARS GAMEMODE_INCLUDEDIR
|
||||
VERSION_VAR GAMEMODE_VERSION
|
||||
)
|
||||
|
||||
if (gamemode_FOUND AND NOT TARGET gamemode::headers)
|
||||
add_library(gamemode::headers ALIAS PkgConfig::GAMEMODE)
|
||||
endif()
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
# SPDX-FileCopyrightText: 2022 Alexandre Bouvier <contact@amb.tf>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
find_package(PkgConfig QUIET)
|
||||
pkg_search_module(INIH QUIET IMPORTED_TARGET inih)
|
||||
if (INIReader IN_LIST inih_FIND_COMPONENTS)
|
||||
pkg_search_module(INIREADER QUIET IMPORTED_TARGET INIReader)
|
||||
if (INIREADER_FOUND)
|
||||
set(inih_INIReader_FOUND TRUE)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(inih
|
||||
REQUIRED_VARS INIH_LINK_LIBRARIES
|
||||
VERSION_VAR INIH_VERSION
|
||||
HANDLE_COMPONENTS
|
||||
)
|
||||
|
||||
if (inih_FOUND AND NOT TARGET inih::inih)
|
||||
add_library(inih::inih ALIAS PkgConfig::INIH)
|
||||
endif()
|
||||
|
||||
if (inih_FOUND AND inih_INIReader_FOUND AND NOT TARGET inih::INIReader)
|
||||
add_library(inih::INIReader ALIAS PkgConfig::INIREADER)
|
||||
endif()
|
||||
31
CMakeModules/Findstb.cmake
Normal file
31
CMakeModules/Findstb.cmake
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
# SPDX-FileCopyrightText: 2023 Alexandre Bouvier <contact@amb.tf>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
find_path(stb_image_INCLUDE_DIR stb_image.h PATH_SUFFIXES stb)
|
||||
find_path(stb_image_resize_INCLUDE_DIR stb_image_resize.h PATH_SUFFIXES stb)
|
||||
find_path(stb_image_write_INCLUDE_DIR stb_image_write.h PATH_SUFFIXES stb)
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(stb
|
||||
REQUIRED_VARS
|
||||
stb_image_INCLUDE_DIR
|
||||
stb_image_resize_INCLUDE_DIR
|
||||
stb_image_write_INCLUDE_DIR
|
||||
)
|
||||
|
||||
if (stb_FOUND AND NOT TARGET stb::headers)
|
||||
add_library(stb::headers INTERFACE IMPORTED)
|
||||
set_property(TARGET stb::headers PROPERTY
|
||||
INTERFACE_INCLUDE_DIRECTORIES
|
||||
"${stb_image_INCLUDE_DIR}"
|
||||
"${stb_image_resize_INCLUDE_DIR}"
|
||||
"${stb_image_write_INCLUDE_DIR}"
|
||||
)
|
||||
endif()
|
||||
|
||||
mark_as_advanced(
|
||||
stb_image_INCLUDE_DIR
|
||||
stb_image_resize_INCLUDE_DIR
|
||||
stb_image_write_INCLUDE_DIR
|
||||
)
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
# SPDX-FileCopyrightText: 2019 yuzu Emulator Project
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
# Gets a UTC timstamp and sets the provided variable to it
|
||||
# Gets a UTC timestamp and sets the provided variable to it
|
||||
function(get_timestamp _var)
|
||||
string(TIMESTAMP timestamp UTC)
|
||||
set(${_var} "${timestamp}" PARENT_SCOPE)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
Copyright (c) <year> <owner>
|
||||
Copyright (c) <year> <owner>
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
Copyright (c) <year> <owner>.
|
||||
Copyright (c) <year> <owner>.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
||||
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ Mozilla Public License Version 2.0
|
|||
means any form of the work other than Source Code Form.
|
||||
|
||||
1.7. "Larger Work"
|
||||
means a work that combines Covered Software with other material, in
|
||||
means a work that combines Covered Software with other material, in
|
||||
a separate file or files, that is not Covered Software.
|
||||
|
||||
1.8. "License"
|
||||
|
|
|
|||
14
README.md
14
README.md
|
|
@ -1,3 +1,15 @@
|
|||
| Pull Request | Commit | Title | Author | Merged? |
|
||||
|----|----|----|----|----|
|
||||
| [12461](https://github.com/yuzu-emu/yuzu//pull/12461) | [`7464cae24`](https://github.com/yuzu-emu/yuzu//pull/12461/files) | Rework Nvdec and VIC to fix out-of-order videos, and speed up decoding. | [Kelebek1](https://github.com/Kelebek1/) | Yes |
|
||||
| [13018](https://github.com/yuzu-emu/yuzu//pull/13018) | [`01cbc638a`](https://github.com/yuzu-emu/yuzu//pull/13018/files) | am: rewrite part 2 | [liamwhite](https://github.com/liamwhite/) | Yes |
|
||||
| [13174](https://github.com/yuzu-emu/yuzu//pull/13174) | [`7d1284826`](https://github.com/yuzu-emu/yuzu//pull/13174/files) | glue/time: Remove global variables | [FearlessTobi](https://github.com/FearlessTobi/) | Yes |
|
||||
| [13177](https://github.com/yuzu-emu/yuzu//pull/13177) | [`f5cc94f05`](https://github.com/yuzu-emu/yuzu//pull/13177/files) | vfs: misc performance improvements | [liamwhite](https://github.com/liamwhite/) | Yes |
|
||||
|
||||
|
||||
End of merge log. You can find the original README.md below the break.
|
||||
|
||||
-----
|
||||
|
||||
<!--
|
||||
SPDX-FileCopyrightText: 2018 yuzu Emulator Project
|
||||
SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
|
@ -40,7 +52,7 @@ It is written in C++ with portability in mind, and we actively maintain builds f
|
|||
|
||||
The emulator is capable of running most commercial games at full speed, provided you meet the [necessary hardware requirements](https://yuzu-emu.org/help/quickstart/#hardware-requirements).
|
||||
|
||||
For a full list of games yuzu support, please visit our [Compatibility page](https://yuzu-emu.org/game/)
|
||||
For a full list of games yuzu supports, please visit our [Compatibility page](https://yuzu-emu.org/game/).
|
||||
|
||||
Check out our [website](https://yuzu-emu.org/) for the latest news on exciting features, monthly progress reports, and more!
|
||||
|
||||
|
|
|
|||
19
dist/72-yuzu-input.rules
vendored
Normal file
19
dist/72-yuzu-input.rules
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# SPDX-FileCopyrightText: 2023 yuzu Emulator Project
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
# Allow systemd-logind to manage user access to hidraw with this file
|
||||
# On most systems, this file should be installed to /etc/udev/rules.d/72-yuzu-input.rules
|
||||
# Consult your distro if this is not the case
|
||||
|
||||
# Switch Pro Controller (USB/Bluetooth)
|
||||
KERNEL=="hidraw*", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="2009", MODE="0660", TAG+="uaccess"
|
||||
KERNEL=="hidraw*", KERNELS=="*057e:2009*", MODE="0660", TAG+="uaccess"
|
||||
|
||||
# Joy-Con L (Bluetooth)
|
||||
KERNEL=="hidraw*", KERNELS=="*057e:2006*", MODE="0660", TAG+="uaccess"
|
||||
|
||||
# Joy-Con R (Bluetooth)
|
||||
KERNEL=="hidraw*", KERNELS=="*057e:2007*", MODE="0660", TAG+="uaccess"
|
||||
|
||||
# Joy-Con Charging Grip (USB)
|
||||
KERNEL=="hidraw*", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="200e", MODE="0660", TAG+="uaccess"
|
||||
6
dist/languages/.tx/config
vendored
6
dist/languages/.tx/config
vendored
|
|
@ -6,3 +6,9 @@ file_filter = <lang>.ts
|
|||
source_file = en.ts
|
||||
source_lang = en
|
||||
type = QT
|
||||
|
||||
[o:yuzu-emulator:p:yuzu:r:yuzu-android]
|
||||
file_filter = ../../src/android/app/src/main/res/values-<lang>/strings.xml
|
||||
source_file = ../../src/android/app/src/main/res/values/strings.xml
|
||||
type = ANDROID
|
||||
lang_map = ja_JP:ja, ko_KR:ko, pt_BR:pt-rBR, pt_PT:pt-rPT, ru_RU:ru, vi_VN:vi, zh_CN:zh-rCN, zh_TW:zh-rTW
|
||||
|
|
|
|||
8769
dist/languages/ar.ts
vendored
Normal file
8769
dist/languages/ar.ts
vendored
Normal file
File diff suppressed because it is too large
Load diff
5112
dist/languages/ca.ts
vendored
5112
dist/languages/ca.ts
vendored
File diff suppressed because it is too large
Load diff
5060
dist/languages/cs.ts
vendored
5060
dist/languages/cs.ts
vendored
File diff suppressed because it is too large
Load diff
4905
dist/languages/da.ts
vendored
4905
dist/languages/da.ts
vendored
File diff suppressed because it is too large
Load diff
5046
dist/languages/de.ts
vendored
5046
dist/languages/de.ts
vendored
File diff suppressed because it is too large
Load diff
4937
dist/languages/el.ts
vendored
4937
dist/languages/el.ts
vendored
File diff suppressed because it is too large
Load diff
5019
dist/languages/es.ts
vendored
5019
dist/languages/es.ts
vendored
File diff suppressed because it is too large
Load diff
10
dist/languages/fi.ts
vendored
10
dist/languages/fi.ts
vendored
|
|
@ -4684,10 +4684,10 @@ Please, only use this feature to install updates and DLC.</source>
|
|||
</message>
|
||||
<message>
|
||||
<location filename="../../src/yuzu/main.cpp" line="3386"/>
|
||||
<source>You are about to force rederive all of your keys.
|
||||
If you do not know what this means or what you are doing,
|
||||
this is a potentially destructive action.
|
||||
Please make sure this is what you want
|
||||
<source>You are about to force rederive all of your keys.
|
||||
If you do not know what this means or what you are doing,
|
||||
this is a potentially destructive action.
|
||||
Please make sure this is what you want
|
||||
and optionally make backups.
|
||||
|
||||
This will delete your autogenerated key files and re-run the key derivation module.</source>
|
||||
|
|
@ -4731,7 +4731,7 @@ Tämä poistaa automaattisesti generoidut avaimet ja ajaa avainten laskentamoduu
|
|||
<message>
|
||||
<location filename="../../src/yuzu/main.cpp" line="3441"/>
|
||||
<source>Deriving keys...
|
||||
This may take up to a minute depending
|
||||
This may take up to a minute depending
|
||||
on your system's performance.</source>
|
||||
<translation>Johdetaan avaimia...
|
||||
Tähän voi kulua jonkin aikaa
|
||||
|
|
|
|||
5117
dist/languages/fr.ts
vendored
5117
dist/languages/fr.ts
vendored
File diff suppressed because it is too large
Load diff
8831
dist/languages/hu.ts
vendored
Normal file
8831
dist/languages/hu.ts
vendored
Normal file
File diff suppressed because it is too large
Load diff
5296
dist/languages/id.ts
vendored
5296
dist/languages/id.ts
vendored
File diff suppressed because it is too large
Load diff
5116
dist/languages/it.ts
vendored
5116
dist/languages/it.ts
vendored
File diff suppressed because it is too large
Load diff
5108
dist/languages/ja_JP.ts
vendored
5108
dist/languages/ja_JP.ts
vendored
File diff suppressed because it is too large
Load diff
4944
dist/languages/ko_KR.ts
vendored
4944
dist/languages/ko_KR.ts
vendored
File diff suppressed because it is too large
Load diff
4907
dist/languages/nb.ts
vendored
4907
dist/languages/nb.ts
vendored
File diff suppressed because it is too large
Load diff
4949
dist/languages/nl.ts
vendored
4949
dist/languages/nl.ts
vendored
File diff suppressed because it is too large
Load diff
4889
dist/languages/pl.ts
vendored
4889
dist/languages/pl.ts
vendored
File diff suppressed because it is too large
Load diff
5242
dist/languages/pt_BR.ts
vendored
5242
dist/languages/pt_BR.ts
vendored
File diff suppressed because it is too large
Load diff
5097
dist/languages/pt_PT.ts
vendored
5097
dist/languages/pt_PT.ts
vendored
File diff suppressed because it is too large
Load diff
4988
dist/languages/ru_RU.ts
vendored
4988
dist/languages/ru_RU.ts
vendored
File diff suppressed because it is too large
Load diff
4868
dist/languages/sv.ts
vendored
4868
dist/languages/sv.ts
vendored
File diff suppressed because it is too large
Load diff
4920
dist/languages/tr_TR.ts
vendored
4920
dist/languages/tr_TR.ts
vendored
File diff suppressed because it is too large
Load diff
4939
dist/languages/uk.ts
vendored
4939
dist/languages/uk.ts
vendored
File diff suppressed because it is too large
Load diff
6871
dist/languages/vi.ts
vendored
6871
dist/languages/vi.ts
vendored
File diff suppressed because it is too large
Load diff
6272
dist/languages/vi_VN.ts
vendored
6272
dist/languages/vi_VN.ts
vendored
File diff suppressed because it is too large
Load diff
4981
dist/languages/zh_CN.ts
vendored
4981
dist/languages/zh_CN.ts
vendored
File diff suppressed because it is too large
Load diff
5160
dist/languages/zh_TW.ts
vendored
5160
dist/languages/zh_TW.ts
vendored
File diff suppressed because it is too large
Load diff
1
dist/org.yuzu_emu.yuzu.desktop
vendored
1
dist/org.yuzu_emu.yuzu.desktop
vendored
|
|
@ -13,3 +13,4 @@ Exec=yuzu %f
|
|||
Categories=Game;Emulator;Qt;
|
||||
MimeType=application/x-nx-nro;application/x-nx-nso;application/x-nx-nsp;application/x-nx-xci;
|
||||
Keywords=Nintendo;Switch;
|
||||
StartupWMClass=yuzu
|
||||
|
|
|
|||
9
dist/qt_themes/default/style.qss
vendored
9
dist/qt_themes/default/style.qss
vendored
|
|
@ -78,6 +78,11 @@ QPushButton#buttonRefreshDevices {
|
|||
max-height: 21px;
|
||||
}
|
||||
|
||||
QPushButton#button_reset_defaults {
|
||||
min-width: 57px;
|
||||
padding: 4px 8px;
|
||||
}
|
||||
|
||||
QWidget#bottomPerGameInput,
|
||||
QWidget#topControllerApplet,
|
||||
QWidget#bottomControllerApplet,
|
||||
|
|
@ -115,6 +120,10 @@ QWidget#connectedControllers {
|
|||
background: transparent;
|
||||
}
|
||||
|
||||
QWidget#closeButtons {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
QWidget#playersSupported,
|
||||
QWidget#controllersSupported,
|
||||
QWidget#controllerSupported1,
|
||||
|
|
|
|||
4
dist/qt_themes/qdarkstyle/style.qss
vendored
4
dist/qt_themes/qdarkstyle/style.qss
vendored
|
|
@ -1380,6 +1380,10 @@ QWidget#connectedControllers {
|
|||
background: transparent;
|
||||
}
|
||||
|
||||
QWidget#closeButtons {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
QWidget#playersSupported,
|
||||
QWidget#controllersSupported,
|
||||
QWidget#controllerSupported1,
|
||||
|
|
|
|||
|
|
@ -2228,6 +2228,10 @@ QPushButton#buttonRefreshDevices {
|
|||
padding: 0px 0px;
|
||||
}
|
||||
|
||||
QPushButton#button_reset_defaults {
|
||||
padding: 3px 6px;
|
||||
}
|
||||
|
||||
QSpinBox#spinboxLStickRange,
|
||||
QSpinBox#spinboxRStickRange,
|
||||
QSpinBox#vibrationSpinPlayer1,
|
||||
|
|
@ -2301,6 +2305,10 @@ QWidget#connectedControllers {
|
|||
background: transparent;
|
||||
}
|
||||
|
||||
QWidget#closeButtons {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
QWidget#playersSupported,
|
||||
QWidget#controllersSupported,
|
||||
QWidget#controllerSupported1,
|
||||
|
|
|
|||
174
externals/CMakeLists.txt
vendored
174
externals/CMakeLists.txt
vendored
|
|
@ -14,11 +14,16 @@ set(BUILD_SHARED_LIBS OFF)
|
|||
# Skip install rules for all externals
|
||||
set_directory_properties(PROPERTIES EXCLUDE_FROM_ALL ON)
|
||||
|
||||
# xbyak
|
||||
# Xbyak (also used by Dynarmic, so needs to be added first)
|
||||
if ((ARCHITECTURE_x86 OR ARCHITECTURE_x86_64) AND NOT TARGET xbyak::xbyak)
|
||||
add_subdirectory(xbyak)
|
||||
endif()
|
||||
|
||||
# Oaknut (also used by Dynarmic, so needs to be added first)
|
||||
if (ARCHITECTURE_arm64 AND NOT TARGET merry::oaknut)
|
||||
add_subdirectory(oaknut)
|
||||
endif()
|
||||
|
||||
# Dynarmic
|
||||
if ((ARCHITECTURE_x86_64 OR ARCHITECTURE_arm64) AND NOT TARGET dynarmic::dynarmic)
|
||||
set(DYNARMIC_IGNORE_ASSERTS ON)
|
||||
|
|
@ -34,14 +39,14 @@ endif()
|
|||
# Glad
|
||||
add_subdirectory(glad)
|
||||
|
||||
# inih
|
||||
if (NOT TARGET inih::INIReader)
|
||||
add_subdirectory(inih)
|
||||
endif()
|
||||
|
||||
# mbedtls
|
||||
add_subdirectory(mbedtls)
|
||||
target_include_directories(mbedtls PUBLIC ./mbedtls/include)
|
||||
if (NOT MSVC)
|
||||
target_compile_options(mbedcrypto PRIVATE
|
||||
-Wno-unused-but-set-variable
|
||||
-Wno-string-concatenation)
|
||||
endif()
|
||||
|
||||
# MicroProfile
|
||||
add_library(microprofile INTERFACE)
|
||||
|
|
@ -94,6 +99,12 @@ if (ENABLE_CUBEB AND NOT TARGET cubeb::cubeb)
|
|||
set(BUILD_TOOLS OFF)
|
||||
add_subdirectory(cubeb)
|
||||
add_library(cubeb::cubeb ALIAS cubeb)
|
||||
if (NOT MSVC)
|
||||
if (TARGET speex)
|
||||
target_compile_options(speex PRIVATE -Wno-sign-compare)
|
||||
endif()
|
||||
target_compile_options(cubeb PRIVATE -Wno-implicit-const-int-float-conversion)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# DiscordRPC
|
||||
|
|
@ -123,6 +134,10 @@ endif()
|
|||
|
||||
# Opus
|
||||
if (NOT TARGET Opus::opus)
|
||||
set(OPUS_BUILD_TESTING OFF)
|
||||
set(OPUS_BUILD_PROGRAMS OFF)
|
||||
set(OPUS_INSTALL_PKG_CONFIG_MODULE OFF)
|
||||
set(OPUS_INSTALL_CMAKE_CONFIG_MODULE OFF)
|
||||
add_subdirectory(opus)
|
||||
endif()
|
||||
|
||||
|
|
@ -140,28 +155,169 @@ if (YUZU_USE_EXTERNAL_VULKAN_HEADERS)
|
|||
add_subdirectory(Vulkan-Headers)
|
||||
endif()
|
||||
|
||||
# Vulkan-Utility-Libraries
|
||||
if (YUZU_USE_EXTERNAL_VULKAN_UTILITY_LIBRARIES)
|
||||
add_subdirectory(Vulkan-Utility-Libraries)
|
||||
endif()
|
||||
|
||||
# TZDB (Time Zone Database)
|
||||
add_subdirectory(nx_tzdb)
|
||||
|
||||
# VMA
|
||||
add_library(vma vma/vma.cpp)
|
||||
target_include_directories(vma PUBLIC ./vma/VulkanMemoryAllocator/include)
|
||||
target_link_libraries(vma PRIVATE Vulkan::Headers)
|
||||
if (NOT TARGET GPUOpen::VulkanMemoryAllocator)
|
||||
add_subdirectory(VulkanMemoryAllocator)
|
||||
endif()
|
||||
|
||||
if (NOT TARGET LLVM::Demangle)
|
||||
add_library(demangle demangle/ItaniumDemangle.cpp)
|
||||
target_include_directories(demangle PUBLIC ./demangle)
|
||||
if (NOT MSVC)
|
||||
target_compile_options(demangle PRIVATE -Wno-deprecated-declarations) # std::is_pod
|
||||
endif()
|
||||
add_library(LLVM::Demangle ALIAS demangle)
|
||||
endif()
|
||||
|
||||
add_library(stb stb/stb_dxt.cpp)
|
||||
target_include_directories(stb PUBLIC ./stb)
|
||||
|
||||
if (NOT TARGET stb::headers)
|
||||
add_library(stb::headers ALIAS stb)
|
||||
endif()
|
||||
|
||||
add_library(tz tz/tz/tz.cpp)
|
||||
target_include_directories(tz PUBLIC ./tz)
|
||||
|
||||
add_library(bc_decoder bc_decoder/bc_decoder.cpp)
|
||||
target_include_directories(bc_decoder PUBLIC ./bc_decoder)
|
||||
|
||||
if (NOT TARGET RenderDoc::API)
|
||||
add_library(renderdoc INTERFACE)
|
||||
target_include_directories(renderdoc SYSTEM INTERFACE ./renderdoc)
|
||||
add_library(RenderDoc::API ALIAS renderdoc)
|
||||
endif()
|
||||
|
||||
if (ANDROID)
|
||||
if (ARCHITECTURE_arm64)
|
||||
add_subdirectory(libadrenotools)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if (UNIX AND NOT APPLE AND NOT TARGET gamemode::headers)
|
||||
add_library(gamemode INTERFACE)
|
||||
target_include_directories(gamemode INTERFACE gamemode)
|
||||
add_library(gamemode::headers ALIAS gamemode)
|
||||
endif()
|
||||
|
||||
# Breakpad
|
||||
# https://github.com/microsoft/vcpkg/blob/master/ports/breakpad/CMakeLists.txt
|
||||
if (YUZU_CRASH_DUMPS AND NOT TARGET libbreakpad_client)
|
||||
set(BREAKPAD_WIN32_DEFINES
|
||||
NOMINMAX
|
||||
UNICODE
|
||||
WIN32_LEAN_AND_MEAN
|
||||
_CRT_SECURE_NO_WARNINGS
|
||||
_CRT_SECURE_NO_DEPRECATE
|
||||
_CRT_NONSTDC_NO_DEPRECATE
|
||||
)
|
||||
|
||||
# libbreakpad
|
||||
add_library(libbreakpad STATIC)
|
||||
file(GLOB_RECURSE LIBBREAKPAD_SOURCES breakpad/src/processor/*.cc)
|
||||
file(GLOB_RECURSE LIBDISASM_SOURCES breakpad/src/third_party/libdisasm/*.c)
|
||||
list(FILTER LIBBREAKPAD_SOURCES EXCLUDE REGEX "_unittest|_selftest|synth_minidump|/tests|/testdata|/solaris|microdump_stackwalk|minidump_dump|minidump_stackwalk")
|
||||
if (WIN32)
|
||||
list(FILTER LIBBREAKPAD_SOURCES EXCLUDE REGEX "/linux|/mac|/android")
|
||||
target_compile_definitions(libbreakpad PRIVATE ${BREAKPAD_WIN32_DEFINES})
|
||||
target_include_directories(libbreakpad PRIVATE "${CMAKE_GENERATOR_INSTANCE}/DIA SDK/include")
|
||||
elseif (APPLE)
|
||||
list(FILTER LIBBREAKPAD_SOURCES EXCLUDE REGEX "/linux|/windows|/android")
|
||||
else()
|
||||
list(FILTER LIBBREAKPAD_SOURCES EXCLUDE REGEX "/mac|/windows|/android")
|
||||
endif()
|
||||
target_sources(libbreakpad PRIVATE ${LIBBREAKPAD_SOURCES} ${LIBDISASM_SOURCES})
|
||||
target_include_directories(libbreakpad
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/breakpad/src
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/breakpad/src/third_party/libdisasm
|
||||
)
|
||||
|
||||
# libbreakpad_client
|
||||
add_library(libbreakpad_client STATIC)
|
||||
file(GLOB LIBBREAKPAD_COMMON_SOURCES breakpad/src/common/*.cc breakpad/src/common/*.c breakpad/src/client/*.cc)
|
||||
|
||||
if (WIN32)
|
||||
file(GLOB_RECURSE LIBBREAKPAD_CLIENT_SOURCES breakpad/src/client/windows/*.cc breakpad/src/common/windows/*.cc)
|
||||
list(FILTER LIBBREAKPAD_COMMON_SOURCES EXCLUDE REGEX "language.cc|path_helper.cc|stabs_to_module.cc|stabs_reader.cc|minidump_file_writer.cc")
|
||||
target_include_directories(libbreakpad_client PRIVATE "${CMAKE_GENERATOR_INSTANCE}/DIA SDK/include")
|
||||
target_compile_definitions(libbreakpad_client PRIVATE ${BREAKPAD_WIN32_DEFINES})
|
||||
elseif (APPLE)
|
||||
target_compile_definitions(libbreakpad_client PRIVATE HAVE_MACH_O_NLIST_H)
|
||||
file(GLOB_RECURSE LIBBREAKPAD_CLIENT_SOURCES breakpad/src/client/mac/*.cc breakpad/src/common/mac/*.cc)
|
||||
list(APPEND LIBBREAKPAD_CLIENT_SOURCES breakpad/src/common/mac/MachIPC.mm)
|
||||
else()
|
||||
target_compile_definitions(libbreakpad_client PUBLIC -DHAVE_A_OUT_H)
|
||||
file(GLOB_RECURSE LIBBREAKPAD_CLIENT_SOURCES breakpad/src/client/linux/*.cc breakpad/src/common/linux/*.cc)
|
||||
endif()
|
||||
list(APPEND LIBBREAKPAD_CLIENT_SOURCES ${LIBBREAKPAD_COMMON_SOURCES})
|
||||
list(FILTER LIBBREAKPAD_CLIENT_SOURCES EXCLUDE REGEX "/sender|/tests|/unittests|/testcases|_unittest|_test")
|
||||
target_sources(libbreakpad_client PRIVATE ${LIBBREAKPAD_CLIENT_SOURCES})
|
||||
target_include_directories(libbreakpad_client PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/breakpad/src)
|
||||
|
||||
if (WIN32)
|
||||
target_link_libraries(libbreakpad_client PRIVATE wininet.lib)
|
||||
elseif (APPLE)
|
||||
find_library(CoreFoundation_FRAMEWORK CoreFoundation)
|
||||
target_link_libraries(libbreakpad_client PRIVATE ${CoreFoundation_FRAMEWORK})
|
||||
else()
|
||||
find_library(PTHREAD_LIBRARIES pthread)
|
||||
target_compile_definitions(libbreakpad_client PRIVATE HAVE_GETCONTEXT=1)
|
||||
if (PTHREAD_LIBRARIES)
|
||||
target_link_libraries(libbreakpad_client PRIVATE ${PTHREAD_LIBRARIES})
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Host tools for symbol processing
|
||||
if (LINUX)
|
||||
find_package(ZLIB REQUIRED)
|
||||
|
||||
add_executable(minidump_stackwalk breakpad/src/processor/minidump_stackwalk.cc)
|
||||
target_link_libraries(minidump_stackwalk PRIVATE libbreakpad libbreakpad_client)
|
||||
|
||||
add_executable(dump_syms
|
||||
breakpad/src/common/dwarf_cfi_to_module.cc
|
||||
breakpad/src/common/dwarf_cu_to_module.cc
|
||||
breakpad/src/common/dwarf_line_to_module.cc
|
||||
breakpad/src/common/dwarf_range_list_handler.cc
|
||||
breakpad/src/common/language.cc
|
||||
breakpad/src/common/module.cc
|
||||
breakpad/src/common/path_helper.cc
|
||||
breakpad/src/common/stabs_reader.cc
|
||||
breakpad/src/common/stabs_to_module.cc
|
||||
breakpad/src/common/dwarf/bytereader.cc
|
||||
breakpad/src/common/dwarf/dwarf2diehandler.cc
|
||||
breakpad/src/common/dwarf/dwarf2reader.cc
|
||||
breakpad/src/common/dwarf/elf_reader.cc
|
||||
breakpad/src/common/linux/crc32.cc
|
||||
breakpad/src/common/linux/dump_symbols.cc
|
||||
breakpad/src/common/linux/elf_symbols_to_module.cc
|
||||
breakpad/src/common/linux/elfutils.cc
|
||||
breakpad/src/common/linux/file_id.cc
|
||||
breakpad/src/common/linux/linux_libc_support.cc
|
||||
breakpad/src/common/linux/memory_mapped_file.cc
|
||||
breakpad/src/common/linux/safe_readlink.cc
|
||||
breakpad/src/tools/linux/dump_syms/dump_syms.cc)
|
||||
target_link_libraries(dump_syms PRIVATE libbreakpad_client ZLIB::ZLIB)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# SimpleIni
|
||||
if (NOT TARGET SimpleIni::SimpleIni)
|
||||
add_subdirectory(simpleini)
|
||||
endif()
|
||||
|
||||
# sse2neon
|
||||
if (ARCHITECTURE_arm64 AND NOT TARGET sse2neon)
|
||||
add_library(sse2neon INTERFACE)
|
||||
target_include_directories(sse2neon INTERFACE sse2neon)
|
||||
endif()
|
||||
|
||||
|
|
|
|||
2
externals/SDL
vendored
2
externals/SDL
vendored
|
|
@ -1 +1 @@
|
|||
Subproject commit 116a5344ff4e8b8166eac2db540cd6578b4ba02e
|
||||
Subproject commit cc016b0046d563287f0aa9f09b958b5e70d43696
|
||||
2
externals/Vulkan-Headers
vendored
2
externals/Vulkan-Headers
vendored
|
|
@ -1 +1 @@
|
|||
Subproject commit ed857118e243fdc0f3a100f00ac9919e874cfe63
|
||||
Subproject commit 80207f9da86423ce33aff8328a792fd715f3c08f
|
||||
1
externals/Vulkan-Utility-Libraries
vendored
Submodule
1
externals/Vulkan-Utility-Libraries
vendored
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 524f8910d0e4a5f2ec5961996b23e5b74b95cb1d
|
||||
1
externals/VulkanMemoryAllocator
vendored
Submodule
1
externals/VulkanMemoryAllocator
vendored
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 2f382df218d7e8516dee3b3caccb819a62b571a2
|
||||
1
externals/breakpad
vendored
Submodule
1
externals/breakpad
vendored
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit c89f9dddc793f19910ef06c13e4fd240da4e7a59
|
||||
2
externals/cpp-httplib
vendored
2
externals/cpp-httplib
vendored
|
|
@ -1 +1 @@
|
|||
Subproject commit 6d963fbe8d415399d65e94db7910bbd22fe3741c
|
||||
Subproject commit a609330e4c6374f741d3b369269f7848255e1954
|
||||
2
externals/cpp-jwt
vendored
2
externals/cpp-jwt
vendored
|
|
@ -1 +1 @@
|
|||
Subproject commit e12ef06218596b52d9b5d6e1639484866a8e7067
|
||||
Subproject commit 10ef5735d842b31025f1257ae78899f50a40fb14
|
||||
171
externals/demangle/ItaniumDemangle.cpp
vendored
171
externals/demangle/ItaniumDemangle.cpp
vendored
|
|
@ -20,9 +20,7 @@
|
|||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <functional>
|
||||
#include <numeric>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
using namespace llvm;
|
||||
using namespace llvm::itanium_demangle;
|
||||
|
|
@ -81,8 +79,8 @@ struct DumpVisitor {
|
|||
}
|
||||
|
||||
void printStr(const char *S) { fprintf(stderr, "%s", S); }
|
||||
void print(StringView SV) {
|
||||
fprintf(stderr, "\"%.*s\"", (int)SV.size(), SV.begin());
|
||||
void print(std::string_view SV) {
|
||||
fprintf(stderr, "\"%.*s\"", (int)SV.size(), SV.data());
|
||||
}
|
||||
void print(const Node *N) {
|
||||
if (N)
|
||||
|
|
@ -90,14 +88,6 @@ struct DumpVisitor {
|
|||
else
|
||||
printStr("<null>");
|
||||
}
|
||||
void print(NodeOrString NS) {
|
||||
if (NS.isNode())
|
||||
print(NS.asNode());
|
||||
else if (NS.isString())
|
||||
print(NS.asString());
|
||||
else
|
||||
printStr("NodeOrString()");
|
||||
}
|
||||
void print(NodeArray A) {
|
||||
++Depth;
|
||||
printStr("{");
|
||||
|
|
@ -116,13 +106,11 @@ struct DumpVisitor {
|
|||
// Overload used when T is exactly 'bool', not merely convertible to 'bool'.
|
||||
void print(bool B) { printStr(B ? "true" : "false"); }
|
||||
|
||||
template <class T>
|
||||
typename std::enable_if<std::is_unsigned<T>::value>::type print(T N) {
|
||||
template <class T> std::enable_if_t<std::is_unsigned<T>::value> print(T N) {
|
||||
fprintf(stderr, "%llu", (unsigned long long)N);
|
||||
}
|
||||
|
||||
template <class T>
|
||||
typename std::enable_if<std::is_signed<T>::value>::type print(T N) {
|
||||
template <class T> std::enable_if_t<std::is_signed<T>::value> print(T N) {
|
||||
fprintf(stderr, "%lld", (long long)N);
|
||||
}
|
||||
|
||||
|
|
@ -185,6 +173,50 @@ struct DumpVisitor {
|
|||
return printStr("TemplateParamKind::Template");
|
||||
}
|
||||
}
|
||||
void print(Node::Prec P) {
|
||||
switch (P) {
|
||||
case Node::Prec::Primary:
|
||||
return printStr("Node::Prec::Primary");
|
||||
case Node::Prec::Postfix:
|
||||
return printStr("Node::Prec::Postfix");
|
||||
case Node::Prec::Unary:
|
||||
return printStr("Node::Prec::Unary");
|
||||
case Node::Prec::Cast:
|
||||
return printStr("Node::Prec::Cast");
|
||||
case Node::Prec::PtrMem:
|
||||
return printStr("Node::Prec::PtrMem");
|
||||
case Node::Prec::Multiplicative:
|
||||
return printStr("Node::Prec::Multiplicative");
|
||||
case Node::Prec::Additive:
|
||||
return printStr("Node::Prec::Additive");
|
||||
case Node::Prec::Shift:
|
||||
return printStr("Node::Prec::Shift");
|
||||
case Node::Prec::Spaceship:
|
||||
return printStr("Node::Prec::Spaceship");
|
||||
case Node::Prec::Relational:
|
||||
return printStr("Node::Prec::Relational");
|
||||
case Node::Prec::Equality:
|
||||
return printStr("Node::Prec::Equality");
|
||||
case Node::Prec::And:
|
||||
return printStr("Node::Prec::And");
|
||||
case Node::Prec::Xor:
|
||||
return printStr("Node::Prec::Xor");
|
||||
case Node::Prec::Ior:
|
||||
return printStr("Node::Prec::Ior");
|
||||
case Node::Prec::AndIf:
|
||||
return printStr("Node::Prec::AndIf");
|
||||
case Node::Prec::OrIf:
|
||||
return printStr("Node::Prec::OrIf");
|
||||
case Node::Prec::Conditional:
|
||||
return printStr("Node::Prec::Conditional");
|
||||
case Node::Prec::Assign:
|
||||
return printStr("Node::Prec::Assign");
|
||||
case Node::Prec::Comma:
|
||||
return printStr("Node::Prec::Comma");
|
||||
case Node::Prec::Default:
|
||||
return printStr("Node::Prec::Default");
|
||||
}
|
||||
}
|
||||
|
||||
void newLine() {
|
||||
printStr("\n");
|
||||
|
|
@ -334,36 +366,21 @@ public:
|
|||
|
||||
using Demangler = itanium_demangle::ManglingParser<DefaultAllocator>;
|
||||
|
||||
char *llvm::itaniumDemangle(const char *MangledName, char *Buf,
|
||||
size_t *N, int *Status) {
|
||||
if (MangledName == nullptr || (Buf != nullptr && N == nullptr)) {
|
||||
if (Status)
|
||||
*Status = demangle_invalid_args;
|
||||
char *llvm::itaniumDemangle(std::string_view MangledName) {
|
||||
if (MangledName.empty())
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
int InternalStatus = demangle_success;
|
||||
Demangler Parser(MangledName, MangledName + std::strlen(MangledName));
|
||||
OutputStream S;
|
||||
|
||||
Demangler Parser(MangledName.data(),
|
||||
MangledName.data() + MangledName.length());
|
||||
Node *AST = Parser.parse();
|
||||
if (!AST)
|
||||
return nullptr;
|
||||
|
||||
if (AST == nullptr)
|
||||
InternalStatus = demangle_invalid_mangled_name;
|
||||
else if (!initializeOutputStream(Buf, N, S, 1024))
|
||||
InternalStatus = demangle_memory_alloc_failure;
|
||||
else {
|
||||
assert(Parser.ForwardTemplateRefs.empty());
|
||||
AST->print(S);
|
||||
S += '\0';
|
||||
if (N != nullptr)
|
||||
*N = S.getCurrentPosition();
|
||||
Buf = S.getBuffer();
|
||||
}
|
||||
|
||||
if (Status)
|
||||
*Status = InternalStatus;
|
||||
return InternalStatus == demangle_success ? Buf : nullptr;
|
||||
OutputBuffer OB;
|
||||
assert(Parser.ForwardTemplateRefs.empty());
|
||||
AST->print(OB);
|
||||
OB += '\0';
|
||||
return OB.getBuffer();
|
||||
}
|
||||
|
||||
ItaniumPartialDemangler::ItaniumPartialDemangler()
|
||||
|
|
@ -396,14 +413,12 @@ bool ItaniumPartialDemangler::partialDemangle(const char *MangledName) {
|
|||
}
|
||||
|
||||
static char *printNode(const Node *RootNode, char *Buf, size_t *N) {
|
||||
OutputStream S;
|
||||
if (!initializeOutputStream(Buf, N, S, 128))
|
||||
return nullptr;
|
||||
RootNode->print(S);
|
||||
S += '\0';
|
||||
OutputBuffer OB(Buf, N);
|
||||
RootNode->print(OB);
|
||||
OB += '\0';
|
||||
if (N != nullptr)
|
||||
*N = S.getCurrentPosition();
|
||||
return S.getBuffer();
|
||||
*N = OB.getCurrentPosition();
|
||||
return OB.getBuffer();
|
||||
}
|
||||
|
||||
char *ItaniumPartialDemangler::getFunctionBaseName(char *Buf, size_t *N) const {
|
||||
|
|
@ -417,8 +432,8 @@ char *ItaniumPartialDemangler::getFunctionBaseName(char *Buf, size_t *N) const {
|
|||
case Node::KAbiTagAttr:
|
||||
Name = static_cast<const AbiTagAttr *>(Name)->Base;
|
||||
continue;
|
||||
case Node::KStdQualifiedName:
|
||||
Name = static_cast<const StdQualifiedName *>(Name)->Child;
|
||||
case Node::KModuleEntity:
|
||||
Name = static_cast<const ModuleEntity *>(Name)->Name;
|
||||
continue;
|
||||
case Node::KNestedName:
|
||||
Name = static_cast<const NestedName *>(Name)->Name;
|
||||
|
|
@ -441,9 +456,7 @@ char *ItaniumPartialDemangler::getFunctionDeclContextName(char *Buf,
|
|||
return nullptr;
|
||||
const Node *Name = static_cast<const FunctionEncoding *>(RootNode)->getName();
|
||||
|
||||
OutputStream S;
|
||||
if (!initializeOutputStream(Buf, N, S, 128))
|
||||
return nullptr;
|
||||
OutputBuffer OB(Buf, N);
|
||||
|
||||
KeepGoingLocalFunction:
|
||||
while (true) {
|
||||
|
|
@ -458,27 +471,27 @@ char *ItaniumPartialDemangler::getFunctionDeclContextName(char *Buf,
|
|||
break;
|
||||
}
|
||||
|
||||
if (Name->getKind() == Node::KModuleEntity)
|
||||
Name = static_cast<const ModuleEntity *>(Name)->Name;
|
||||
|
||||
switch (Name->getKind()) {
|
||||
case Node::KStdQualifiedName:
|
||||
S += "std";
|
||||
break;
|
||||
case Node::KNestedName:
|
||||
static_cast<const NestedName *>(Name)->Qual->print(S);
|
||||
static_cast<const NestedName *>(Name)->Qual->print(OB);
|
||||
break;
|
||||
case Node::KLocalName: {
|
||||
auto *LN = static_cast<const LocalName *>(Name);
|
||||
LN->Encoding->print(S);
|
||||
S += "::";
|
||||
LN->Encoding->print(OB);
|
||||
OB += "::";
|
||||
Name = LN->Entity;
|
||||
goto KeepGoingLocalFunction;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
S += '\0';
|
||||
OB += '\0';
|
||||
if (N != nullptr)
|
||||
*N = S.getCurrentPosition();
|
||||
return S.getBuffer();
|
||||
*N = OB.getCurrentPosition();
|
||||
return OB.getBuffer();
|
||||
}
|
||||
|
||||
char *ItaniumPartialDemangler::getFunctionName(char *Buf, size_t *N) const {
|
||||
|
|
@ -494,17 +507,15 @@ char *ItaniumPartialDemangler::getFunctionParameters(char *Buf,
|
|||
return nullptr;
|
||||
NodeArray Params = static_cast<FunctionEncoding *>(RootNode)->getParams();
|
||||
|
||||
OutputStream S;
|
||||
if (!initializeOutputStream(Buf, N, S, 128))
|
||||
return nullptr;
|
||||
OutputBuffer OB(Buf, N);
|
||||
|
||||
S += '(';
|
||||
Params.printWithComma(S);
|
||||
S += ')';
|
||||
S += '\0';
|
||||
OB += '(';
|
||||
Params.printWithComma(OB);
|
||||
OB += ')';
|
||||
OB += '\0';
|
||||
if (N != nullptr)
|
||||
*N = S.getCurrentPosition();
|
||||
return S.getBuffer();
|
||||
*N = OB.getCurrentPosition();
|
||||
return OB.getBuffer();
|
||||
}
|
||||
|
||||
char *ItaniumPartialDemangler::getFunctionReturnType(
|
||||
|
|
@ -512,18 +523,16 @@ char *ItaniumPartialDemangler::getFunctionReturnType(
|
|||
if (!isFunction())
|
||||
return nullptr;
|
||||
|
||||
OutputStream S;
|
||||
if (!initializeOutputStream(Buf, N, S, 128))
|
||||
return nullptr;
|
||||
OutputBuffer OB(Buf, N);
|
||||
|
||||
if (const Node *Ret =
|
||||
static_cast<const FunctionEncoding *>(RootNode)->getReturnType())
|
||||
Ret->print(S);
|
||||
Ret->print(OB);
|
||||
|
||||
S += '\0';
|
||||
OB += '\0';
|
||||
if (N != nullptr)
|
||||
*N = S.getCurrentPosition();
|
||||
return S.getBuffer();
|
||||
*N = OB.getCurrentPosition();
|
||||
return OB.getBuffer();
|
||||
}
|
||||
|
||||
char *ItaniumPartialDemangler::finishDemangle(char *Buf, size_t *N) const {
|
||||
|
|
@ -563,8 +572,8 @@ bool ItaniumPartialDemangler::isCtorOrDtor() const {
|
|||
case Node::KNestedName:
|
||||
N = static_cast<const NestedName *>(N)->Name;
|
||||
break;
|
||||
case Node::KStdQualifiedName:
|
||||
N = static_cast<const StdQualifiedName *>(N)->Child;
|
||||
case Node::KModuleEntity:
|
||||
N = static_cast<const ModuleEntity *>(N)->Name;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
37
externals/demangle/llvm/Demangle/Demangle.h
vendored
37
externals/demangle/llvm/Demangle/Demangle.h
vendored
|
|
@ -12,6 +12,7 @@
|
|||
|
||||
#include <cstddef>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
|
||||
namespace llvm {
|
||||
/// This is a llvm local version of __cxa_demangle. Other than the name and
|
||||
|
|
@ -29,9 +30,10 @@ enum : int {
|
|||
demangle_success = 0,
|
||||
};
|
||||
|
||||
char *itaniumDemangle(const char *mangled_name, char *buf, size_t *n,
|
||||
int *status);
|
||||
|
||||
/// Returns a non-NULL pointer to a NUL-terminated C style string
|
||||
/// that should be explicitly freed, if successful. Otherwise, may return
|
||||
/// nullptr if mangled_name is not a valid mangling or is nullptr.
|
||||
char *itaniumDemangle(std::string_view mangled_name);
|
||||
|
||||
enum MSDemangleFlags {
|
||||
MSDF_None = 0,
|
||||
|
|
@ -40,10 +42,34 @@ enum MSDemangleFlags {
|
|||
MSDF_NoCallingConvention = 1 << 2,
|
||||
MSDF_NoReturnType = 1 << 3,
|
||||
MSDF_NoMemberType = 1 << 4,
|
||||
MSDF_NoVariableType = 1 << 5,
|
||||
};
|
||||
char *microsoftDemangle(const char *mangled_name, char *buf, size_t *n,
|
||||
|
||||
/// Demangles the Microsoft symbol pointed at by mangled_name and returns it.
|
||||
/// Returns a pointer to the start of a null-terminated demangled string on
|
||||
/// success, or nullptr on error.
|
||||
/// If n_read is non-null and demangling was successful, it receives how many
|
||||
/// bytes of the input string were consumed.
|
||||
/// status receives one of the demangle_ enum entries above if it's not nullptr.
|
||||
/// Flags controls various details of the demangled representation.
|
||||
char *microsoftDemangle(std::string_view mangled_name, size_t *n_read,
|
||||
int *status, MSDemangleFlags Flags = MSDF_None);
|
||||
|
||||
// Demangles a Rust v0 mangled symbol.
|
||||
char *rustDemangle(std::string_view MangledName);
|
||||
|
||||
// Demangles a D mangled symbol.
|
||||
char *dlangDemangle(std::string_view MangledName);
|
||||
|
||||
/// Attempt to demangle a string using different demangling schemes.
|
||||
/// The function uses heuristics to determine which demangling scheme to use.
|
||||
/// \param MangledName - reference to string to demangle.
|
||||
/// \returns - the demangled string, or a copy of the input string if no
|
||||
/// demangling occurred.
|
||||
std::string demangle(std::string_view MangledName);
|
||||
|
||||
bool nonMicrosoftDemangle(std::string_view MangledName, std::string &Result);
|
||||
|
||||
/// "Partial" demangler. This supports demangling a string into an AST
|
||||
/// (typically an intermediate stage in itaniumDemangle) and querying certain
|
||||
/// properties or partially printing the demangled name.
|
||||
|
|
@ -59,7 +85,7 @@ struct ItaniumPartialDemangler {
|
|||
bool partialDemangle(const char *MangledName);
|
||||
|
||||
/// Just print the entire mangled name into Buf. Buf and N behave like the
|
||||
/// second and third parameters to itaniumDemangle.
|
||||
/// second and third parameters to __cxa_demangle.
|
||||
char *finishDemangle(char *Buf, size_t *N) const;
|
||||
|
||||
/// Get the base name of a function. This doesn't include trailing template
|
||||
|
|
@ -95,6 +121,7 @@ struct ItaniumPartialDemangler {
|
|||
bool isSpecialName() const;
|
||||
|
||||
~ItaniumPartialDemangler();
|
||||
|
||||
private:
|
||||
void *RootNode;
|
||||
void *Context;
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_DEMANGLE_COMPILER_H
|
||||
#define LLVM_DEMANGLE_COMPILER_H
|
||||
#ifndef LLVM_DEMANGLE_DEMANGLECONFIG_H
|
||||
#define LLVM_DEMANGLE_DEMANGLECONFIG_H
|
||||
|
||||
#ifndef __has_feature
|
||||
#define __has_feature(x) 0
|
||||
|
|
|
|||
3910
externals/demangle/llvm/Demangle/ItaniumDemangle.h
vendored
3910
externals/demangle/llvm/Demangle/ItaniumDemangle.h
vendored
File diff suppressed because it is too large
Load diff
96
externals/demangle/llvm/Demangle/ItaniumNodes.def
vendored
Normal file
96
externals/demangle/llvm/Demangle/ItaniumNodes.def
vendored
Normal file
|
|
@ -0,0 +1,96 @@
|
|||
//===--- ItaniumNodes.def ------------*- mode:c++;eval:(read-only-mode) -*-===//
|
||||
// Do not edit! See README.txt.
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
// See https://llvm.org/LICENSE.txt for license information.
|
||||
// SPDX-FileCopyrightText: Part of the LLVM Project
|
||||
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// Define the demangler's node names
|
||||
|
||||
#ifndef NODE
|
||||
#error Define NODE to handle nodes
|
||||
#endif
|
||||
|
||||
NODE(NodeArrayNode)
|
||||
NODE(DotSuffix)
|
||||
NODE(VendorExtQualType)
|
||||
NODE(QualType)
|
||||
NODE(ConversionOperatorType)
|
||||
NODE(PostfixQualifiedType)
|
||||
NODE(ElaboratedTypeSpefType)
|
||||
NODE(NameType)
|
||||
NODE(AbiTagAttr)
|
||||
NODE(EnableIfAttr)
|
||||
NODE(ObjCProtoName)
|
||||
NODE(PointerType)
|
||||
NODE(ReferenceType)
|
||||
NODE(PointerToMemberType)
|
||||
NODE(ArrayType)
|
||||
NODE(FunctionType)
|
||||
NODE(NoexceptSpec)
|
||||
NODE(DynamicExceptionSpec)
|
||||
NODE(FunctionEncoding)
|
||||
NODE(LiteralOperator)
|
||||
NODE(SpecialName)
|
||||
NODE(CtorVtableSpecialName)
|
||||
NODE(QualifiedName)
|
||||
NODE(NestedName)
|
||||
NODE(LocalName)
|
||||
NODE(ModuleName)
|
||||
NODE(ModuleEntity)
|
||||
NODE(VectorType)
|
||||
NODE(PixelVectorType)
|
||||
NODE(BinaryFPType)
|
||||
NODE(BitIntType)
|
||||
NODE(SyntheticTemplateParamName)
|
||||
NODE(TypeTemplateParamDecl)
|
||||
NODE(NonTypeTemplateParamDecl)
|
||||
NODE(TemplateTemplateParamDecl)
|
||||
NODE(TemplateParamPackDecl)
|
||||
NODE(ParameterPack)
|
||||
NODE(TemplateArgumentPack)
|
||||
NODE(ParameterPackExpansion)
|
||||
NODE(TemplateArgs)
|
||||
NODE(ForwardTemplateReference)
|
||||
NODE(NameWithTemplateArgs)
|
||||
NODE(GlobalQualifiedName)
|
||||
NODE(ExpandedSpecialSubstitution)
|
||||
NODE(SpecialSubstitution)
|
||||
NODE(CtorDtorName)
|
||||
NODE(DtorName)
|
||||
NODE(UnnamedTypeName)
|
||||
NODE(ClosureTypeName)
|
||||
NODE(StructuredBindingName)
|
||||
NODE(BinaryExpr)
|
||||
NODE(ArraySubscriptExpr)
|
||||
NODE(PostfixExpr)
|
||||
NODE(ConditionalExpr)
|
||||
NODE(MemberExpr)
|
||||
NODE(SubobjectExpr)
|
||||
NODE(EnclosingExpr)
|
||||
NODE(CastExpr)
|
||||
NODE(SizeofParamPackExpr)
|
||||
NODE(CallExpr)
|
||||
NODE(NewExpr)
|
||||
NODE(DeleteExpr)
|
||||
NODE(PrefixExpr)
|
||||
NODE(FunctionParam)
|
||||
NODE(ConversionExpr)
|
||||
NODE(PointerToMemberConversionExpr)
|
||||
NODE(InitListExpr)
|
||||
NODE(FoldExpr)
|
||||
NODE(ThrowExpr)
|
||||
NODE(BoolExpr)
|
||||
NODE(StringLiteral)
|
||||
NODE(LambdaExpr)
|
||||
NODE(EnumLiteral)
|
||||
NODE(IntegerLiteral)
|
||||
NODE(FloatLiteral)
|
||||
NODE(DoubleLiteral)
|
||||
NODE(LongDoubleLiteral)
|
||||
NODE(BracedExpr)
|
||||
NODE(BracedRangeExpr)
|
||||
|
||||
#undef NODE
|
||||
32
externals/demangle/llvm/Demangle/StringView.h
vendored
32
externals/demangle/llvm/Demangle/StringView.h
vendored
|
|
@ -1,5 +1,5 @@
|
|||
//===--- StringView.h -------------------------------------------*- C++ -*-===//
|
||||
//
|
||||
//===--- StringView.h ----------------*- mode:c++;eval:(read-only-mode) -*-===//
|
||||
// Do not edit! See README.txt.
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
// See https://llvm.org/LICENSE.txt for license information.
|
||||
// SPDX-FileCopyrightText: Part of the LLVM Project
|
||||
|
|
@ -8,6 +8,9 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// FIXME: Use std::string_view instead when we support C++17.
|
||||
// There are two copies of this file in the source tree. The one under
|
||||
// libcxxabi is the original and the one under llvm is the copy. Use
|
||||
// cp-to-llvm.sh to update the copy. See README.txt for more details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
|
|
@ -15,7 +18,6 @@
|
|||
#define DEMANGLE_STRINGVIEW_H
|
||||
|
||||
#include "DemangleConfig.h"
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <cstring>
|
||||
|
||||
|
|
@ -37,29 +39,23 @@ public:
|
|||
StringView(const char *Str) : First(Str), Last(Str + std::strlen(Str)) {}
|
||||
StringView() : First(nullptr), Last(nullptr) {}
|
||||
|
||||
StringView substr(size_t From) const {
|
||||
return StringView(begin() + From, size() - From);
|
||||
StringView substr(size_t Pos, size_t Len = npos) const {
|
||||
assert(Pos <= size());
|
||||
if (Len > size() - Pos)
|
||||
Len = size() - Pos;
|
||||
return StringView(begin() + Pos, Len);
|
||||
}
|
||||
|
||||
size_t find(char C, size_t From = 0) const {
|
||||
size_t FindBegin = std::min(From, size());
|
||||
// Avoid calling memchr with nullptr.
|
||||
if (FindBegin < size()) {
|
||||
if (From < size()) {
|
||||
// Just forward to memchr, which is faster than a hand-rolled loop.
|
||||
if (const void *P = ::memchr(First + FindBegin, C, size() - FindBegin))
|
||||
if (const void *P = ::memchr(First + From, C, size() - From))
|
||||
return size_t(static_cast<const char *>(P) - First);
|
||||
}
|
||||
return npos;
|
||||
}
|
||||
|
||||
StringView substr(size_t From, size_t To) const {
|
||||
if (To >= size())
|
||||
To = size() - 1;
|
||||
if (From >= size())
|
||||
From = size() - 1;
|
||||
return StringView(First + From, First + To);
|
||||
}
|
||||
|
||||
StringView dropFront(size_t N = 1) const {
|
||||
if (N >= size())
|
||||
N = size();
|
||||
|
|
@ -106,7 +102,7 @@ public:
|
|||
bool startsWith(StringView Str) const {
|
||||
if (Str.size() > size())
|
||||
return false;
|
||||
return std::equal(Str.begin(), Str.end(), begin());
|
||||
return std::strncmp(Str.begin(), begin(), Str.size()) == 0;
|
||||
}
|
||||
|
||||
const char &operator[](size_t Idx) const { return *(begin() + Idx); }
|
||||
|
|
@ -119,7 +115,7 @@ public:
|
|||
|
||||
inline bool operator==(const StringView &LHS, const StringView &RHS) {
|
||||
return LHS.size() == RHS.size() &&
|
||||
std::equal(LHS.begin(), LHS.end(), RHS.begin());
|
||||
std::strncmp(LHS.begin(), RHS.begin(), LHS.size()) == 0;
|
||||
}
|
||||
|
||||
DEMANGLE_NAMESPACE_END
|
||||
|
|
|
|||
39
externals/demangle/llvm/Demangle/StringViewExtras.h
vendored
Normal file
39
externals/demangle/llvm/Demangle/StringViewExtras.h
vendored
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
//===--- StringViewExtras.h ----------*- mode:c++;eval:(read-only-mode) -*-===//
|
||||
// Do not edit! See README.txt.
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
// See https://llvm.org/LICENSE.txt for license information.
|
||||
// SPDX-FileCopyrightText: Part of the LLVM Project
|
||||
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// There are two copies of this file in the source tree. The one under
|
||||
// libcxxabi is the original and the one under llvm is the copy. Use
|
||||
// cp-to-llvm.sh to update the copy. See README.txt for more details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef DEMANGLE_STRINGVIEW_H
|
||||
#define DEMANGLE_STRINGVIEW_H
|
||||
|
||||
#include "DemangleConfig.h"
|
||||
|
||||
#include <string_view>
|
||||
|
||||
DEMANGLE_NAMESPACE_BEGIN
|
||||
|
||||
inline bool starts_with(std::string_view self, char C) noexcept {
|
||||
return !self.empty() && *self.begin() == C;
|
||||
}
|
||||
|
||||
inline bool starts_with(std::string_view haystack,
|
||||
std::string_view needle) noexcept {
|
||||
if (needle.size() > haystack.size())
|
||||
return false;
|
||||
haystack.remove_suffix(haystack.size() - needle.size());
|
||||
return haystack == needle;
|
||||
}
|
||||
|
||||
DEMANGLE_NAMESPACE_END
|
||||
|
||||
#endif
|
||||
208
externals/demangle/llvm/Demangle/Utility.h
vendored
208
externals/demangle/llvm/Demangle/Utility.h
vendored
|
|
@ -1,5 +1,5 @@
|
|||
//===--- Utility.h ----------------------------------------------*- C++ -*-===//
|
||||
//
|
||||
//===--- Utility.h -------------------*- mode:c++;eval:(read-only-mode) -*-===//
|
||||
// Do not edit! See README.txt.
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
// See https://llvm.org/LICENSE.txt for license information.
|
||||
// SPDX-FileCopyrightText: Part of the LLVM Project
|
||||
|
|
@ -7,70 +7,83 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// Provide some utility classes for use in the demangler(s).
|
||||
// Provide some utility classes for use in the demangler.
|
||||
// There are two copies of this file in the source tree. The one in libcxxabi
|
||||
// is the original and the one in llvm is the copy. Use cp-to-llvm.sh to update
|
||||
// the copy. See README.txt for more details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef DEMANGLE_UTILITY_H
|
||||
#define DEMANGLE_UTILITY_H
|
||||
|
||||
#include "StringView.h"
|
||||
#include "DemangleConfig.h"
|
||||
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <cstdint>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <iterator>
|
||||
#include <exception>
|
||||
#include <limits>
|
||||
#include <string_view>
|
||||
|
||||
DEMANGLE_NAMESPACE_BEGIN
|
||||
|
||||
// Stream that AST nodes write their string representation into after the AST
|
||||
// has been parsed.
|
||||
class OutputStream {
|
||||
char *Buffer;
|
||||
size_t CurrentPosition;
|
||||
size_t BufferCapacity;
|
||||
class OutputBuffer {
|
||||
char *Buffer = nullptr;
|
||||
size_t CurrentPosition = 0;
|
||||
size_t BufferCapacity = 0;
|
||||
|
||||
// Ensure there is at least n more positions in buffer.
|
||||
// Ensure there are at least N more positions in the buffer.
|
||||
void grow(size_t N) {
|
||||
if (N + CurrentPosition >= BufferCapacity) {
|
||||
size_t Need = N + CurrentPosition;
|
||||
if (Need > BufferCapacity) {
|
||||
// Reduce the number of reallocations, with a bit of hysteresis. The
|
||||
// number here is chosen so the first allocation will more-than-likely not
|
||||
// allocate more than 1K.
|
||||
Need += 1024 - 32;
|
||||
BufferCapacity *= 2;
|
||||
if (BufferCapacity < N + CurrentPosition)
|
||||
BufferCapacity = N + CurrentPosition;
|
||||
if (BufferCapacity < Need)
|
||||
BufferCapacity = Need;
|
||||
Buffer = static_cast<char *>(std::realloc(Buffer, BufferCapacity));
|
||||
if (Buffer == nullptr)
|
||||
std::terminate();
|
||||
}
|
||||
}
|
||||
|
||||
void writeUnsigned(uint64_t N, bool isNeg = false) {
|
||||
// Handle special case...
|
||||
if (N == 0) {
|
||||
*this << '0';
|
||||
return;
|
||||
}
|
||||
OutputBuffer &writeUnsigned(uint64_t N, bool isNeg = false) {
|
||||
std::array<char, 21> Temp;
|
||||
char *TempPtr = Temp.data() + Temp.size();
|
||||
|
||||
char Temp[21];
|
||||
char *TempPtr = std::end(Temp);
|
||||
|
||||
while (N) {
|
||||
*--TempPtr = '0' + char(N % 10);
|
||||
// Output at least one character.
|
||||
do {
|
||||
*--TempPtr = char('0' + N % 10);
|
||||
N /= 10;
|
||||
}
|
||||
} while (N);
|
||||
|
||||
// Add negative sign...
|
||||
// Add negative sign.
|
||||
if (isNeg)
|
||||
*--TempPtr = '-';
|
||||
this->operator<<(StringView(TempPtr, std::end(Temp)));
|
||||
|
||||
return operator+=(
|
||||
std::string_view(TempPtr, Temp.data() + Temp.size() - TempPtr));
|
||||
}
|
||||
|
||||
public:
|
||||
OutputStream(char *StartBuf, size_t Size)
|
||||
: Buffer(StartBuf), CurrentPosition(0), BufferCapacity(Size) {}
|
||||
OutputStream() = default;
|
||||
void reset(char *Buffer_, size_t BufferCapacity_) {
|
||||
CurrentPosition = 0;
|
||||
Buffer = Buffer_;
|
||||
BufferCapacity = BufferCapacity_;
|
||||
OutputBuffer(char *StartBuf, size_t Size)
|
||||
: Buffer(StartBuf), BufferCapacity(Size) {}
|
||||
OutputBuffer(char *StartBuf, size_t *SizePtr)
|
||||
: OutputBuffer(StartBuf, StartBuf ? *SizePtr : 0) {}
|
||||
OutputBuffer() = default;
|
||||
// Non-copyable
|
||||
OutputBuffer(const OutputBuffer &) = delete;
|
||||
OutputBuffer &operator=(const OutputBuffer &) = delete;
|
||||
|
||||
operator std::string_view() const {
|
||||
return std::string_view(Buffer, CurrentPosition);
|
||||
}
|
||||
|
||||
/// If a ParameterPackExpansion (or similar type) is encountered, the offset
|
||||
|
|
@ -78,115 +91,116 @@ public:
|
|||
unsigned CurrentPackIndex = std::numeric_limits<unsigned>::max();
|
||||
unsigned CurrentPackMax = std::numeric_limits<unsigned>::max();
|
||||
|
||||
OutputStream &operator+=(StringView R) {
|
||||
size_t Size = R.size();
|
||||
if (Size == 0)
|
||||
return *this;
|
||||
grow(Size);
|
||||
std::memmove(Buffer + CurrentPosition, R.begin(), Size);
|
||||
CurrentPosition += Size;
|
||||
/// When zero, we're printing template args and '>' needs to be parenthesized.
|
||||
/// Use a counter so we can simply increment inside parentheses.
|
||||
unsigned GtIsGt = 1;
|
||||
|
||||
bool isGtInsideTemplateArgs() const { return GtIsGt == 0; }
|
||||
|
||||
void printOpen(char Open = '(') {
|
||||
GtIsGt++;
|
||||
*this += Open;
|
||||
}
|
||||
void printClose(char Close = ')') {
|
||||
GtIsGt--;
|
||||
*this += Close;
|
||||
}
|
||||
|
||||
OutputBuffer &operator+=(std::string_view R) {
|
||||
if (size_t Size = R.size()) {
|
||||
grow(Size);
|
||||
std::memcpy(Buffer + CurrentPosition, &*R.begin(), Size);
|
||||
CurrentPosition += Size;
|
||||
}
|
||||
return *this;
|
||||
}
|
||||
|
||||
OutputStream &operator+=(char C) {
|
||||
OutputBuffer &operator+=(char C) {
|
||||
grow(1);
|
||||
Buffer[CurrentPosition++] = C;
|
||||
return *this;
|
||||
}
|
||||
|
||||
OutputStream &operator<<(StringView R) { return (*this += R); }
|
||||
OutputBuffer &prepend(std::string_view R) {
|
||||
size_t Size = R.size();
|
||||
|
||||
OutputStream &operator<<(char C) { return (*this += C); }
|
||||
grow(Size);
|
||||
std::memmove(Buffer + Size, Buffer, CurrentPosition);
|
||||
std::memcpy(Buffer, &*R.begin(), Size);
|
||||
CurrentPosition += Size;
|
||||
|
||||
OutputStream &operator<<(long long N) {
|
||||
if (N < 0)
|
||||
writeUnsigned(static_cast<unsigned long long>(-N), true);
|
||||
else
|
||||
writeUnsigned(static_cast<unsigned long long>(N));
|
||||
return *this;
|
||||
}
|
||||
|
||||
OutputStream &operator<<(unsigned long long N) {
|
||||
writeUnsigned(N, false);
|
||||
return *this;
|
||||
OutputBuffer &operator<<(std::string_view R) { return (*this += R); }
|
||||
|
||||
OutputBuffer &operator<<(char C) { return (*this += C); }
|
||||
|
||||
OutputBuffer &operator<<(long long N) {
|
||||
return writeUnsigned(static_cast<unsigned long long>(std::abs(N)), N < 0);
|
||||
}
|
||||
|
||||
OutputStream &operator<<(long N) {
|
||||
OutputBuffer &operator<<(unsigned long long N) {
|
||||
return writeUnsigned(N, false);
|
||||
}
|
||||
|
||||
OutputBuffer &operator<<(long N) {
|
||||
return this->operator<<(static_cast<long long>(N));
|
||||
}
|
||||
|
||||
OutputStream &operator<<(unsigned long N) {
|
||||
OutputBuffer &operator<<(unsigned long N) {
|
||||
return this->operator<<(static_cast<unsigned long long>(N));
|
||||
}
|
||||
|
||||
OutputStream &operator<<(int N) {
|
||||
OutputBuffer &operator<<(int N) {
|
||||
return this->operator<<(static_cast<long long>(N));
|
||||
}
|
||||
|
||||
OutputStream &operator<<(unsigned int N) {
|
||||
OutputBuffer &operator<<(unsigned int N) {
|
||||
return this->operator<<(static_cast<unsigned long long>(N));
|
||||
}
|
||||
|
||||
void insert(size_t Pos, const char *S, size_t N) {
|
||||
assert(Pos <= CurrentPosition);
|
||||
if (N == 0)
|
||||
return;
|
||||
grow(N);
|
||||
std::memmove(Buffer + Pos + N, Buffer + Pos, CurrentPosition - Pos);
|
||||
std::memcpy(Buffer + Pos, S, N);
|
||||
CurrentPosition += N;
|
||||
}
|
||||
|
||||
size_t getCurrentPosition() const { return CurrentPosition; }
|
||||
void setCurrentPosition(size_t NewPos) { CurrentPosition = NewPos; }
|
||||
|
||||
char back() const {
|
||||
return CurrentPosition ? Buffer[CurrentPosition - 1] : '\0';
|
||||
assert(CurrentPosition);
|
||||
return Buffer[CurrentPosition - 1];
|
||||
}
|
||||
|
||||
bool empty() const { return CurrentPosition == 0; }
|
||||
|
||||
char *getBuffer() { return Buffer; }
|
||||
char *getBufferEnd() { return Buffer + CurrentPosition - 1; }
|
||||
size_t getBufferCapacity() { return BufferCapacity; }
|
||||
size_t getBufferCapacity() const { return BufferCapacity; }
|
||||
};
|
||||
|
||||
template <class T> class SwapAndRestore {
|
||||
T &Restore;
|
||||
T OriginalValue;
|
||||
bool ShouldRestore = true;
|
||||
template <class T> class ScopedOverride {
|
||||
T &Loc;
|
||||
T Original;
|
||||
|
||||
public:
|
||||
SwapAndRestore(T &Restore_) : SwapAndRestore(Restore_, Restore_) {}
|
||||
ScopedOverride(T &Loc_) : ScopedOverride(Loc_, Loc_) {}
|
||||
|
||||
SwapAndRestore(T &Restore_, T NewVal)
|
||||
: Restore(Restore_), OriginalValue(Restore) {
|
||||
Restore = std::move(NewVal);
|
||||
}
|
||||
~SwapAndRestore() {
|
||||
if (ShouldRestore)
|
||||
Restore = std::move(OriginalValue);
|
||||
ScopedOverride(T &Loc_, T NewVal) : Loc(Loc_), Original(Loc_) {
|
||||
Loc_ = std::move(NewVal);
|
||||
}
|
||||
~ScopedOverride() { Loc = std::move(Original); }
|
||||
|
||||
void shouldRestore(bool ShouldRestore_) { ShouldRestore = ShouldRestore_; }
|
||||
|
||||
void restoreNow(bool Force) {
|
||||
if (!Force && !ShouldRestore)
|
||||
return;
|
||||
|
||||
Restore = std::move(OriginalValue);
|
||||
ShouldRestore = false;
|
||||
}
|
||||
|
||||
SwapAndRestore(const SwapAndRestore &) = delete;
|
||||
SwapAndRestore &operator=(const SwapAndRestore &) = delete;
|
||||
ScopedOverride(const ScopedOverride &) = delete;
|
||||
ScopedOverride &operator=(const ScopedOverride &) = delete;
|
||||
};
|
||||
|
||||
inline bool initializeOutputStream(char *Buf, size_t *N, OutputStream &S,
|
||||
size_t InitSize) {
|
||||
size_t BufferSize;
|
||||
if (Buf == nullptr) {
|
||||
Buf = static_cast<char *>(std::malloc(InitSize));
|
||||
if (Buf == nullptr)
|
||||
return false;
|
||||
BufferSize = InitSize;
|
||||
} else
|
||||
BufferSize = *N;
|
||||
|
||||
S.reset(Buf, BufferSize);
|
||||
return true;
|
||||
}
|
||||
|
||||
DEMANGLE_NAMESPACE_END
|
||||
|
||||
#endif
|
||||
|
|
|
|||
2
externals/dynarmic
vendored
2
externals/dynarmic
vendored
|
|
@ -1 +1 @@
|
|||
Subproject commit 7da378033a7764f955516f75194856d87bbcd7a5
|
||||
Subproject commit ba8192d89078af51ae6f97c9352e3683612cdff1
|
||||
6
externals/ffmpeg/CMakeLists.txt
vendored
6
externals/ffmpeg/CMakeLists.txt
vendored
|
|
@ -138,7 +138,7 @@ if (NOT WIN32 AND NOT ANDROID)
|
|||
--cross-prefix=${TOOLCHAIN}/bin/aarch64-linux-android-
|
||||
--sysroot=${SYSROOT}
|
||||
--target-os=android
|
||||
--extra-ldflags="--ld-path=${TOOLCHAIN}/bin/ld.lld"
|
||||
--extra-ldflags="--ld-path=${TOOLCHAIN}/bin/ld.lld"
|
||||
--extra-ldflags="-nostdlib"
|
||||
)
|
||||
endif()
|
||||
|
|
@ -164,7 +164,7 @@ if (NOT WIN32 AND NOT ANDROID)
|
|||
--enable-decoder=h264
|
||||
--enable-decoder=vp8
|
||||
--enable-decoder=vp9
|
||||
--enable-filter=yadif
|
||||
--enable-filter=yadif,scale
|
||||
--cc="${FFmpeg_CC}"
|
||||
--cxx="${FFmpeg_CXX}"
|
||||
${FFmpeg_HWACCEL_FLAGS}
|
||||
|
|
@ -254,7 +254,7 @@ elseif(ANDROID)
|
|||
set(FFmpeg_INCLUDE_DIR "${FFmpeg_INCLUDE_DIR}" PARENT_SCOPE)
|
||||
elseif(WIN32)
|
||||
# Use yuzu FFmpeg binaries
|
||||
set(FFmpeg_EXT_NAME "ffmpeg-5.1.3")
|
||||
set(FFmpeg_EXT_NAME "ffmpeg-6.0")
|
||||
set(FFmpeg_PATH "${CMAKE_BINARY_DIR}/externals/${FFmpeg_EXT_NAME}")
|
||||
download_bundled_external("ffmpeg/" ${FFmpeg_EXT_NAME} "")
|
||||
set(FFmpeg_FOUND YES)
|
||||
|
|
|
|||
2
externals/ffmpeg/ffmpeg
vendored
2
externals/ffmpeg/ffmpeg
vendored
|
|
@ -1 +1 @@
|
|||
Subproject commit 6b6b9e593dd4d3aaf75f48d40a13ef03bdef9fdb
|
||||
Subproject commit 9c1294eaddb88cb0e044c675ccae059a85fc9c6c
|
||||
376
externals/gamemode/gamemode_client.h
vendored
Normal file
376
externals/gamemode/gamemode_client.h
vendored
Normal file
|
|
@ -0,0 +1,376 @@
|
|||
/*
|
||||
|
||||
Copyright (c) 2017-2019, Feral Interactive
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice,
|
||||
this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
* Neither the name of Feral Interactive nor the names of its contributors
|
||||
may be used to endorse or promote products derived from this software
|
||||
without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
||||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
*/
|
||||
#ifndef CLIENT_GAMEMODE_H
|
||||
#define CLIENT_GAMEMODE_H
|
||||
/*
|
||||
* GameMode supports the following client functions
|
||||
* Requests are refcounted in the daemon
|
||||
*
|
||||
* int gamemode_request_start() - Request gamemode starts
|
||||
* 0 if the request was sent successfully
|
||||
* -1 if the request failed
|
||||
*
|
||||
* int gamemode_request_end() - Request gamemode ends
|
||||
* 0 if the request was sent successfully
|
||||
* -1 if the request failed
|
||||
*
|
||||
* GAMEMODE_AUTO can be defined to make the above two functions apply during static init and
|
||||
* destruction, as appropriate. In this configuration, errors will be printed to stderr
|
||||
*
|
||||
* int gamemode_query_status() - Query the current status of gamemode
|
||||
* 0 if gamemode is inactive
|
||||
* 1 if gamemode is active
|
||||
* 2 if gamemode is active and this client is registered
|
||||
* -1 if the query failed
|
||||
*
|
||||
* int gamemode_request_start_for(pid_t pid) - Request gamemode starts for another process
|
||||
* 0 if the request was sent successfully
|
||||
* -1 if the request failed
|
||||
* -2 if the request was rejected
|
||||
*
|
||||
* int gamemode_request_end_for(pid_t pid) - Request gamemode ends for another process
|
||||
* 0 if the request was sent successfully
|
||||
* -1 if the request failed
|
||||
* -2 if the request was rejected
|
||||
*
|
||||
* int gamemode_query_status_for(pid_t pid) - Query status of gamemode for another process
|
||||
* 0 if gamemode is inactive
|
||||
* 1 if gamemode is active
|
||||
* 2 if gamemode is active and this client is registered
|
||||
* -1 if the query failed
|
||||
*
|
||||
* const char* gamemode_error_string() - Get an error string
|
||||
* returns a string describing any of the above errors
|
||||
*
|
||||
* Note: All the above requests can be blocking - dbus requests can and will block while the daemon
|
||||
* handles the request. It is not recommended to make these calls in performance critical code
|
||||
*/
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <dlfcn.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
static char internal_gamemode_client_error_string[512] = { 0 };
|
||||
|
||||
/**
|
||||
* Load libgamemode dynamically to dislodge us from most dependencies.
|
||||
* This allows clients to link and/or use this regardless of runtime.
|
||||
* See SDL2 for an example of the reasoning behind this in terms of
|
||||
* dynamic versioning as well.
|
||||
*/
|
||||
static volatile int internal_libgamemode_loaded = 1;
|
||||
|
||||
/* Typedefs for the functions to load */
|
||||
typedef int (*api_call_return_int)(void);
|
||||
typedef const char *(*api_call_return_cstring)(void);
|
||||
typedef int (*api_call_pid_return_int)(pid_t);
|
||||
|
||||
/* Storage for functors */
|
||||
static api_call_return_int REAL_internal_gamemode_request_start = NULL;
|
||||
static api_call_return_int REAL_internal_gamemode_request_end = NULL;
|
||||
static api_call_return_int REAL_internal_gamemode_query_status = NULL;
|
||||
static api_call_return_cstring REAL_internal_gamemode_error_string = NULL;
|
||||
static api_call_pid_return_int REAL_internal_gamemode_request_start_for = NULL;
|
||||
static api_call_pid_return_int REAL_internal_gamemode_request_end_for = NULL;
|
||||
static api_call_pid_return_int REAL_internal_gamemode_query_status_for = NULL;
|
||||
|
||||
/**
|
||||
* Internal helper to perform the symbol binding safely.
|
||||
*
|
||||
* Returns 0 on success and -1 on failure
|
||||
*/
|
||||
__attribute__((always_inline)) static inline int internal_bind_libgamemode_symbol(
|
||||
void *handle, const char *name, void **out_func, size_t func_size, bool required)
|
||||
{
|
||||
void *symbol_lookup = NULL;
|
||||
char *dl_error = NULL;
|
||||
|
||||
/* Safely look up the symbol */
|
||||
symbol_lookup = dlsym(handle, name);
|
||||
dl_error = dlerror();
|
||||
if (required && (dl_error || !symbol_lookup)) {
|
||||
snprintf(internal_gamemode_client_error_string,
|
||||
sizeof(internal_gamemode_client_error_string),
|
||||
"dlsym failed - %s",
|
||||
dl_error);
|
||||
return -1;
|
||||
}
|
||||
|
||||
/* Have the symbol correctly, copy it to make it usable */
|
||||
memcpy(out_func, &symbol_lookup, func_size);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Loads libgamemode and needed functions
|
||||
*
|
||||
* Returns 0 on success and -1 on failure
|
||||
*/
|
||||
__attribute__((always_inline)) static inline int internal_load_libgamemode(void)
|
||||
{
|
||||
/* We start at 1, 0 is a success and -1 is a fail */
|
||||
if (internal_libgamemode_loaded != 1) {
|
||||
return internal_libgamemode_loaded;
|
||||
}
|
||||
|
||||
/* Anonymous struct type to define our bindings */
|
||||
struct binding {
|
||||
const char *name;
|
||||
void **functor;
|
||||
size_t func_size;
|
||||
bool required;
|
||||
} bindings[] = {
|
||||
{ "real_gamemode_request_start",
|
||||
(void **)&REAL_internal_gamemode_request_start,
|
||||
sizeof(REAL_internal_gamemode_request_start),
|
||||
true },
|
||||
{ "real_gamemode_request_end",
|
||||
(void **)&REAL_internal_gamemode_request_end,
|
||||
sizeof(REAL_internal_gamemode_request_end),
|
||||
true },
|
||||
{ "real_gamemode_query_status",
|
||||
(void **)&REAL_internal_gamemode_query_status,
|
||||
sizeof(REAL_internal_gamemode_query_status),
|
||||
false },
|
||||
{ "real_gamemode_error_string",
|
||||
(void **)&REAL_internal_gamemode_error_string,
|
||||
sizeof(REAL_internal_gamemode_error_string),
|
||||
true },
|
||||
{ "real_gamemode_request_start_for",
|
||||
(void **)&REAL_internal_gamemode_request_start_for,
|
||||
sizeof(REAL_internal_gamemode_request_start_for),
|
||||
false },
|
||||
{ "real_gamemode_request_end_for",
|
||||
(void **)&REAL_internal_gamemode_request_end_for,
|
||||
sizeof(REAL_internal_gamemode_request_end_for),
|
||||
false },
|
||||
{ "real_gamemode_query_status_for",
|
||||
(void **)&REAL_internal_gamemode_query_status_for,
|
||||
sizeof(REAL_internal_gamemode_query_status_for),
|
||||
false },
|
||||
};
|
||||
|
||||
void *libgamemode = NULL;
|
||||
|
||||
/* Try and load libgamemode */
|
||||
libgamemode = dlopen("libgamemode.so.0", RTLD_NOW);
|
||||
if (!libgamemode) {
|
||||
/* Attempt to load unversioned library for compatibility with older
|
||||
* versions (as of writing, there are no ABI changes between the two -
|
||||
* this may need to change if ever ABI-breaking changes are made) */
|
||||
libgamemode = dlopen("libgamemode.so", RTLD_NOW);
|
||||
if (!libgamemode) {
|
||||
snprintf(internal_gamemode_client_error_string,
|
||||
sizeof(internal_gamemode_client_error_string),
|
||||
"dlopen failed - %s",
|
||||
dlerror());
|
||||
internal_libgamemode_loaded = -1;
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
/* Attempt to bind all symbols */
|
||||
for (size_t i = 0; i < sizeof(bindings) / sizeof(bindings[0]); i++) {
|
||||
struct binding *binder = &bindings[i];
|
||||
|
||||
if (internal_bind_libgamemode_symbol(libgamemode,
|
||||
binder->name,
|
||||
binder->functor,
|
||||
binder->func_size,
|
||||
binder->required)) {
|
||||
internal_libgamemode_loaded = -1;
|
||||
return -1;
|
||||
};
|
||||
}
|
||||
|
||||
/* Success */
|
||||
internal_libgamemode_loaded = 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Redirect to the real libgamemode
|
||||
*/
|
||||
__attribute__((always_inline)) static inline const char *gamemode_error_string(void)
|
||||
{
|
||||
/* If we fail to load the system gamemode, or we have an error string already, return our error
|
||||
* string instead of diverting to the system version */
|
||||
if (internal_load_libgamemode() < 0 || internal_gamemode_client_error_string[0] != '\0') {
|
||||
return internal_gamemode_client_error_string;
|
||||
}
|
||||
|
||||
/* Assert for static analyser that the function is not NULL */
|
||||
assert(REAL_internal_gamemode_error_string != NULL);
|
||||
|
||||
return REAL_internal_gamemode_error_string();
|
||||
}
|
||||
|
||||
/**
|
||||
* Redirect to the real libgamemode
|
||||
* Allow automatically requesting game mode
|
||||
* Also prints errors as they happen.
|
||||
*/
|
||||
#ifdef GAMEMODE_AUTO
|
||||
__attribute__((constructor))
|
||||
#else
|
||||
__attribute__((always_inline)) static inline
|
||||
#endif
|
||||
int gamemode_request_start(void)
|
||||
{
|
||||
/* Need to load gamemode */
|
||||
if (internal_load_libgamemode() < 0) {
|
||||
#ifdef GAMEMODE_AUTO
|
||||
fprintf(stderr, "gamemodeauto: %s\n", gamemode_error_string());
|
||||
#endif
|
||||
return -1;
|
||||
}
|
||||
|
||||
/* Assert for static analyser that the function is not NULL */
|
||||
assert(REAL_internal_gamemode_request_start != NULL);
|
||||
|
||||
if (REAL_internal_gamemode_request_start() < 0) {
|
||||
#ifdef GAMEMODE_AUTO
|
||||
fprintf(stderr, "gamemodeauto: %s\n", gamemode_error_string());
|
||||
#endif
|
||||
return -1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Redirect to the real libgamemode */
|
||||
#ifdef GAMEMODE_AUTO
|
||||
__attribute__((destructor))
|
||||
#else
|
||||
__attribute__((always_inline)) static inline
|
||||
#endif
|
||||
int gamemode_request_end(void)
|
||||
{
|
||||
/* Need to load gamemode */
|
||||
if (internal_load_libgamemode() < 0) {
|
||||
#ifdef GAMEMODE_AUTO
|
||||
fprintf(stderr, "gamemodeauto: %s\n", gamemode_error_string());
|
||||
#endif
|
||||
return -1;
|
||||
}
|
||||
|
||||
/* Assert for static analyser that the function is not NULL */
|
||||
assert(REAL_internal_gamemode_request_end != NULL);
|
||||
|
||||
if (REAL_internal_gamemode_request_end() < 0) {
|
||||
#ifdef GAMEMODE_AUTO
|
||||
fprintf(stderr, "gamemodeauto: %s\n", gamemode_error_string());
|
||||
#endif
|
||||
return -1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Redirect to the real libgamemode */
|
||||
__attribute__((always_inline)) static inline int gamemode_query_status(void)
|
||||
{
|
||||
/* Need to load gamemode */
|
||||
if (internal_load_libgamemode() < 0) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (REAL_internal_gamemode_query_status == NULL) {
|
||||
snprintf(internal_gamemode_client_error_string,
|
||||
sizeof(internal_gamemode_client_error_string),
|
||||
"gamemode_query_status missing (older host?)");
|
||||
return -1;
|
||||
}
|
||||
|
||||
return REAL_internal_gamemode_query_status();
|
||||
}
|
||||
|
||||
/* Redirect to the real libgamemode */
|
||||
__attribute__((always_inline)) static inline int gamemode_request_start_for(pid_t pid)
|
||||
{
|
||||
/* Need to load gamemode */
|
||||
if (internal_load_libgamemode() < 0) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (REAL_internal_gamemode_request_start_for == NULL) {
|
||||
snprintf(internal_gamemode_client_error_string,
|
||||
sizeof(internal_gamemode_client_error_string),
|
||||
"gamemode_request_start_for missing (older host?)");
|
||||
return -1;
|
||||
}
|
||||
|
||||
return REAL_internal_gamemode_request_start_for(pid);
|
||||
}
|
||||
|
||||
/* Redirect to the real libgamemode */
|
||||
__attribute__((always_inline)) static inline int gamemode_request_end_for(pid_t pid)
|
||||
{
|
||||
/* Need to load gamemode */
|
||||
if (internal_load_libgamemode() < 0) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (REAL_internal_gamemode_request_end_for == NULL) {
|
||||
snprintf(internal_gamemode_client_error_string,
|
||||
sizeof(internal_gamemode_client_error_string),
|
||||
"gamemode_request_end_for missing (older host?)");
|
||||
return -1;
|
||||
}
|
||||
|
||||
return REAL_internal_gamemode_request_end_for(pid);
|
||||
}
|
||||
|
||||
/* Redirect to the real libgamemode */
|
||||
__attribute__((always_inline)) static inline int gamemode_query_status_for(pid_t pid)
|
||||
{
|
||||
/* Need to load gamemode */
|
||||
if (internal_load_libgamemode() < 0) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (REAL_internal_gamemode_query_status_for == NULL) {
|
||||
snprintf(internal_gamemode_client_error_string,
|
||||
sizeof(internal_gamemode_client_error_string),
|
||||
"gamemode_query_status_for missing (older host?)");
|
||||
return -1;
|
||||
}
|
||||
|
||||
return REAL_internal_gamemode_query_status_for(pid);
|
||||
}
|
||||
|
||||
#endif // CLIENT_GAMEMODE_H
|
||||
13
externals/inih/CMakeLists.txt
vendored
13
externals/inih/CMakeLists.txt
vendored
|
|
@ -1,13 +0,0 @@
|
|||
# SPDX-FileCopyrightText: 2014 Gui Andrade <admin@archshift.com>
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
add_library(inih
|
||||
inih/ini.c
|
||||
inih/ini.h
|
||||
inih/cpp/INIReader.cpp
|
||||
inih/cpp/INIReader.h
|
||||
)
|
||||
|
||||
create_target_directory_groups(inih)
|
||||
target_include_directories(inih INTERFACE inih/cpp)
|
||||
add_library(inih::INIReader ALIAS inih)
|
||||
1
externals/inih/inih
vendored
1
externals/inih/inih
vendored
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 1e80a47dffbda813604f0913e2ad68c7054c14e4
|
||||
7
externals/libusb/CMakeLists.txt
vendored
7
externals/libusb/CMakeLists.txt
vendored
|
|
@ -49,11 +49,6 @@ if (MINGW OR (${CMAKE_SYSTEM_NAME} MATCHES "Linux") OR APPLE)
|
|||
|
||||
set(LIBUSB_INCLUDE_DIRS "${LIBUSB_SRC_DIR}/libusb" CACHE PATH "libusb headers path" FORCE)
|
||||
|
||||
# MINGW: causes "externals/libusb/libusb/libusb/os/windows_winusb.c:1427:2: error: conversion to non-scalar type requested", so cannot statically link it for now.
|
||||
if (NOT MINGW)
|
||||
set(LIBUSB_CFLAGS "-DGUID_DEVINTERFACE_USB_DEVICE=\\(GUID\\){0xA5DCBF10,0x6530,0x11D2,{0x90,0x1F,0x00,0xC0,0x4F,0xB9,0x51,0xED}}")
|
||||
endif()
|
||||
|
||||
make_directory("${LIBUSB_PREFIX}")
|
||||
|
||||
add_custom_command(
|
||||
|
|
@ -146,8 +141,6 @@ else() # MINGW OR (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
|||
target_include_directories(usb BEFORE PRIVATE libusb/msvc)
|
||||
endif()
|
||||
|
||||
# Works around other libraries providing their own definition of USB GUIDs (e.g. SDL2)
|
||||
target_compile_definitions(usb PRIVATE "-DGUID_DEVINTERFACE_USB_DEVICE=(GUID){ 0xA5DCBF10, 0x6530, 0x11D2, {0x90, 0x1F, 0x00, 0xC0, 0x4F, 0xB9, 0x51, 0xED}}")
|
||||
else()
|
||||
target_include_directories(usb
|
||||
# turns out other projects also have "config.h", so make sure the
|
||||
|
|
|
|||
2
externals/libusb/libusb
vendored
2
externals/libusb/libusb
vendored
|
|
@ -1 +1 @@
|
|||
Subproject commit c6a35c56016ea2ab2f19115d2ea1e85e0edae155
|
||||
Subproject commit c060e9ce30ac2e3ffb49d94209c4dae77b6642f7
|
||||
4
externals/nx_tzdb/CMakeLists.txt
vendored
4
externals/nx_tzdb/CMakeLists.txt
vendored
|
|
@ -27,12 +27,12 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Windows" OR ANDROID)
|
|||
set(CAN_BUILD_NX_TZDB false)
|
||||
endif()
|
||||
|
||||
set(NX_TZDB_VERSION "220816")
|
||||
set(NX_TZDB_VERSION "221202")
|
||||
set(NX_TZDB_ARCHIVE "${CMAKE_CURRENT_BINARY_DIR}/${NX_TZDB_VERSION}.zip")
|
||||
|
||||
set(NX_TZDB_ROMFS_DIR "${CMAKE_CURRENT_BINARY_DIR}/nx_tzdb")
|
||||
|
||||
if ((NOT CAN_BUILD_NX_TZDB OR YUZU_DOWNLOAD_TIME_ZONE_DATA) AND NOT EXISTS ${NX_TZDB_ARCHIVE})
|
||||
if ((NOT CAN_BUILD_NX_TZDB OR YUZU_DOWNLOAD_TIME_ZONE_DATA) AND NOT EXISTS ${NX_TZDB_ROMFS_DIR})
|
||||
set(NX_TZDB_DOWNLOAD_URL "https://github.com/lat9nq/tzdb_to_nx/releases/download/${NX_TZDB_VERSION}/${NX_TZDB_VERSION}.zip")
|
||||
|
||||
message(STATUS "Downloading time zone data from ${NX_TZDB_DOWNLOAD_URL}...")
|
||||
|
|
|
|||
4
externals/nx_tzdb/NxTzdbCreateHeader.cmake
vendored
4
externals/nx_tzdb/NxTzdbCreateHeader.cmake
vendored
|
|
@ -11,6 +11,10 @@ execute_process(
|
|||
WORKING_DIRECTORY ${ZONE_PATH}
|
||||
OUTPUT_VARIABLE FILE_LIST)
|
||||
|
||||
if (NOT FILE_LIST)
|
||||
message(FATAL_ERROR "No timezone files found in directory ${ZONE_PATH}, did the download fail?")
|
||||
endif()
|
||||
|
||||
set(DIRECTORY_NAME ${HEADER_NAME})
|
||||
|
||||
set(FILE_DATA "")
|
||||
|
|
|
|||
2
externals/nx_tzdb/tzdb_to_nx
vendored
2
externals/nx_tzdb/tzdb_to_nx
vendored
|
|
@ -1 +1 @@
|
|||
Subproject commit 212afa2394a74226dcf1b7996a570aae17debb69
|
||||
Subproject commit 97929690234f2b4add36b33657fe3fe09bd57dfd
|
||||
1
externals/oaknut
vendored
Submodule
1
externals/oaknut
vendored
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 9d091109deb445bc6e9289c6195a282b7c993d49
|
||||
1
externals/opus
vendored
Submodule
1
externals/opus
vendored
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 101a71e03bbf860aaafb7090a0e440675cb27660
|
||||
259
externals/opus/CMakeLists.txt
vendored
259
externals/opus/CMakeLists.txt
vendored
|
|
@ -1,259 +0,0 @@
|
|||
# SPDX-FileCopyrightText: 2019 yuzu Emulator Project
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
cmake_minimum_required(VERSION 3.8)
|
||||
|
||||
project(opus)
|
||||
|
||||
option(OPUS_STACK_PROTECTOR "Use stack protection" OFF)
|
||||
option(OPUS_USE_ALLOCA "Use alloca for stack arrays (on non-C99 compilers)" OFF)
|
||||
option(OPUS_CUSTOM_MODES "Enable non-Opus modes, e.g. 44.1 kHz & 2^n frames" OFF)
|
||||
option(OPUS_FIXED_POINT "Compile as fixed-point (for machines without a fast enough FPU)" OFF)
|
||||
option(OPUS_ENABLE_FLOAT_API "Compile with the floating point API (for machines with float library" ON)
|
||||
|
||||
include(opus/opus_functions.cmake)
|
||||
|
||||
if(OPUS_STACK_PROTECTOR)
|
||||
if(NOT MSVC) # GC on by default on MSVC
|
||||
check_and_set_flag(STACK_PROTECTION_STRONG -fstack-protector-strong)
|
||||
endif()
|
||||
else()
|
||||
if(MSVC)
|
||||
check_and_set_flag(BUFFER_SECURITY_CHECK /GS-)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
add_library(opus
|
||||
# CELT sources
|
||||
opus/celt/bands.c
|
||||
opus/celt/celt.c
|
||||
opus/celt/celt_decoder.c
|
||||
opus/celt/celt_encoder.c
|
||||
opus/celt/celt_lpc.c
|
||||
opus/celt/cwrs.c
|
||||
opus/celt/entcode.c
|
||||
opus/celt/entdec.c
|
||||
opus/celt/entenc.c
|
||||
opus/celt/kiss_fft.c
|
||||
opus/celt/laplace.c
|
||||
opus/celt/mathops.c
|
||||
opus/celt/mdct.c
|
||||
opus/celt/modes.c
|
||||
opus/celt/pitch.c
|
||||
opus/celt/quant_bands.c
|
||||
opus/celt/rate.c
|
||||
opus/celt/vq.c
|
||||
|
||||
# SILK sources
|
||||
opus/silk/A2NLSF.c
|
||||
opus/silk/CNG.c
|
||||
opus/silk/HP_variable_cutoff.c
|
||||
opus/silk/LPC_analysis_filter.c
|
||||
opus/silk/LPC_fit.c
|
||||
opus/silk/LPC_inv_pred_gain.c
|
||||
opus/silk/LP_variable_cutoff.c
|
||||
opus/silk/NLSF2A.c
|
||||
opus/silk/NLSF_VQ.c
|
||||
opus/silk/NLSF_VQ_weights_laroia.c
|
||||
opus/silk/NLSF_decode.c
|
||||
opus/silk/NLSF_del_dec_quant.c
|
||||
opus/silk/NLSF_encode.c
|
||||
opus/silk/NLSF_stabilize.c
|
||||
opus/silk/NLSF_unpack.c
|
||||
opus/silk/NSQ.c
|
||||
opus/silk/NSQ_del_dec.c
|
||||
opus/silk/PLC.c
|
||||
opus/silk/VAD.c
|
||||
opus/silk/VQ_WMat_EC.c
|
||||
opus/silk/ana_filt_bank_1.c
|
||||
opus/silk/biquad_alt.c
|
||||
opus/silk/bwexpander.c
|
||||
opus/silk/bwexpander_32.c
|
||||
opus/silk/check_control_input.c
|
||||
opus/silk/code_signs.c
|
||||
opus/silk/control_SNR.c
|
||||
opus/silk/control_audio_bandwidth.c
|
||||
opus/silk/control_codec.c
|
||||
opus/silk/dec_API.c
|
||||
opus/silk/decode_core.c
|
||||
opus/silk/decode_frame.c
|
||||
opus/silk/decode_indices.c
|
||||
opus/silk/decode_parameters.c
|
||||
opus/silk/decode_pitch.c
|
||||
opus/silk/decode_pulses.c
|
||||
opus/silk/decoder_set_fs.c
|
||||
opus/silk/enc_API.c
|
||||
opus/silk/encode_indices.c
|
||||
opus/silk/encode_pulses.c
|
||||
opus/silk/gain_quant.c
|
||||
opus/silk/init_decoder.c
|
||||
opus/silk/init_encoder.c
|
||||
opus/silk/inner_prod_aligned.c
|
||||
opus/silk/interpolate.c
|
||||
opus/silk/lin2log.c
|
||||
opus/silk/log2lin.c
|
||||
opus/silk/pitch_est_tables.c
|
||||
opus/silk/process_NLSFs.c
|
||||
opus/silk/quant_LTP_gains.c
|
||||
opus/silk/resampler.c
|
||||
opus/silk/resampler_down2.c
|
||||
opus/silk/resampler_down2_3.c
|
||||
opus/silk/resampler_private_AR2.c
|
||||
opus/silk/resampler_private_IIR_FIR.c
|
||||
opus/silk/resampler_private_down_FIR.c
|
||||
opus/silk/resampler_private_up2_HQ.c
|
||||
opus/silk/resampler_rom.c
|
||||
opus/silk/shell_coder.c
|
||||
opus/silk/sigm_Q15.c
|
||||
opus/silk/sort.c
|
||||
opus/silk/stereo_LR_to_MS.c
|
||||
opus/silk/stereo_MS_to_LR.c
|
||||
opus/silk/stereo_decode_pred.c
|
||||
opus/silk/stereo_encode_pred.c
|
||||
opus/silk/stereo_find_predictor.c
|
||||
opus/silk/stereo_quant_pred.c
|
||||
opus/silk/sum_sqr_shift.c
|
||||
opus/silk/table_LSF_cos.c
|
||||
opus/silk/tables_LTP.c
|
||||
opus/silk/tables_NLSF_CB_NB_MB.c
|
||||
opus/silk/tables_NLSF_CB_WB.c
|
||||
opus/silk/tables_gain.c
|
||||
opus/silk/tables_other.c
|
||||
opus/silk/tables_pitch_lag.c
|
||||
opus/silk/tables_pulses_per_block.c
|
||||
|
||||
# Opus sources
|
||||
opus/src/analysis.c
|
||||
opus/src/mapping_matrix.c
|
||||
opus/src/mlp.c
|
||||
opus/src/mlp_data.c
|
||||
opus/src/opus.c
|
||||
opus/src/opus_decoder.c
|
||||
opus/src/opus_encoder.c
|
||||
opus/src/opus_multistream.c
|
||||
opus/src/opus_multistream_decoder.c
|
||||
opus/src/opus_multistream_encoder.c
|
||||
opus/src/opus_projection_decoder.c
|
||||
opus/src/opus_projection_encoder.c
|
||||
opus/src/repacketizer.c
|
||||
)
|
||||
|
||||
if (DEBUG)
|
||||
target_sources(opus PRIVATE opus/silk/debug.c)
|
||||
endif()
|
||||
|
||||
if (OPUS_FIXED_POINT)
|
||||
target_sources(opus PRIVATE
|
||||
opus/silk/fixed/LTP_analysis_filter_FIX.c
|
||||
opus/silk/fixed/LTP_scale_ctrl_FIX.c
|
||||
opus/silk/fixed/apply_sine_window_FIX.c
|
||||
opus/silk/fixed/autocorr_FIX.c
|
||||
opus/silk/fixed/burg_modified_FIX.c
|
||||
opus/silk/fixed/corrMatrix_FIX.c
|
||||
opus/silk/fixed/encode_frame_FIX.c
|
||||
opus/silk/fixed/find_LPC_FIX.c
|
||||
opus/silk/fixed/find_LTP_FIX.c
|
||||
opus/silk/fixed/find_pitch_lags_FIX.c
|
||||
opus/silk/fixed/find_pred_coefs_FIX.c
|
||||
opus/silk/fixed/k2a_FIX.c
|
||||
opus/silk/fixed/k2a_Q16_FIX.c
|
||||
opus/silk/fixed/noise_shape_analysis_FIX.c
|
||||
opus/silk/fixed/pitch_analysis_core_FIX.c
|
||||
opus/silk/fixed/prefilter_FIX.c
|
||||
opus/silk/fixed/process_gains_FIX.c
|
||||
opus/silk/fixed/regularize_correlations_FIX.c
|
||||
opus/silk/fixed/residual_energy16_FIX.c
|
||||
opus/silk/fixed/residual_energy_FIX.c
|
||||
opus/silk/fixed/schur64_FIX.c
|
||||
opus/silk/fixed/schur_FIX.c
|
||||
opus/silk/fixed/solve_LS_FIX.c
|
||||
opus/silk/fixed/vector_ops_FIX.c
|
||||
opus/silk/fixed/warped_autocorrelation_FIX.c
|
||||
)
|
||||
else()
|
||||
target_sources(opus PRIVATE
|
||||
opus/silk/float/LPC_analysis_filter_FLP.c
|
||||
opus/silk/float/LPC_inv_pred_gain_FLP.c
|
||||
opus/silk/float/LTP_analysis_filter_FLP.c
|
||||
opus/silk/float/LTP_scale_ctrl_FLP.c
|
||||
opus/silk/float/apply_sine_window_FLP.c
|
||||
opus/silk/float/autocorrelation_FLP.c
|
||||
opus/silk/float/burg_modified_FLP.c
|
||||
opus/silk/float/bwexpander_FLP.c
|
||||
opus/silk/float/corrMatrix_FLP.c
|
||||
opus/silk/float/encode_frame_FLP.c
|
||||
opus/silk/float/energy_FLP.c
|
||||
opus/silk/float/find_LPC_FLP.c
|
||||
opus/silk/float/find_LTP_FLP.c
|
||||
opus/silk/float/find_pitch_lags_FLP.c
|
||||
opus/silk/float/find_pred_coefs_FLP.c
|
||||
opus/silk/float/inner_product_FLP.c
|
||||
opus/silk/float/k2a_FLP.c
|
||||
opus/silk/float/noise_shape_analysis_FLP.c
|
||||
opus/silk/float/pitch_analysis_core_FLP.c
|
||||
opus/silk/float/process_gains_FLP.c
|
||||
opus/silk/float/regularize_correlations_FLP.c
|
||||
opus/silk/float/residual_energy_FLP.c
|
||||
opus/silk/float/scale_copy_vector_FLP.c
|
||||
opus/silk/float/scale_vector_FLP.c
|
||||
opus/silk/float/schur_FLP.c
|
||||
opus/silk/float/sort_FLP.c
|
||||
opus/silk/float/warped_autocorrelation_FLP.c
|
||||
opus/silk/float/wrappers_FLP.c
|
||||
)
|
||||
endif()
|
||||
|
||||
target_compile_definitions(opus PRIVATE OPUS_BUILD ENABLE_HARDENING)
|
||||
|
||||
if(NOT MSVC)
|
||||
if(MINGW)
|
||||
target_compile_definitions(opus PRIVATE _FORTIFY_SOURCE=0)
|
||||
else()
|
||||
target_compile_definitions(opus PRIVATE _FORTIFY_SOURCE=2)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# It is strongly recommended to uncomment one of these VAR_ARRAYS: Use C99
|
||||
# variable-length arrays for stack allocation USE_ALLOCA: Use alloca() for stack
|
||||
# allocation If none is defined, then the fallback is a non-threadsafe global
|
||||
# array
|
||||
if(OPUS_USE_ALLOCA OR MSVC)
|
||||
target_compile_definitions(opus PRIVATE USE_ALLOCA)
|
||||
else()
|
||||
target_compile_definitions(opus PRIVATE VAR_ARRAYS)
|
||||
endif()
|
||||
|
||||
if(OPUS_CUSTOM_MODES)
|
||||
target_compile_definitions(opus PRIVATE CUSTOM_MODES)
|
||||
endif()
|
||||
|
||||
if(NOT OPUS_ENABLE_FLOAT_API)
|
||||
target_compile_definitions(opus PRIVATE DISABLE_FLOAT_API)
|
||||
endif()
|
||||
|
||||
target_compile_definitions(opus
|
||||
PUBLIC
|
||||
-DOPUS_VERSION="\\"1.3.1\\""
|
||||
|
||||
PRIVATE
|
||||
# Use C99 intrinsics to speed up float-to-int conversion
|
||||
HAVE_LRINTF
|
||||
)
|
||||
|
||||
if (FIXED_POINT)
|
||||
target_compile_definitions(opus PRIVATE -DFIXED_POINT=1 -DDISABLE_FLOAT_API)
|
||||
endif()
|
||||
|
||||
target_include_directories(opus
|
||||
PUBLIC
|
||||
opus/include
|
||||
|
||||
PRIVATE
|
||||
opus/celt
|
||||
opus/silk
|
||||
opus/silk/fixed
|
||||
opus/silk/float
|
||||
opus/src
|
||||
)
|
||||
|
||||
add_library(Opus::opus ALIAS opus)
|
||||
1
externals/opus/opus
vendored
1
externals/opus/opus
vendored
|
|
@ -1 +0,0 @@
|
|||
Subproject commit ad8fe90db79b7d2a135e3dfd2ed6631b0c5662ab
|
||||
744
externals/renderdoc/renderdoc_app.h
vendored
Normal file
744
externals/renderdoc/renderdoc_app.h
vendored
Normal file
|
|
@ -0,0 +1,744 @@
|
|||
// SPDX-FileCopyrightText: Baldur Karlsson
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
/******************************************************************************
|
||||
* The MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2019-2023 Baldur Karlsson
|
||||
*
|
||||
* 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 THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS 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.
|
||||
******************************************************************************/
|
||||
|
||||
#pragma once
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Documentation for the API is available at https://renderdoc.org/docs/in_application_api.html
|
||||
//
|
||||
|
||||
#if !defined(RENDERDOC_NO_STDINT)
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
#if defined(WIN32) || defined(__WIN32__) || defined(_WIN32) || defined(_MSC_VER)
|
||||
#define RENDERDOC_CC __cdecl
|
||||
#elif defined(__linux__)
|
||||
#define RENDERDOC_CC
|
||||
#elif defined(__APPLE__)
|
||||
#define RENDERDOC_CC
|
||||
#else
|
||||
#error "Unknown platform"
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Constants not used directly in below API
|
||||
|
||||
// This is a GUID/magic value used for when applications pass a path where shader debug
|
||||
// information can be found to match up with a stripped shader.
|
||||
// the define can be used like so: const GUID RENDERDOC_ShaderDebugMagicValue =
|
||||
// RENDERDOC_ShaderDebugMagicValue_value
|
||||
#define RENDERDOC_ShaderDebugMagicValue_struct \
|
||||
{ \
|
||||
0xeab25520, 0x6670, 0x4865, 0x84, 0x29, 0x6c, 0x8, 0x51, 0x54, 0x00, 0xff \
|
||||
}
|
||||
|
||||
// as an alternative when you want a byte array (assuming x86 endianness):
|
||||
#define RENDERDOC_ShaderDebugMagicValue_bytearray \
|
||||
{ \
|
||||
0x20, 0x55, 0xb2, 0xea, 0x70, 0x66, 0x65, 0x48, 0x84, 0x29, 0x6c, 0x8, 0x51, 0x54, 0x00, 0xff \
|
||||
}
|
||||
|
||||
// truncated version when only a uint64_t is available (e.g. Vulkan tags):
|
||||
#define RENDERDOC_ShaderDebugMagicValue_truncated 0x48656670eab25520ULL
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// RenderDoc capture options
|
||||
//
|
||||
|
||||
typedef enum RENDERDOC_CaptureOption
|
||||
{
|
||||
// Allow the application to enable vsync
|
||||
//
|
||||
// Default - enabled
|
||||
//
|
||||
// 1 - The application can enable or disable vsync at will
|
||||
// 0 - vsync is force disabled
|
||||
eRENDERDOC_Option_AllowVSync = 0,
|
||||
|
||||
// Allow the application to enable fullscreen
|
||||
//
|
||||
// Default - enabled
|
||||
//
|
||||
// 1 - The application can enable or disable fullscreen at will
|
||||
// 0 - fullscreen is force disabled
|
||||
eRENDERDOC_Option_AllowFullscreen = 1,
|
||||
|
||||
// Record API debugging events and messages
|
||||
//
|
||||
// Default - disabled
|
||||
//
|
||||
// 1 - Enable built-in API debugging features and records the results into
|
||||
// the capture, which is matched up with events on replay
|
||||
// 0 - no API debugging is forcibly enabled
|
||||
eRENDERDOC_Option_APIValidation = 2,
|
||||
eRENDERDOC_Option_DebugDeviceMode = 2, // deprecated name of this enum
|
||||
|
||||
// Capture CPU callstacks for API events
|
||||
//
|
||||
// Default - disabled
|
||||
//
|
||||
// 1 - Enables capturing of callstacks
|
||||
// 0 - no callstacks are captured
|
||||
eRENDERDOC_Option_CaptureCallstacks = 3,
|
||||
|
||||
// When capturing CPU callstacks, only capture them from actions.
|
||||
// This option does nothing without the above option being enabled
|
||||
//
|
||||
// Default - disabled
|
||||
//
|
||||
// 1 - Only captures callstacks for actions.
|
||||
// Ignored if CaptureCallstacks is disabled
|
||||
// 0 - Callstacks, if enabled, are captured for every event.
|
||||
eRENDERDOC_Option_CaptureCallstacksOnlyDraws = 4,
|
||||
eRENDERDOC_Option_CaptureCallstacksOnlyActions = 4,
|
||||
|
||||
// Specify a delay in seconds to wait for a debugger to attach, after
|
||||
// creating or injecting into a process, before continuing to allow it to run.
|
||||
//
|
||||
// 0 indicates no delay, and the process will run immediately after injection
|
||||
//
|
||||
// Default - 0 seconds
|
||||
//
|
||||
eRENDERDOC_Option_DelayForDebugger = 5,
|
||||
|
||||
// Verify buffer access. This includes checking the memory returned by a Map() call to
|
||||
// detect any out-of-bounds modification, as well as initialising buffers with undefined contents
|
||||
// to a marker value to catch use of uninitialised memory.
|
||||
//
|
||||
// NOTE: This option is only valid for OpenGL and D3D11. Explicit APIs such as D3D12 and Vulkan do
|
||||
// not do the same kind of interception & checking and undefined contents are really undefined.
|
||||
//
|
||||
// Default - disabled
|
||||
//
|
||||
// 1 - Verify buffer access
|
||||
// 0 - No verification is performed, and overwriting bounds may cause crashes or corruption in
|
||||
// RenderDoc.
|
||||
eRENDERDOC_Option_VerifyBufferAccess = 6,
|
||||
|
||||
// The old name for eRENDERDOC_Option_VerifyBufferAccess was eRENDERDOC_Option_VerifyMapWrites.
|
||||
// This option now controls the filling of uninitialised buffers with 0xdddddddd which was
|
||||
// previously always enabled
|
||||
eRENDERDOC_Option_VerifyMapWrites = eRENDERDOC_Option_VerifyBufferAccess,
|
||||
|
||||
// Hooks any system API calls that create child processes, and injects
|
||||
// RenderDoc into them recursively with the same options.
|
||||
//
|
||||
// Default - disabled
|
||||
//
|
||||
// 1 - Hooks into spawned child processes
|
||||
// 0 - Child processes are not hooked by RenderDoc
|
||||
eRENDERDOC_Option_HookIntoChildren = 7,
|
||||
|
||||
// By default RenderDoc only includes resources in the final capture necessary
|
||||
// for that frame, this allows you to override that behaviour.
|
||||
//
|
||||
// Default - disabled
|
||||
//
|
||||
// 1 - all live resources at the time of capture are included in the capture
|
||||
// and available for inspection
|
||||
// 0 - only the resources referenced by the captured frame are included
|
||||
eRENDERDOC_Option_RefAllResources = 8,
|
||||
|
||||
// **NOTE**: As of RenderDoc v1.1 this option has been deprecated. Setting or
|
||||
// getting it will be ignored, to allow compatibility with older versions.
|
||||
// In v1.1 the option acts as if it's always enabled.
|
||||
//
|
||||
// By default RenderDoc skips saving initial states for resources where the
|
||||
// previous contents don't appear to be used, assuming that writes before
|
||||
// reads indicate previous contents aren't used.
|
||||
//
|
||||
// Default - disabled
|
||||
//
|
||||
// 1 - initial contents at the start of each captured frame are saved, even if
|
||||
// they are later overwritten or cleared before being used.
|
||||
// 0 - unless a read is detected, initial contents will not be saved and will
|
||||
// appear as black or empty data.
|
||||
eRENDERDOC_Option_SaveAllInitials = 9,
|
||||
|
||||
// In APIs that allow for the recording of command lists to be replayed later,
|
||||
// RenderDoc may choose to not capture command lists before a frame capture is
|
||||
// triggered, to reduce overheads. This means any command lists recorded once
|
||||
// and replayed many times will not be available and may cause a failure to
|
||||
// capture.
|
||||
//
|
||||
// NOTE: This is only true for APIs where multithreading is difficult or
|
||||
// discouraged. Newer APIs like Vulkan and D3D12 will ignore this option
|
||||
// and always capture all command lists since the API is heavily oriented
|
||||
// around it and the overheads have been reduced by API design.
|
||||
//
|
||||
// 1 - All command lists are captured from the start of the application
|
||||
// 0 - Command lists are only captured if their recording begins during
|
||||
// the period when a frame capture is in progress.
|
||||
eRENDERDOC_Option_CaptureAllCmdLists = 10,
|
||||
|
||||
// Mute API debugging output when the API validation mode option is enabled
|
||||
//
|
||||
// Default - enabled
|
||||
//
|
||||
// 1 - Mute any API debug messages from being displayed or passed through
|
||||
// 0 - API debugging is displayed as normal
|
||||
eRENDERDOC_Option_DebugOutputMute = 11,
|
||||
|
||||
// Option to allow vendor extensions to be used even when they may be
|
||||
// incompatible with RenderDoc and cause corrupted replays or crashes.
|
||||
//
|
||||
// Default - inactive
|
||||
//
|
||||
// No values are documented, this option should only be used when absolutely
|
||||
// necessary as directed by a RenderDoc developer.
|
||||
eRENDERDOC_Option_AllowUnsupportedVendorExtensions = 12,
|
||||
|
||||
// Define a soft memory limit which some APIs may aim to keep overhead under where
|
||||
// possible. Anything above this limit will where possible be saved directly to disk during
|
||||
// capture.
|
||||
// This will cause increased disk space use (which may cause a capture to fail if disk space is
|
||||
// exhausted) as well as slower capture times.
|
||||
//
|
||||
// Not all memory allocations may be deferred like this so it is not a guarantee of a memory
|
||||
// limit.
|
||||
//
|
||||
// Units are in MBs, suggested values would range from 200MB to 1000MB.
|
||||
//
|
||||
// Default - 0 Megabytes
|
||||
eRENDERDOC_Option_SoftMemoryLimit = 13,
|
||||
} RENDERDOC_CaptureOption;
|
||||
|
||||
// Sets an option that controls how RenderDoc behaves on capture.
|
||||
//
|
||||
// Returns 1 if the option and value are valid
|
||||
// Returns 0 if either is invalid and the option is unchanged
|
||||
typedef int(RENDERDOC_CC *pRENDERDOC_SetCaptureOptionU32)(RENDERDOC_CaptureOption opt, uint32_t val);
|
||||
typedef int(RENDERDOC_CC *pRENDERDOC_SetCaptureOptionF32)(RENDERDOC_CaptureOption opt, float val);
|
||||
|
||||
// Gets the current value of an option as a uint32_t
|
||||
//
|
||||
// If the option is invalid, 0xffffffff is returned
|
||||
typedef uint32_t(RENDERDOC_CC *pRENDERDOC_GetCaptureOptionU32)(RENDERDOC_CaptureOption opt);
|
||||
|
||||
// Gets the current value of an option as a float
|
||||
//
|
||||
// If the option is invalid, -FLT_MAX is returned
|
||||
typedef float(RENDERDOC_CC *pRENDERDOC_GetCaptureOptionF32)(RENDERDOC_CaptureOption opt);
|
||||
|
||||
typedef enum RENDERDOC_InputButton
|
||||
{
|
||||
// '0' - '9' matches ASCII values
|
||||
eRENDERDOC_Key_0 = 0x30,
|
||||
eRENDERDOC_Key_1 = 0x31,
|
||||
eRENDERDOC_Key_2 = 0x32,
|
||||
eRENDERDOC_Key_3 = 0x33,
|
||||
eRENDERDOC_Key_4 = 0x34,
|
||||
eRENDERDOC_Key_5 = 0x35,
|
||||
eRENDERDOC_Key_6 = 0x36,
|
||||
eRENDERDOC_Key_7 = 0x37,
|
||||
eRENDERDOC_Key_8 = 0x38,
|
||||
eRENDERDOC_Key_9 = 0x39,
|
||||
|
||||
// 'A' - 'Z' matches ASCII values
|
||||
eRENDERDOC_Key_A = 0x41,
|
||||
eRENDERDOC_Key_B = 0x42,
|
||||
eRENDERDOC_Key_C = 0x43,
|
||||
eRENDERDOC_Key_D = 0x44,
|
||||
eRENDERDOC_Key_E = 0x45,
|
||||
eRENDERDOC_Key_F = 0x46,
|
||||
eRENDERDOC_Key_G = 0x47,
|
||||
eRENDERDOC_Key_H = 0x48,
|
||||
eRENDERDOC_Key_I = 0x49,
|
||||
eRENDERDOC_Key_J = 0x4A,
|
||||
eRENDERDOC_Key_K = 0x4B,
|
||||
eRENDERDOC_Key_L = 0x4C,
|
||||
eRENDERDOC_Key_M = 0x4D,
|
||||
eRENDERDOC_Key_N = 0x4E,
|
||||
eRENDERDOC_Key_O = 0x4F,
|
||||
eRENDERDOC_Key_P = 0x50,
|
||||
eRENDERDOC_Key_Q = 0x51,
|
||||
eRENDERDOC_Key_R = 0x52,
|
||||
eRENDERDOC_Key_S = 0x53,
|
||||
eRENDERDOC_Key_T = 0x54,
|
||||
eRENDERDOC_Key_U = 0x55,
|
||||
eRENDERDOC_Key_V = 0x56,
|
||||
eRENDERDOC_Key_W = 0x57,
|
||||
eRENDERDOC_Key_X = 0x58,
|
||||
eRENDERDOC_Key_Y = 0x59,
|
||||
eRENDERDOC_Key_Z = 0x5A,
|
||||
|
||||
// leave the rest of the ASCII range free
|
||||
// in case we want to use it later
|
||||
eRENDERDOC_Key_NonPrintable = 0x100,
|
||||
|
||||
eRENDERDOC_Key_Divide,
|
||||
eRENDERDOC_Key_Multiply,
|
||||
eRENDERDOC_Key_Subtract,
|
||||
eRENDERDOC_Key_Plus,
|
||||
|
||||
eRENDERDOC_Key_F1,
|
||||
eRENDERDOC_Key_F2,
|
||||
eRENDERDOC_Key_F3,
|
||||
eRENDERDOC_Key_F4,
|
||||
eRENDERDOC_Key_F5,
|
||||
eRENDERDOC_Key_F6,
|
||||
eRENDERDOC_Key_F7,
|
||||
eRENDERDOC_Key_F8,
|
||||
eRENDERDOC_Key_F9,
|
||||
eRENDERDOC_Key_F10,
|
||||
eRENDERDOC_Key_F11,
|
||||
eRENDERDOC_Key_F12,
|
||||
|
||||
eRENDERDOC_Key_Home,
|
||||
eRENDERDOC_Key_End,
|
||||
eRENDERDOC_Key_Insert,
|
||||
eRENDERDOC_Key_Delete,
|
||||
eRENDERDOC_Key_PageUp,
|
||||
eRENDERDOC_Key_PageDn,
|
||||
|
||||
eRENDERDOC_Key_Backspace,
|
||||
eRENDERDOC_Key_Tab,
|
||||
eRENDERDOC_Key_PrtScrn,
|
||||
eRENDERDOC_Key_Pause,
|
||||
|
||||
eRENDERDOC_Key_Max,
|
||||
} RENDERDOC_InputButton;
|
||||
|
||||
// Sets which key or keys can be used to toggle focus between multiple windows
|
||||
//
|
||||
// If keys is NULL or num is 0, toggle keys will be disabled
|
||||
typedef void(RENDERDOC_CC *pRENDERDOC_SetFocusToggleKeys)(RENDERDOC_InputButton *keys, int num);
|
||||
|
||||
// Sets which key or keys can be used to capture the next frame
|
||||
//
|
||||
// If keys is NULL or num is 0, captures keys will be disabled
|
||||
typedef void(RENDERDOC_CC *pRENDERDOC_SetCaptureKeys)(RENDERDOC_InputButton *keys, int num);
|
||||
|
||||
typedef enum RENDERDOC_OverlayBits
|
||||
{
|
||||
// This single bit controls whether the overlay is enabled or disabled globally
|
||||
eRENDERDOC_Overlay_Enabled = 0x1,
|
||||
|
||||
// Show the average framerate over several seconds as well as min/max
|
||||
eRENDERDOC_Overlay_FrameRate = 0x2,
|
||||
|
||||
// Show the current frame number
|
||||
eRENDERDOC_Overlay_FrameNumber = 0x4,
|
||||
|
||||
// Show a list of recent captures, and how many captures have been made
|
||||
eRENDERDOC_Overlay_CaptureList = 0x8,
|
||||
|
||||
// Default values for the overlay mask
|
||||
eRENDERDOC_Overlay_Default = (eRENDERDOC_Overlay_Enabled | eRENDERDOC_Overlay_FrameRate |
|
||||
eRENDERDOC_Overlay_FrameNumber | eRENDERDOC_Overlay_CaptureList),
|
||||
|
||||
// Enable all bits
|
||||
eRENDERDOC_Overlay_All = ~0U,
|
||||
|
||||
// Disable all bits
|
||||
eRENDERDOC_Overlay_None = 0,
|
||||
} RENDERDOC_OverlayBits;
|
||||
|
||||
// returns the overlay bits that have been set
|
||||
typedef uint32_t(RENDERDOC_CC *pRENDERDOC_GetOverlayBits)();
|
||||
// sets the overlay bits with an and & or mask
|
||||
typedef void(RENDERDOC_CC *pRENDERDOC_MaskOverlayBits)(uint32_t And, uint32_t Or);
|
||||
|
||||
// this function will attempt to remove RenderDoc's hooks in the application.
|
||||
//
|
||||
// Note: that this can only work correctly if done immediately after
|
||||
// the module is loaded, before any API work happens. RenderDoc will remove its
|
||||
// injected hooks and shut down. Behaviour is undefined if this is called
|
||||
// after any API functions have been called, and there is still no guarantee of
|
||||
// success.
|
||||
typedef void(RENDERDOC_CC *pRENDERDOC_RemoveHooks)();
|
||||
|
||||
// DEPRECATED: compatibility for code compiled against pre-1.4.1 headers.
|
||||
typedef pRENDERDOC_RemoveHooks pRENDERDOC_Shutdown;
|
||||
|
||||
// This function will unload RenderDoc's crash handler.
|
||||
//
|
||||
// If you use your own crash handler and don't want RenderDoc's handler to
|
||||
// intercede, you can call this function to unload it and any unhandled
|
||||
// exceptions will pass to the next handler.
|
||||
typedef void(RENDERDOC_CC *pRENDERDOC_UnloadCrashHandler)();
|
||||
|
||||
// Sets the capture file path template
|
||||
//
|
||||
// pathtemplate is a UTF-8 string that gives a template for how captures will be named
|
||||
// and where they will be saved.
|
||||
//
|
||||
// Any extension is stripped off the path, and captures are saved in the directory
|
||||
// specified, and named with the filename and the frame number appended. If the
|
||||
// directory does not exist it will be created, including any parent directories.
|
||||
//
|
||||
// If pathtemplate is NULL, the template will remain unchanged
|
||||
//
|
||||
// Example:
|
||||
//
|
||||
// SetCaptureFilePathTemplate("my_captures/example");
|
||||
//
|
||||
// Capture #1 -> my_captures/example_frame123.rdc
|
||||
// Capture #2 -> my_captures/example_frame456.rdc
|
||||
typedef void(RENDERDOC_CC *pRENDERDOC_SetCaptureFilePathTemplate)(const char *pathtemplate);
|
||||
|
||||
// returns the current capture path template, see SetCaptureFileTemplate above, as a UTF-8 string
|
||||
typedef const char *(RENDERDOC_CC *pRENDERDOC_GetCaptureFilePathTemplate)();
|
||||
|
||||
// DEPRECATED: compatibility for code compiled against pre-1.1.2 headers.
|
||||
typedef pRENDERDOC_SetCaptureFilePathTemplate pRENDERDOC_SetLogFilePathTemplate;
|
||||
typedef pRENDERDOC_GetCaptureFilePathTemplate pRENDERDOC_GetLogFilePathTemplate;
|
||||
|
||||
// returns the number of captures that have been made
|
||||
typedef uint32_t(RENDERDOC_CC *pRENDERDOC_GetNumCaptures)();
|
||||
|
||||
// This function returns the details of a capture, by index. New captures are added
|
||||
// to the end of the list.
|
||||
//
|
||||
// filename will be filled with the absolute path to the capture file, as a UTF-8 string
|
||||
// pathlength will be written with the length in bytes of the filename string
|
||||
// timestamp will be written with the time of the capture, in seconds since the Unix epoch
|
||||
//
|
||||
// Any of the parameters can be NULL and they'll be skipped.
|
||||
//
|
||||
// The function will return 1 if the capture index is valid, or 0 if the index is invalid
|
||||
// If the index is invalid, the values will be unchanged
|
||||
//
|
||||
// Note: when captures are deleted in the UI they will remain in this list, so the
|
||||
// capture path may not exist anymore.
|
||||
typedef uint32_t(RENDERDOC_CC *pRENDERDOC_GetCapture)(uint32_t idx, char *filename,
|
||||
uint32_t *pathlength, uint64_t *timestamp);
|
||||
|
||||
// Sets the comments associated with a capture file. These comments are displayed in the
|
||||
// UI program when opening.
|
||||
//
|
||||
// filePath should be a path to the capture file to add comments to. If set to NULL or ""
|
||||
// the most recent capture file created made will be used instead.
|
||||
// comments should be a NULL-terminated UTF-8 string to add as comments.
|
||||
//
|
||||
// Any existing comments will be overwritten.
|
||||
typedef void(RENDERDOC_CC *pRENDERDOC_SetCaptureFileComments)(const char *filePath,
|
||||
const char *comments);
|
||||
|
||||
// returns 1 if the RenderDoc UI is connected to this application, 0 otherwise
|
||||
typedef uint32_t(RENDERDOC_CC *pRENDERDOC_IsTargetControlConnected)();
|
||||
|
||||
// DEPRECATED: compatibility for code compiled against pre-1.1.1 headers.
|
||||
// This was renamed to IsTargetControlConnected in API 1.1.1, the old typedef is kept here for
|
||||
// backwards compatibility with old code, it is castable either way since it's ABI compatible
|
||||
// as the same function pointer type.
|
||||
typedef pRENDERDOC_IsTargetControlConnected pRENDERDOC_IsRemoteAccessConnected;
|
||||
|
||||
// This function will launch the Replay UI associated with the RenderDoc library injected
|
||||
// into the running application.
|
||||
//
|
||||
// if connectTargetControl is 1, the Replay UI will be launched with a command line parameter
|
||||
// to connect to this application
|
||||
// cmdline is the rest of the command line, as a UTF-8 string. E.g. a captures to open
|
||||
// if cmdline is NULL, the command line will be empty.
|
||||
//
|
||||
// returns the PID of the replay UI if successful, 0 if not successful.
|
||||
typedef uint32_t(RENDERDOC_CC *pRENDERDOC_LaunchReplayUI)(uint32_t connectTargetControl,
|
||||
const char *cmdline);
|
||||
|
||||
// RenderDoc can return a higher version than requested if it's backwards compatible,
|
||||
// this function returns the actual version returned. If a parameter is NULL, it will be
|
||||
// ignored and the others will be filled out.
|
||||
typedef void(RENDERDOC_CC *pRENDERDOC_GetAPIVersion)(int *major, int *minor, int *patch);
|
||||
|
||||
// Requests that the replay UI show itself (if hidden or not the current top window). This can be
|
||||
// used in conjunction with IsTargetControlConnected and LaunchReplayUI to intelligently handle
|
||||
// showing the UI after making a capture.
|
||||
//
|
||||
// This will return 1 if the request was successfully passed on, though it's not guaranteed that
|
||||
// the UI will be on top in all cases depending on OS rules. It will return 0 if there is no current
|
||||
// target control connection to make such a request, or if there was another error
|
||||
typedef uint32_t(RENDERDOC_CC *pRENDERDOC_ShowReplayUI)();
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// Capturing functions
|
||||
//
|
||||
|
||||
// A device pointer is a pointer to the API's root handle.
|
||||
//
|
||||
// This would be an ID3D11Device, HGLRC/GLXContext, ID3D12Device, etc
|
||||
typedef void *RENDERDOC_DevicePointer;
|
||||
|
||||
// A window handle is the OS's native window handle
|
||||
//
|
||||
// This would be an HWND, GLXDrawable, etc
|
||||
typedef void *RENDERDOC_WindowHandle;
|
||||
|
||||
// A helper macro for Vulkan, where the device handle cannot be used directly.
|
||||
//
|
||||
// Passing the VkInstance to this macro will return the RENDERDOC_DevicePointer to use.
|
||||
//
|
||||
// Specifically, the value needed is the dispatch table pointer, which sits as the first
|
||||
// pointer-sized object in the memory pointed to by the VkInstance. Thus we cast to a void** and
|
||||
// indirect once.
|
||||
#define RENDERDOC_DEVICEPOINTER_FROM_VKINSTANCE(inst) (*((void **)(inst)))
|
||||
|
||||
// This sets the RenderDoc in-app overlay in the API/window pair as 'active' and it will
|
||||
// respond to keypresses. Neither parameter can be NULL
|
||||
typedef void(RENDERDOC_CC *pRENDERDOC_SetActiveWindow)(RENDERDOC_DevicePointer device,
|
||||
RENDERDOC_WindowHandle wndHandle);
|
||||
|
||||
// capture the next frame on whichever window and API is currently considered active
|
||||
typedef void(RENDERDOC_CC *pRENDERDOC_TriggerCapture)();
|
||||
|
||||
// capture the next N frames on whichever window and API is currently considered active
|
||||
typedef void(RENDERDOC_CC *pRENDERDOC_TriggerMultiFrameCapture)(uint32_t numFrames);
|
||||
|
||||
// When choosing either a device pointer or a window handle to capture, you can pass NULL.
|
||||
// Passing NULL specifies a 'wildcard' match against anything. This allows you to specify
|
||||
// any API rendering to a specific window, or a specific API instance rendering to any window,
|
||||
// or in the simplest case of one window and one API, you can just pass NULL for both.
|
||||
//
|
||||
// In either case, if there are two or more possible matching (device,window) pairs it
|
||||
// is undefined which one will be captured.
|
||||
//
|
||||
// Note: for headless rendering you can pass NULL for the window handle and either specify
|
||||
// a device pointer or leave it NULL as above.
|
||||
|
||||
// Immediately starts capturing API calls on the specified device pointer and window handle.
|
||||
//
|
||||
// If there is no matching thing to capture (e.g. no supported API has been initialised),
|
||||
// this will do nothing.
|
||||
//
|
||||
// The results are undefined (including crashes) if two captures are started overlapping,
|
||||
// even on separate devices and/oror windows.
|
||||
typedef void(RENDERDOC_CC *pRENDERDOC_StartFrameCapture)(RENDERDOC_DevicePointer device,
|
||||
RENDERDOC_WindowHandle wndHandle);
|
||||
|
||||
// Returns whether or not a frame capture is currently ongoing anywhere.
|
||||
//
|
||||
// This will return 1 if a capture is ongoing, and 0 if there is no capture running
|
||||
typedef uint32_t(RENDERDOC_CC *pRENDERDOC_IsFrameCapturing)();
|
||||
|
||||
// Ends capturing immediately.
|
||||
//
|
||||
// This will return 1 if the capture succeeded, and 0 if there was an error capturing.
|
||||
typedef uint32_t(RENDERDOC_CC *pRENDERDOC_EndFrameCapture)(RENDERDOC_DevicePointer device,
|
||||
RENDERDOC_WindowHandle wndHandle);
|
||||
|
||||
// Ends capturing immediately and discard any data stored without saving to disk.
|
||||
//
|
||||
// This will return 1 if the capture was discarded, and 0 if there was an error or no capture
|
||||
// was in progress
|
||||
typedef uint32_t(RENDERDOC_CC *pRENDERDOC_DiscardFrameCapture)(RENDERDOC_DevicePointer device,
|
||||
RENDERDOC_WindowHandle wndHandle);
|
||||
|
||||
// Only valid to be called between a call to StartFrameCapture and EndFrameCapture. Gives a custom
|
||||
// title to the capture produced which will be displayed in the UI.
|
||||
//
|
||||
// If multiple captures are ongoing, this title will be applied to the first capture to end after
|
||||
// this call. The second capture to end will have no title, unless this function is called again.
|
||||
//
|
||||
// Calling this function has no effect if no capture is currently running, and if it is called
|
||||
// multiple times only the last title will be used.
|
||||
typedef void(RENDERDOC_CC *pRENDERDOC_SetCaptureTitle)(const char *title);
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// RenderDoc API versions
|
||||
//
|
||||
|
||||
// RenderDoc uses semantic versioning (http://semver.org/).
|
||||
//
|
||||
// MAJOR version is incremented when incompatible API changes happen.
|
||||
// MINOR version is incremented when functionality is added in a backwards-compatible manner.
|
||||
// PATCH version is incremented when backwards-compatible bug fixes happen.
|
||||
//
|
||||
// Note that this means the API returned can be higher than the one you might have requested.
|
||||
// e.g. if you are running against a newer RenderDoc that supports 1.0.1, it will be returned
|
||||
// instead of 1.0.0. You can check this with the GetAPIVersion entry point
|
||||
typedef enum RENDERDOC_Version
|
||||
{
|
||||
eRENDERDOC_API_Version_1_0_0 = 10000, // RENDERDOC_API_1_0_0 = 1 00 00
|
||||
eRENDERDOC_API_Version_1_0_1 = 10001, // RENDERDOC_API_1_0_1 = 1 00 01
|
||||
eRENDERDOC_API_Version_1_0_2 = 10002, // RENDERDOC_API_1_0_2 = 1 00 02
|
||||
eRENDERDOC_API_Version_1_1_0 = 10100, // RENDERDOC_API_1_1_0 = 1 01 00
|
||||
eRENDERDOC_API_Version_1_1_1 = 10101, // RENDERDOC_API_1_1_1 = 1 01 01
|
||||
eRENDERDOC_API_Version_1_1_2 = 10102, // RENDERDOC_API_1_1_2 = 1 01 02
|
||||
eRENDERDOC_API_Version_1_2_0 = 10200, // RENDERDOC_API_1_2_0 = 1 02 00
|
||||
eRENDERDOC_API_Version_1_3_0 = 10300, // RENDERDOC_API_1_3_0 = 1 03 00
|
||||
eRENDERDOC_API_Version_1_4_0 = 10400, // RENDERDOC_API_1_4_0 = 1 04 00
|
||||
eRENDERDOC_API_Version_1_4_1 = 10401, // RENDERDOC_API_1_4_1 = 1 04 01
|
||||
eRENDERDOC_API_Version_1_4_2 = 10402, // RENDERDOC_API_1_4_2 = 1 04 02
|
||||
eRENDERDOC_API_Version_1_5_0 = 10500, // RENDERDOC_API_1_5_0 = 1 05 00
|
||||
eRENDERDOC_API_Version_1_6_0 = 10600, // RENDERDOC_API_1_6_0 = 1 06 00
|
||||
} RENDERDOC_Version;
|
||||
|
||||
// API version changelog:
|
||||
//
|
||||
// 1.0.0 - initial release
|
||||
// 1.0.1 - Bugfix: IsFrameCapturing() was returning false for captures that were triggered
|
||||
// by keypress or TriggerCapture, instead of Start/EndFrameCapture.
|
||||
// 1.0.2 - Refactor: Renamed eRENDERDOC_Option_DebugDeviceMode to eRENDERDOC_Option_APIValidation
|
||||
// 1.1.0 - Add feature: TriggerMultiFrameCapture(). Backwards compatible with 1.0.x since the new
|
||||
// function pointer is added to the end of the struct, the original layout is identical
|
||||
// 1.1.1 - Refactor: Renamed remote access to target control (to better disambiguate from remote
|
||||
// replay/remote server concept in replay UI)
|
||||
// 1.1.2 - Refactor: Renamed "log file" in function names to just capture, to clarify that these
|
||||
// are captures and not debug logging files. This is the first API version in the v1.0
|
||||
// branch.
|
||||
// 1.2.0 - Added feature: SetCaptureFileComments() to add comments to a capture file that will be
|
||||
// displayed in the UI program on load.
|
||||
// 1.3.0 - Added feature: New capture option eRENDERDOC_Option_AllowUnsupportedVendorExtensions
|
||||
// which allows users to opt-in to allowing unsupported vendor extensions to function.
|
||||
// Should be used at the user's own risk.
|
||||
// Refactor: Renamed eRENDERDOC_Option_VerifyMapWrites to
|
||||
// eRENDERDOC_Option_VerifyBufferAccess, which now also controls initialisation to
|
||||
// 0xdddddddd of uninitialised buffer contents.
|
||||
// 1.4.0 - Added feature: DiscardFrameCapture() to discard a frame capture in progress and stop
|
||||
// capturing without saving anything to disk.
|
||||
// 1.4.1 - Refactor: Renamed Shutdown to RemoveHooks to better clarify what is happening
|
||||
// 1.4.2 - Refactor: Renamed 'draws' to 'actions' in callstack capture option.
|
||||
// 1.5.0 - Added feature: ShowReplayUI() to request that the replay UI show itself if connected
|
||||
// 1.6.0 - Added feature: SetCaptureTitle() which can be used to set a title for a
|
||||
// capture made with StartFrameCapture() or EndFrameCapture()
|
||||
|
||||
typedef struct RENDERDOC_API_1_6_0
|
||||
{
|
||||
pRENDERDOC_GetAPIVersion GetAPIVersion;
|
||||
|
||||
pRENDERDOC_SetCaptureOptionU32 SetCaptureOptionU32;
|
||||
pRENDERDOC_SetCaptureOptionF32 SetCaptureOptionF32;
|
||||
|
||||
pRENDERDOC_GetCaptureOptionU32 GetCaptureOptionU32;
|
||||
pRENDERDOC_GetCaptureOptionF32 GetCaptureOptionF32;
|
||||
|
||||
pRENDERDOC_SetFocusToggleKeys SetFocusToggleKeys;
|
||||
pRENDERDOC_SetCaptureKeys SetCaptureKeys;
|
||||
|
||||
pRENDERDOC_GetOverlayBits GetOverlayBits;
|
||||
pRENDERDOC_MaskOverlayBits MaskOverlayBits;
|
||||
|
||||
// Shutdown was renamed to RemoveHooks in 1.4.1.
|
||||
// These unions allow old code to continue compiling without changes
|
||||
union
|
||||
{
|
||||
pRENDERDOC_Shutdown Shutdown;
|
||||
pRENDERDOC_RemoveHooks RemoveHooks;
|
||||
};
|
||||
pRENDERDOC_UnloadCrashHandler UnloadCrashHandler;
|
||||
|
||||
// Get/SetLogFilePathTemplate was renamed to Get/SetCaptureFilePathTemplate in 1.1.2.
|
||||
// These unions allow old code to continue compiling without changes
|
||||
union
|
||||
{
|
||||
// deprecated name
|
||||
pRENDERDOC_SetLogFilePathTemplate SetLogFilePathTemplate;
|
||||
// current name
|
||||
pRENDERDOC_SetCaptureFilePathTemplate SetCaptureFilePathTemplate;
|
||||
};
|
||||
union
|
||||
{
|
||||
// deprecated name
|
||||
pRENDERDOC_GetLogFilePathTemplate GetLogFilePathTemplate;
|
||||
// current name
|
||||
pRENDERDOC_GetCaptureFilePathTemplate GetCaptureFilePathTemplate;
|
||||
};
|
||||
|
||||
pRENDERDOC_GetNumCaptures GetNumCaptures;
|
||||
pRENDERDOC_GetCapture GetCapture;
|
||||
|
||||
pRENDERDOC_TriggerCapture TriggerCapture;
|
||||
|
||||
// IsRemoteAccessConnected was renamed to IsTargetControlConnected in 1.1.1.
|
||||
// This union allows old code to continue compiling without changes
|
||||
union
|
||||
{
|
||||
// deprecated name
|
||||
pRENDERDOC_IsRemoteAccessConnected IsRemoteAccessConnected;
|
||||
// current name
|
||||
pRENDERDOC_IsTargetControlConnected IsTargetControlConnected;
|
||||
};
|
||||
pRENDERDOC_LaunchReplayUI LaunchReplayUI;
|
||||
|
||||
pRENDERDOC_SetActiveWindow SetActiveWindow;
|
||||
|
||||
pRENDERDOC_StartFrameCapture StartFrameCapture;
|
||||
pRENDERDOC_IsFrameCapturing IsFrameCapturing;
|
||||
pRENDERDOC_EndFrameCapture EndFrameCapture;
|
||||
|
||||
// new function in 1.1.0
|
||||
pRENDERDOC_TriggerMultiFrameCapture TriggerMultiFrameCapture;
|
||||
|
||||
// new function in 1.2.0
|
||||
pRENDERDOC_SetCaptureFileComments SetCaptureFileComments;
|
||||
|
||||
// new function in 1.4.0
|
||||
pRENDERDOC_DiscardFrameCapture DiscardFrameCapture;
|
||||
|
||||
// new function in 1.5.0
|
||||
pRENDERDOC_ShowReplayUI ShowReplayUI;
|
||||
|
||||
// new function in 1.6.0
|
||||
pRENDERDOC_SetCaptureTitle SetCaptureTitle;
|
||||
} RENDERDOC_API_1_6_0;
|
||||
|
||||
typedef RENDERDOC_API_1_6_0 RENDERDOC_API_1_0_0;
|
||||
typedef RENDERDOC_API_1_6_0 RENDERDOC_API_1_0_1;
|
||||
typedef RENDERDOC_API_1_6_0 RENDERDOC_API_1_0_2;
|
||||
typedef RENDERDOC_API_1_6_0 RENDERDOC_API_1_1_0;
|
||||
typedef RENDERDOC_API_1_6_0 RENDERDOC_API_1_1_1;
|
||||
typedef RENDERDOC_API_1_6_0 RENDERDOC_API_1_1_2;
|
||||
typedef RENDERDOC_API_1_6_0 RENDERDOC_API_1_2_0;
|
||||
typedef RENDERDOC_API_1_6_0 RENDERDOC_API_1_3_0;
|
||||
typedef RENDERDOC_API_1_6_0 RENDERDOC_API_1_4_0;
|
||||
typedef RENDERDOC_API_1_6_0 RENDERDOC_API_1_4_1;
|
||||
typedef RENDERDOC_API_1_6_0 RENDERDOC_API_1_4_2;
|
||||
typedef RENDERDOC_API_1_6_0 RENDERDOC_API_1_5_0;
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// RenderDoc API entry point
|
||||
//
|
||||
// This entry point can be obtained via GetProcAddress/dlsym if RenderDoc is available.
|
||||
//
|
||||
// The name is the same as the typedef - "RENDERDOC_GetAPI"
|
||||
//
|
||||
// This function is not thread safe, and should not be called on multiple threads at once.
|
||||
// Ideally, call this once as early as possible in your application's startup, before doing
|
||||
// any API work, since some configuration functionality etc has to be done also before
|
||||
// initialising any APIs.
|
||||
//
|
||||
// Parameters:
|
||||
// version is a single value from the RENDERDOC_Version above.
|
||||
//
|
||||
// outAPIPointers will be filled out with a pointer to the corresponding struct of function
|
||||
// pointers.
|
||||
//
|
||||
// Returns:
|
||||
// 1 - if the outAPIPointers has been filled with a pointer to the API struct requested
|
||||
// 0 - if the requested version is not supported or the arguments are invalid.
|
||||
//
|
||||
typedef int(RENDERDOC_CC *pRENDERDOC_GetAPI)(RENDERDOC_Version version, void **outAPIPointers);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue