mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-06-04 07:38:15 +02:00
Compare commits
645 Commits
6fd5814032
..
v2.2.1
| Author | SHA1 | Date | |
|---|---|---|---|
| 459da42580 | |||
| 3de163a0a3 | |||
| 96d1526951 | |||
| b169d48e62 | |||
| 9f10c7c3a6 | |||
| 6f89c20155 | |||
| 2ef752a7bb | |||
| 75ed2c648a | |||
| 450d666974 | |||
| 0364f7dc59 | |||
| 1417b88d4f | |||
| d7ce570408 | |||
| 35bb3d81f7 | |||
| b94b03e853 | |||
| 4ca44d8068 | |||
| 52e5620b4d | |||
| d112f6dd83 | |||
| fce0188622 | |||
| a6b470a422 | |||
| 332b006ccd | |||
| e7bc48eb70 | |||
| cfb9affde5 | |||
| db236fd2b5 | |||
| 3b133e08b6 | |||
| 3244bd3b30 | |||
| e5826b8a78 | |||
| d6a7450bdd | |||
| 5a0a2fccfe | |||
| 7722e26095 | |||
| d6f472cf6c | |||
| 7ebce77bb3 | |||
| 61d7c6ce95 | |||
| c24f1ade64 | |||
| 083e3db912 | |||
| 1704776df1 | |||
| bae90e5603 | |||
| 6766777dca | |||
| baf5a963f3 | |||
| 36119a1643 | |||
| 5767be94f8 | |||
| a2ba022c01 | |||
| bada4ea193 | |||
| 8c68564be2 | |||
| c7c60c240a | |||
| 2ce5fdeb66 | |||
| 973b177abf | |||
| a27dada134 | |||
| 26eab93f9f | |||
| 4ea92d825a | |||
| ea9bd71245 | |||
| be3030977a | |||
| 2fcc9cfaa0 | |||
| bc1da5a177 | |||
| d189342d6c | |||
| efa56f3c05 | |||
| b71ee5411c | |||
| 4fa376bca3 | |||
| a5f8999b8d | |||
| da48596af4 | |||
| 4a5722539e | |||
| 1856934053 | |||
| 63f04e5dbd | |||
| 5de7ce6adc | |||
| 7f7fd835e1 | |||
| e493fad120 | |||
| 58c44a1cff | |||
| 00da9ebd7e | |||
| c54aff0397 | |||
| 49a66e1abc | |||
| a2996191d3 | |||
| 30cc6cb0d5 | |||
| ad27df221b | |||
| 96bb8c94f5 | |||
| 7991b045f3 | |||
| 8c27a1eb20 | |||
| 0c177eaaa7 | |||
| ff77f3bf9c | |||
| 5c1cfdea60 | |||
| 0a9d423eeb | |||
| ce291c9c47 | |||
| 2dd27f9411 | |||
| 91c87e2b7a | |||
| ac05312375 | |||
| d47f71804b | |||
| 970a1b4575 | |||
| ae9b0beac9 | |||
| b0c8a09697 | |||
| 785fb0808e | |||
| 37bb97b4d1 | |||
| 65aa97ceb5 | |||
| ba60f93434 | |||
| c06a0fb1de | |||
| cc0e674f3a | |||
| e13ea28ae6 | |||
| 312ca527be | |||
| 580352f970 | |||
| 278ea3e756 | |||
| cadfce3e7b | |||
| 5c1771a711 | |||
| 876be807e2 | |||
| 5c18ceeb16 | |||
| 8ff55ee0e7 | |||
| cd9d2dde95 | |||
| 56bbc2204e | |||
| 04294418b7 | |||
| eeb563d2c2 | |||
| f18fa55b59 | |||
| 49dd56ba8f | |||
| 1934e4a478 | |||
| 3e5f370281 | |||
| b156368f9c | |||
| 082f9907b0 | |||
| 430fa0af9e | |||
| 99d20ca740 | |||
| 8470080236 | |||
| a226e4d746 | |||
| f478c44599 | |||
| be01670919 | |||
| b06150f322 | |||
| 6cd0aaa42b | |||
| 87e2c2002d | |||
| 52a18af142 | |||
| f8dc9613d6 | |||
| 07f521d3d5 | |||
| d2a8ac46f6 | |||
| f73fa1b02d | |||
| 2030534cf2 | |||
| 712ac4be64 | |||
| 809bea2fca | |||
| 285bcda21f | |||
| c9870faaf1 | |||
| c6490c979c | |||
| 427e5aa099 | |||
| 55f1df2ec7 | |||
| 273255ecfe | |||
| f9ef8fc790 | |||
| 54b45824b3 | |||
| aa345c7e38 | |||
| 9874c1fd5b | |||
| 1da9fd767d | |||
| c6fefe2ffa | |||
| c60c176a54 | |||
| cd906ca117 | |||
| f6708058b3 | |||
| f07131686f | |||
| 036fa0e7b6 | |||
| b6edf442a2 | |||
| b6660b99d6 | |||
| ffff4722b7 | |||
| 8f4dc6e3b5 | |||
| 6de8d3a4fd | |||
| 24d9b4b6c9 | |||
| 905859acba | |||
| 213a8f6a6d | |||
| 42e62ac3eb | |||
| 30328b1732 | |||
| 335c797c12 | |||
| d3808cde1a | |||
| 9183e7c1e8 | |||
| 17ae77d11a | |||
| d379e5a9fe | |||
| 7d407fc6d1 | |||
| 47f6bc73e9 | |||
| 4987a8ca6e | |||
| ab4d67d764 | |||
| 11ccc041d2 | |||
| 323b16f107 | |||
| 0622684e40 | |||
| f5333882c6 | |||
| 5d4d97e05d | |||
| 5a04ad7781 | |||
| e1add20315 | |||
| 9bb95be679 | |||
| 97ea5e3acf | |||
| 841d140c69 | |||
| fc74873bc6 | |||
| 37ea1b1cd4 | |||
| 1bf92b3b26 | |||
| cda4faa103 | |||
| 5529bbd2e1 | |||
| ec2c444051 | |||
| 56fec8d1ff | |||
| e29f5e7edd | |||
| 17fcb85adc | |||
| b8966d5907 | |||
| 50edf78e7d | |||
| 89b1ae475f | |||
| 44484798e8 | |||
| 8cf08d3490 | |||
| c85a30e669 | |||
| f401b3694a | |||
| f27e5ef043 | |||
| 35b7408eab | |||
| 71d1c20a27 | |||
| 8d879fb5bc | |||
| d1a5bceb03 | |||
| 5bd66fd362 | |||
| 142ea2d39f | |||
| 21964fc628 | |||
| af70e2e354 | |||
| 77f1a2d8f8 | |||
| fc404a4d22 | |||
| 601c2435f1 | |||
| ea950a1901 | |||
| 524da32c65 | |||
| 3153941573 | |||
| 51427dce86 | |||
| 245d556105 | |||
| df05148d22 | |||
| f7ddf3cccb | |||
| 77240013a4 | |||
| 1721632a75 | |||
| d3bf2505f6 | |||
| c6d6c821a9 | |||
| d4bd8b62c5 | |||
| fc6aeab678 | |||
| 53bb936453 | |||
| a7fdb5838d | |||
| ef61b7943e | |||
| 185a2b700c | |||
| da85343e32 | |||
| d8a6676063 | |||
| 47d0cfb20b | |||
| 92c8014af1 | |||
| 101b8dac7b | |||
| cfb41b7b27 | |||
| aa26e528c4 | |||
| e7cb78557f | |||
| 05d07e5b72 | |||
| 8f757cab08 | |||
| c7484b771f | |||
| 418feba7d3 | |||
| 0c35f2702e | |||
| 226430f01e | |||
| ae3be69081 | |||
| 307270532f | |||
| 04f9cb1d95 | |||
| 59455495b6 | |||
| c45a76a5bf | |||
| 632117a3a3 | |||
| 0ea0cde668 | |||
| 74dd8a01e2 | |||
| 09561328ed | |||
| baa0ab0a2c | |||
| fd56e83c7b | |||
| ea2ee83a3e | |||
| 5be3c86de4 | |||
| ae02055e18 | |||
| 74e2d04b7b | |||
| 6ad95ca4c4 | |||
| f08b1f6c8a | |||
| 4d640ed70c | |||
| 85ada83d57 | |||
| c9ca2187b3 | |||
| 6a0f4fd8dc | |||
| cf773b586e | |||
| c718915927 | |||
| 0b3ca8ec0c | |||
| 3f065bc77e | |||
| 8dd6def84d | |||
| 4e1ae347a8 | |||
| 4ed84d43c1 | |||
| 48801d1070 | |||
| e9a8a0cb84 | |||
| 83432cb356 | |||
| 527a88ebaa | |||
| 7079e1e42d | |||
| 7243c67c3e | |||
| 94873df8fe | |||
| 25b605d7d9 | |||
| f743fc717f | |||
| 8191191fff | |||
| 9631305e35 | |||
| 14b42a7c9e | |||
| f50dd2d946 | |||
| 3dd68f9942 | |||
| ffe5704673 | |||
| 20ec13d2b9 | |||
| 77bfe4ff11 | |||
| 33d2b98c55 | |||
| 1adce43d9f | |||
| 466050ee7a | |||
| 6bc505de13 | |||
| d70d748877 | |||
| 6eaf871d45 | |||
| 0a84ea6a18 | |||
| 1b996af83f | |||
| b7d554553b | |||
| d5eeef9559 | |||
| 5cda85d16c | |||
| 9318456afb | |||
| 40fe100ecc | |||
| c1bfc0f27d | |||
| 5a09ebb179 | |||
| 8370ae8324 | |||
| a4fcbf187b | |||
| b15aa648e2 | |||
| 9a88a8502e | |||
| 34a46d643a | |||
| 7ecee717f8 | |||
| 359be83f49 | |||
| 8c8c96bf30 | |||
| e30a243452 | |||
| f8e1cd4a66 | |||
| d5512b72fa | |||
| 86f3d545ee | |||
| 9149f42b95 | |||
| 7aea6682f2 | |||
| d0ca0e4ab7 | |||
| f6dfed48dd | |||
| 5a69dff9d7 | |||
| b7e2164f91 | |||
| 37e9410d12 | |||
| 273858ec8f | |||
| 8f088eb76d | |||
| a7433a6570 | |||
| 3ab445e780 | |||
| dd554cce2a | |||
| a182b53d7f | |||
| a5f85a8a4c | |||
| edb44070a9 | |||
| be19b71c55 | |||
| ae6a86800e | |||
| b85e0444cb | |||
| f8a856db1c | |||
| fc33d33508 | |||
| 14698594d8 | |||
| 024f3fefc3 | |||
| 33872806a1 | |||
| 3b4a1de9f3 | |||
| 5af4c82c1b | |||
| e26af9ae1b | |||
| 8c41eefadb | |||
| 25d86eccee | |||
| 2393261cb0 | |||
| d9d165f17e | |||
| f446c82780 | |||
| 810417a251 | |||
| cc507ea4cf | |||
| 0e04356ea7 | |||
| b5983ac24b | |||
| abc213c808 | |||
| 86671b8919 | |||
| 982e3e6827 | |||
| e2ea602372 | |||
| 7f80671be8 | |||
| 42fc7d9a86 | |||
| 60d3df7969 | |||
| be52578d37 | |||
| 57c5ae5415 | |||
| c6d6e409f1 | |||
| c0dfcd9244 | |||
| 689608b3fe | |||
| 04330a10ac | |||
| a456ad15ce | |||
| e621bb53d4 | |||
| 420ba21b4d | |||
| f3de55d6e9 | |||
| bc1e0fbba9 | |||
| 80c0146ecd | |||
| dbe3bb3cb3 | |||
| 83ecc6e498 | |||
| 8b2965f6dd | |||
| 6c31d3347a | |||
| 7f8ec481f1 | |||
| 25bb57a973 | |||
| 39365f52a2 | |||
| fafc94248d | |||
| edeaff793a | |||
| 2d5758419f | |||
| ba063dae3b | |||
| e018cad851 | |||
| 9ee8041710 | |||
| 1b50e123c5 | |||
| 77563b8449 | |||
| d0923320a3 | |||
| d8cab7aa47 | |||
| fcf4d3d030 | |||
| 05362905f7 | |||
| 6866f2240e | |||
| 1903104247 | |||
| 04db0a7441 | |||
| 91cbb15b66 | |||
| eeded8c8bc | |||
| 58e687c952 | |||
| a0b536483a | |||
| de1e8ed563 | |||
| a832c3ca40 | |||
| 575ee21c7a | |||
| 071bc4596b | |||
| 178690cff3 | |||
| 1d566f74e3 | |||
| eaa1b9afd0 | |||
| a2d40ce844 | |||
| 4dcdcde7d5 | |||
| 8805f91bfd | |||
| b5ca757189 | |||
| c2d27c8434 | |||
| 5f55dd9b9a | |||
| f044b9ab45 | |||
| 8c6ad92f37 | |||
| 34bdb740c2 | |||
| c485f039fb | |||
| 3c60e76094 | |||
| 39650b5c96 | |||
| 0f16255240 | |||
| 91661fd206 | |||
| 6648bd427f | |||
| aa2d0be63f | |||
| 2b557d5be7 | |||
| 36fae5c7d1 | |||
| 68570910e3 | |||
| 697a5e7147 | |||
| 31073c116c | |||
| c6a024d911 | |||
| 66a1b44224 | |||
| f5c581d89c | |||
| 765a04d9b5 | |||
| ac054830b9 | |||
| ccbd7561f4 | |||
| 2859725257 | |||
| f18cce29b3 | |||
| d9a7f337ba | |||
| f8e619ad94 | |||
| ea6450b308 | |||
| 6df9c284b8 | |||
| d6b3f5dcc2 | |||
| 826740906f | |||
| 2c1f5181bf | |||
| e728926521 | |||
| 04af533469 | |||
| 53048bd82a | |||
| d0a19c5312 | |||
| 6e284fb9bc | |||
| ea87c32051 | |||
| d73ade4a85 | |||
| 67bfc73066 | |||
| 8b44a3aa6e | |||
| 36f9fdd53b | |||
| 9c43069e5f | |||
| 0b6e1717d9 | |||
| 41f7b4ef4c | |||
| 418791930c | |||
| 0690ecacd8 | |||
| 36f7efb679 | |||
| a52e33e697 | |||
| 086c5402f5 | |||
| dd1bd43360 | |||
| d515ca5333 | |||
| eeb4695d6c | |||
| e94d3fd70f | |||
| e76f084625 | |||
| 6e1fcb381a | |||
| 52c309a288 | |||
| 9ad28d7cf2 | |||
| 5f21f0bcf9 | |||
| 066eec2cf3 | |||
| 03e21227fa | |||
| 6f05728906 | |||
| 5edc36393a | |||
| af29fc7b39 | |||
| 9795988e14 | |||
| 4087fca980 | |||
| f3efb72a21 | |||
| fc97445875 | |||
| 5babfde870 | |||
| 04ffce60cd | |||
| 9aaa26ddf5 | |||
| df12d08ad3 | |||
| 064f660852 | |||
| bf6389f9a7 | |||
| cae3db0ebf | |||
| 79b01a5007 | |||
| 91927126f2 | |||
| 6fb8932ba9 | |||
| 536cf4c420 | |||
| 1b49794be6 | |||
| 25f73a6967 | |||
| b7424e7f92 | |||
| 0b4b32b5ac | |||
| 1922b409dd | |||
| 80e938c019 | |||
| 68d2c63694 | |||
| 1386fe64cb | |||
| 7fd0ccff94 | |||
| b28b144edb | |||
| 8e33b2fa30 | |||
| cebadef063 | |||
| 57b27adf1a | |||
| d08a97f55c | |||
| c7ad6650d9 | |||
| ac91253f51 | |||
| 3d939675e4 | |||
| 11b1bd147d | |||
| c013237219 | |||
| 8039638885 | |||
| d56b224d42 | |||
| 6ccf2a10d7 | |||
| cfd1aab9e3 | |||
| c5752f773e | |||
| f398126e08 | |||
| 6c0d8829a5 | |||
| cf3f16d832 | |||
| b60ae54e34 | |||
| 7786b07eb8 | |||
| 90b1dac0f5 | |||
| 3c52fd05f3 | |||
| 843d7f0fe2 | |||
| ea2014819d | |||
| e458ef6401 | |||
| 0494ff14da | |||
| c2c2dece61 | |||
| 401e6d13f3 | |||
| 2e5346a0ff | |||
| ce5157a299 | |||
| b5ce2347f6 | |||
| 9e0a0df5ca | |||
| 8f6f50c37f | |||
| c36de40f4a | |||
| 52ca0c0d1b | |||
| 651a05c4bc | |||
| 1cfb8745e2 | |||
| b3f3a01ee6 | |||
| 4acd240737 | |||
| b79b8da031 | |||
| bc7ef4484f | |||
| 9db5515fb5 | |||
| 387a1f5632 | |||
| 0babc2235f | |||
| 1a9a6ec6f8 | |||
| d59d9f285a | |||
| d16af1c4a8 | |||
| 5dcc2045d6 | |||
| 19ce912afe | |||
| 890e301b78 | |||
| 218a97e4ec | |||
| 74e5e35f5a | |||
| e6298b1dc3 | |||
| df860a5a64 | |||
| b22064035a | |||
| 197c71021b | |||
| d5fa70d7ab | |||
| fd8e98f1ce | |||
| 0e10e5f8e1 | |||
| 689c9b3ed4 | |||
| ecd43dedc5 | |||
| dea507ec0e | |||
| 39501f2940 | |||
| 372f818da4 | |||
| 1651f9ba97 | |||
| c7e09f1d8c | |||
| 82529d6dc9 | |||
| 4e30bd02bf | |||
| f8c2abb20b | |||
| 880ac98ca9 | |||
| 49c211cebc | |||
| 38768c85c9 | |||
| c7433ec419 | |||
| d6b6dd955c | |||
| c125dde951 | |||
| 9934b34bba | |||
| 3e3f20513f | |||
| c93d7854d0 | |||
| 9fdb514541 | |||
| 35f5f41258 | |||
| f6201014aa | |||
| c583f1abc8 | |||
| f7cf64cbb9 | |||
| b882771a18 | |||
| 39aa8009a4 | |||
| 5dce6a2c8e | |||
| 52929e215c | |||
| ad60a17da9 | |||
| d29cd56044 | |||
| d6795f97ef | |||
| 2fa7e2d4a9 | |||
| 85c43dabf4 | |||
| e6ed390e84 | |||
| 6cd3422337 | |||
| c0f539b57f | |||
| 497879a0bc | |||
| 5b43b47f90 | |||
| ab4ebc34d5 | |||
| 587e71b940 | |||
| 11073a2cbc | |||
| c1898fb8dd | |||
| 453ee0850b | |||
| 3dd055b406 | |||
| 08cbbfa836 | |||
| ce7e3ac88d | |||
| cc810368aa | |||
| ec757ab292 | |||
| fc9fa1a980 | |||
| 469716e72b | |||
| 254f80b442 | |||
| 4d19598ac2 | |||
| 774f7c41b0 | |||
| 4f8dbc794c | |||
| 281bf2dcd2 | |||
| a7ac7b2318 | |||
| 3b0442df7e | |||
| 6e92a3c32b | |||
| aadfb7449c | |||
| c1f3e49975 | |||
| e39dc7ee7e | |||
| a6b72fbc6f | |||
| 5847172049 | |||
| e98bd490b2 | |||
| 31e08416e0 | |||
| 4edd619841 | |||
| 77f707ca7a | |||
| 5f1298f9ce | |||
| b71c0eafb8 | |||
| 39c7857ccc | |||
| ff6fb56042 | |||
| 0c79a0d01c | |||
| 34cc9d63da | |||
| 3863bd3378 | |||
| 026f83ca81 | |||
| 77d71adc1f | |||
| b4b3bbda54 | |||
| 5f16a98d08 | |||
| f6c6b5e018 | |||
| 8ae152e67a | |||
| 66022c08fb | |||
| 0466c40242 | |||
| 83e6ebb430 | |||
| f4bf7ea6b7 | |||
| d360c8fb6a | |||
| e444856964 | |||
| 7a5e280322 | |||
| 534bea942c | |||
| 3a93881392 | |||
| e9c3fb8046 | |||
| 90c1aaad4b | |||
| 0aae9015a9 | |||
| b170354e7f | |||
| 659f6cc14e | |||
| 72d6802230 | |||
| 4c1043ee17 | |||
| 54fc452aa2 | |||
| f1e0499564 | |||
| 4a67aab716 | |||
| f52c4e51c9 | |||
| 5df9b4d39f |
@@ -11,13 +11,13 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Run Fetch Dependencies Script
|
- name: Run Fetch Dependencies Script
|
||||||
run: cd scripts && bash ./fetch_dependencies.sh
|
run: cd scripts && bash ./fetch_dependencies.sh
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v8
|
uses: peter-evans/create-pull-request@v7
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.REPO_SCOPED_TOKEN }}
|
token: ${{ secrets.REPO_SCOPED_TOKEN }}
|
||||||
delete-branch: true
|
delete-branch: true
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install system dependencies
|
- name: Install system dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install system dependencies
|
- name: Install system dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
# Install system dependencies
|
# Install system dependencies
|
||||||
- name: Install Dependancies
|
- name: Install Dependancies
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- uses: NcStudios/VulkanCI@v1.2
|
- uses: NcStudios/VulkanCI@v1.2
|
||||||
|
|
||||||
@@ -69,7 +69,7 @@ jobs:
|
|||||||
# Save dependencies
|
# Save dependencies
|
||||||
- name: Save cached xmake dependencies
|
- name: Save cached xmake dependencies
|
||||||
if: ${{ !steps.restore-depcache.outputs.cache-hit }}
|
if: ${{ !steps.restore-depcache.outputs.cache-hit }}
|
||||||
uses: actions/cache/save@v5
|
uses: actions/cache/save@v4
|
||||||
with:
|
with:
|
||||||
path: ${{ env.XMAKE_GLOBALDIR }}/.xmake/packages
|
path: ${{ env.XMAKE_GLOBALDIR }}/.xmake/packages
|
||||||
key: ${{ steps.restore-depcache.outputs.cache-primary-key }}
|
key: ${{ steps.restore-depcache.outputs.cache-primary-key }}
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ jobs:
|
|||||||
run: echo "key=$(date +'%W')" >> $GITHUB_OUTPUT
|
run: echo "key=$(date +'%W')" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
# Force xmake to a specific folder (for cache)
|
# Force xmake to a specific folder (for cache)
|
||||||
- name: Set xmake env
|
- name: Set xmake env
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ namespace mlx
|
|||||||
|
|
||||||
inline void UpdateDescriptorSet(std::shared_ptr<DescriptorSet> set)
|
inline void UpdateDescriptorSet(std::shared_ptr<DescriptorSet> set)
|
||||||
{
|
{
|
||||||
p_set = RenderCore::Get().GetDescriptorPoolManager().GetAvailablePool(set->GetShaderLayout(), set->GetShaderType()).RequestDescriptorSet(set->GetShaderLayout(), set->GetShaderType());
|
p_set = RenderCore::Get().GetDescriptorPoolManager().GetAvailablePool().RequestDescriptorSet(set->GetShaderLayout(), set->GetShaderType());
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void Bind(std::size_t frame_index, VkCommandBuffer cmd) = 0;
|
virtual void Bind(std::size_t frame_index, VkCommandBuffer cmd) = 0;
|
||||||
|
|||||||
@@ -26,9 +26,9 @@ namespace mlx
|
|||||||
|
|
||||||
std::shared_ptr<class DescriptorSet> RequestDescriptorSet(const ShaderSetLayout& layout, ShaderType shader_type);
|
std::shared_ptr<class DescriptorSet> RequestDescriptorSet(const ShaderSetLayout& layout, ShaderType shader_type);
|
||||||
void ReturnDescriptorSet(std::shared_ptr<class DescriptorSet> set);
|
void ReturnDescriptorSet(std::shared_ptr<class DescriptorSet> set);
|
||||||
bool CanAllocate(const ShaderSetLayout& layout, ShaderType shader_type) const;
|
|
||||||
|
|
||||||
[[nodiscard]] inline VkDescriptorPool Get() const noexcept { return m_pool; }
|
[[nodiscard]] inline VkDescriptorPool Get() const noexcept { return m_pool; }
|
||||||
|
[[nodiscard]] MLX_FORCEINLINE std::size_t GetNumberOfSetsAllocated() const noexcept { return m_allocation_count; }
|
||||||
|
|
||||||
~DescriptorPool() = default;
|
~DescriptorPool() = default;
|
||||||
|
|
||||||
@@ -36,6 +36,7 @@ namespace mlx
|
|||||||
std::vector<std::shared_ptr<class DescriptorSet>> m_free_sets;
|
std::vector<std::shared_ptr<class DescriptorSet>> m_free_sets;
|
||||||
std::vector<std::shared_ptr<class DescriptorSet>> m_used_sets;
|
std::vector<std::shared_ptr<class DescriptorSet>> m_used_sets;
|
||||||
VkDescriptorPool m_pool;
|
VkDescriptorPool m_pool;
|
||||||
|
std::size_t m_allocation_count = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
class DescriptorPoolManager
|
class DescriptorPoolManager
|
||||||
@@ -43,7 +44,7 @@ namespace mlx
|
|||||||
public:
|
public:
|
||||||
DescriptorPoolManager() = default;
|
DescriptorPoolManager() = default;
|
||||||
|
|
||||||
DescriptorPool& GetAvailablePool(const ShaderSetLayout& layout, ShaderType shader_type);
|
DescriptorPool& GetAvailablePool();
|
||||||
void Destroy();
|
void Destroy();
|
||||||
|
|
||||||
~DescriptorPoolManager() = default;
|
~DescriptorPoolManager() = default;
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ namespace mlx
|
|||||||
m_drop_sdl_responsability = SDL_WasInit(SDL_INIT_VIDEO) || std::getenv("MLX_HEADLESS_MODE") != nullptr;
|
m_drop_sdl_responsability = SDL_WasInit(SDL_INIT_VIDEO) || std::getenv("MLX_HEADLESS_MODE") != nullptr;
|
||||||
if(m_drop_sdl_responsability) // is case the mlx is running in a sandbox like MacroUnitTester where SDL is already init
|
if(m_drop_sdl_responsability) // is case the mlx is running in a sandbox like MacroUnitTester where SDL is already init
|
||||||
return;
|
return;
|
||||||
//SDL_SetMemoryFunctions(MemManager::Get().Malloc, MemManager::Get().Calloc, MemManager::Get().Realloc, MemManager::Get().Free);
|
SDL_SetMemoryFunctions(MemManager::Get().Malloc, MemManager::Get().Calloc, MemManager::Get().Realloc, MemManager::Get().Free);
|
||||||
|
|
||||||
#ifdef FORCE_WAYLAND
|
#ifdef FORCE_WAYLAND
|
||||||
SDL_SetHint(SDL_HINT_VIDEODRIVER, "wayland,x11");
|
SDL_SetHint(SDL_HINT_VIDEODRIVER, "wayland,x11");
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
namespace mlx
|
namespace mlx
|
||||||
{
|
{
|
||||||
constexpr std::size_t MAX_SETS_PER_POOL = 1024;
|
constexpr std::size_t MAX_SETS_PER_POOL = MAX_FRAMES_IN_FLIGHT * 1024;
|
||||||
|
|
||||||
void TransitionImageToCorrectLayout(Image& image, VkCommandBuffer cmd)
|
void TransitionImageToCorrectLayout(Image& image, VkCommandBuffer cmd)
|
||||||
{
|
{
|
||||||
@@ -26,19 +26,19 @@ namespace mlx
|
|||||||
{
|
{
|
||||||
MLX_PROFILE_FUNCTION();
|
MLX_PROFILE_FUNCTION();
|
||||||
VkDescriptorPoolSize pool_sizes[] = {
|
VkDescriptorPoolSize pool_sizes[] = {
|
||||||
{ VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, MAX_FRAMES_IN_FLIGHT * MAX_SETS_PER_POOL },
|
{ VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, MAX_SETS_PER_POOL },
|
||||||
{ VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, MAX_FRAMES_IN_FLIGHT * MAX_SETS_PER_POOL },
|
{ VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, MAX_SETS_PER_POOL },
|
||||||
{ VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, MAX_FRAMES_IN_FLIGHT * MAX_SETS_PER_POOL }
|
{ VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, MAX_SETS_PER_POOL }
|
||||||
};
|
};
|
||||||
|
|
||||||
VkDescriptorPoolCreateInfo pool_info{};
|
VkDescriptorPoolCreateInfo pool_info{};
|
||||||
pool_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO;
|
pool_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO;
|
||||||
pool_info.poolSizeCount = sizeof(pool_sizes) / sizeof(pool_sizes[0]);
|
pool_info.poolSizeCount = sizeof(pool_sizes) / sizeof(pool_sizes[0]);
|
||||||
pool_info.pPoolSizes = pool_sizes;
|
pool_info.pPoolSizes = pool_sizes;
|
||||||
pool_info.maxSets = MAX_FRAMES_IN_FLIGHT * MAX_SETS_PER_POOL;
|
pool_info.maxSets = MAX_SETS_PER_POOL;
|
||||||
pool_info.flags = 0;
|
pool_info.flags = 0;
|
||||||
kvfCheckVk(RenderCore::Get().vkCreateDescriptorPool(RenderCore::Get().GetDevice(), &pool_info, nullptr, &m_pool));
|
kvfCheckVk(RenderCore::Get().vkCreateDescriptorPool(RenderCore::Get().GetDevice(), &pool_info, nullptr, &m_pool));
|
||||||
DebugLog("Vulkan: created new descriptor pool");
|
m_allocation_count = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DescriptorPool::Destroy() noexcept
|
void DescriptorPool::Destroy() noexcept
|
||||||
@@ -52,6 +52,7 @@ namespace mlx
|
|||||||
kvfDestroyDescriptorSetLayout(RenderCore::Get().GetDevice(), set->m_set_layout);
|
kvfDestroyDescriptorSetLayout(RenderCore::Get().GetDevice(), set->m_set_layout);
|
||||||
RenderCore::Get().vkDestroyDescriptorPool(RenderCore::Get().GetDevice(), m_pool, nullptr);
|
RenderCore::Get().vkDestroyDescriptorPool(RenderCore::Get().GetDevice(), m_pool, nullptr);
|
||||||
m_pool = VK_NULL_HANDLE;
|
m_pool = VK_NULL_HANDLE;
|
||||||
|
m_allocation_count = 0;
|
||||||
m_free_sets.clear();
|
m_free_sets.clear();
|
||||||
m_used_sets.clear();
|
m_used_sets.clear();
|
||||||
}
|
}
|
||||||
@@ -102,6 +103,7 @@ namespace mlx
|
|||||||
alloc_info.pSetLayouts = &vulkan_layout;
|
alloc_info.pSetLayouts = &vulkan_layout;
|
||||||
VkDescriptorSet vulkan_set;
|
VkDescriptorSet vulkan_set;
|
||||||
kvfCheckVk(RenderCore::Get().vkAllocateDescriptorSets(RenderCore::Get().GetDevice(), &alloc_info, &vulkan_set));
|
kvfCheckVk(RenderCore::Get().vkAllocateDescriptorSets(RenderCore::Get().GetDevice(), &alloc_info, &vulkan_set));
|
||||||
|
m_allocation_count++;
|
||||||
vulkan_sets[i] = vulkan_set;
|
vulkan_sets[i] = vulkan_set;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -122,23 +124,12 @@ namespace mlx
|
|||||||
m_free_sets.push_back(set);
|
m_free_sets.push_back(set);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool DescriptorPool::CanAllocate(const ShaderSetLayout& layout, ShaderType shader_type) const
|
DescriptorPool& DescriptorPoolManager::GetAvailablePool()
|
||||||
{
|
|
||||||
auto it = std::find_if(m_free_sets.begin(), m_free_sets.end(), [&](std::shared_ptr<DescriptorSet> set)
|
|
||||||
{
|
|
||||||
return shader_type == set->GetShaderType() && layout == set->GetShaderLayout();
|
|
||||||
});
|
|
||||||
if(it != m_free_sets.end())
|
|
||||||
return true;
|
|
||||||
return m_used_sets.size() + m_free_sets.size() < MAX_SETS_PER_POOL;
|
|
||||||
}
|
|
||||||
|
|
||||||
DescriptorPool& DescriptorPoolManager::GetAvailablePool(const ShaderSetLayout& layout, ShaderType shader_type)
|
|
||||||
{
|
{
|
||||||
MLX_PROFILE_FUNCTION();
|
MLX_PROFILE_FUNCTION();
|
||||||
for(auto& pool : m_pools)
|
for(auto& pool : m_pools)
|
||||||
{
|
{
|
||||||
if(pool->CanAllocate(layout, shader_type))
|
if(pool->GetNumberOfSetsAllocated() < MAX_SETS_PER_POOL)
|
||||||
return *pool;
|
return *pool;
|
||||||
}
|
}
|
||||||
m_pools.emplace_back(std::make_unique<DescriptorPool>())->Init();
|
m_pools.emplace_back(std::make_unique<DescriptorPool>())->Init();
|
||||||
|
|||||||
@@ -52,8 +52,8 @@ namespace mlx
|
|||||||
};
|
};
|
||||||
EventBus::RegisterListener({ functor, "mlx_2d_render_pass_" + std::to_string(reinterpret_cast<std::uintptr_t>(this)) });
|
EventBus::RegisterListener({ functor, "mlx_2d_render_pass_" + std::to_string(reinterpret_cast<std::uintptr_t>(this)) });
|
||||||
|
|
||||||
p_viewer_data_set = RenderCore::Get().GetDescriptorPoolManager().GetAvailablePool(p_vertex_shader->GetShaderLayout().set_layouts[0].second, ShaderType::Vertex).RequestDescriptorSet(p_vertex_shader->GetShaderLayout().set_layouts[0].second, ShaderType::Vertex);
|
p_viewer_data_set = RenderCore::Get().GetDescriptorPoolManager().GetAvailablePool().RequestDescriptorSet(p_vertex_shader->GetShaderLayout().set_layouts[0].second, ShaderType::Vertex);
|
||||||
p_texture_set = RenderCore::Get().GetDescriptorPoolManager().GetAvailablePool(p_fragment_shader->GetShaderLayout().set_layouts[0].second, ShaderType::Fragment).RequestDescriptorSet(p_fragment_shader->GetShaderLayout().set_layouts[0].second, ShaderType::Fragment);
|
p_texture_set = RenderCore::Get().GetDescriptorPoolManager().GetAvailablePool().RequestDescriptorSet(p_fragment_shader->GetShaderLayout().set_layouts[0].second, ShaderType::Fragment);
|
||||||
|
|
||||||
p_viewer_data_buffer = std::make_shared<UniformBuffer>();
|
p_viewer_data_buffer = std::make_shared<UniformBuffer>();
|
||||||
p_viewer_data_buffer->Init(sizeof(ViewerData), "mlx_2d_pass_viewer_data");
|
p_viewer_data_buffer->Init(sizeof(ViewerData), "mlx_2d_pass_viewer_data");
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ namespace mlx
|
|||||||
};
|
};
|
||||||
EventBus::RegisterListener({ functor, "mlx_final_pass_" + std::to_string(reinterpret_cast<std::uintptr_t>(this)) });
|
EventBus::RegisterListener({ functor, "mlx_final_pass_" + std::to_string(reinterpret_cast<std::uintptr_t>(this)) });
|
||||||
|
|
||||||
p_set = RenderCore::Get().GetDescriptorPoolManager().GetAvailablePool(p_fragment_shader->GetShaderLayout().set_layouts[0].second, ShaderType::Fragment).RequestDescriptorSet(p_fragment_shader->GetShaderLayout().set_layouts[0].second, ShaderType::Fragment);
|
p_set = RenderCore::Get().GetDescriptorPoolManager().GetAvailablePool().RequestDescriptorSet(p_fragment_shader->GetShaderLayout().set_layouts[0].second, ShaderType::Fragment);
|
||||||
}
|
}
|
||||||
|
|
||||||
void FinalPass::Pass([[maybe_unused]] Scene& scene, Renderer& renderer, Texture& render_target, NonOwningPtr<class Texture> final_target)
|
void FinalPass::Pass([[maybe_unused]] Scene& scene, Renderer& renderer, Texture& render_target, NonOwningPtr<class Texture> final_target)
|
||||||
|
|||||||
Vendored
+3
-25
@@ -104,7 +104,6 @@ void kvfSetValidationWarningCallback(KvfErrorCallback callback);
|
|||||||
void kvfAddLayer(const char* layer);
|
void kvfAddLayer(const char* layer);
|
||||||
|
|
||||||
VkInstance kvfCreateInstance(const char** extensions_enabled, uint32_t extensions_count);
|
VkInstance kvfCreateInstance(const char** extensions_enabled, uint32_t extensions_count);
|
||||||
VkInstance kvfCreateInstanceNext(const char** extensions_enabled, uint32_t extensions_count, void* p_next);
|
|
||||||
void kvfDestroyInstance(VkInstance instance);
|
void kvfDestroyInstance(VkInstance instance);
|
||||||
|
|
||||||
// If surfaces given to theses functions are VK_NULL_HANDLE no present queues will be searched and thus kvfQueuePresentKHR will not work
|
// If surfaces given to theses functions are VK_NULL_HANDLE no present queues will be searched and thus kvfQueuePresentKHR will not work
|
||||||
@@ -236,7 +235,6 @@ VkPipeline kvfCreateGraphicsPipeline(VkDevice device, VkPipelineCache cache, VkP
|
|||||||
void kvfDestroyPipeline(VkDevice device, VkPipeline pipeline);
|
void kvfDestroyPipeline(VkDevice device, VkPipeline pipeline);
|
||||||
|
|
||||||
void kvfCheckVk(VkResult result);
|
void kvfCheckVk(VkResult result);
|
||||||
int32_t kvfFindMemoryType(VkPhysicalDevice physical_device, uint32_t type_filter, VkMemoryPropertyFlags properties);
|
|
||||||
|
|
||||||
#ifdef KVF_IMPL_VK_NO_PROTOTYPES
|
#ifdef KVF_IMPL_VK_NO_PROTOTYPES
|
||||||
#ifdef KVF_DEFINE_VULKAN_FUNCTION_PROTOTYPE
|
#ifdef KVF_DEFINE_VULKAN_FUNCTION_PROTOTYPE
|
||||||
@@ -521,19 +519,6 @@ void kvfCheckVk(VkResult result)
|
|||||||
__kvfCheckVk(result);
|
__kvfCheckVk(result);
|
||||||
}
|
}
|
||||||
|
|
||||||
int32_t kvfFindMemoryType(VkPhysicalDevice physical_device, uint32_t type_filter, VkMemoryPropertyFlags properties)
|
|
||||||
{
|
|
||||||
VkPhysicalDeviceMemoryProperties mem_properties;
|
|
||||||
KVF_GET_INSTANCE_FUNCTION(vkGetPhysicalDeviceMemoryProperties)(physical_device, &mem_properties);
|
|
||||||
|
|
||||||
for(int32_t i = 0; i < mem_properties.memoryTypeCount; i++)
|
|
||||||
{
|
|
||||||
if((type_filter & (1 << i)) && (mem_properties.memoryTypes[i].propertyFlags & properties) == properties)
|
|
||||||
return i;
|
|
||||||
}
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
void __kvfAddDeviceToArray(VkPhysicalDevice device, int32_t graphics_queue, int32_t present_queue, int32_t compute_queue)
|
void __kvfAddDeviceToArray(VkPhysicalDevice device, int32_t graphics_queue, int32_t present_queue, int32_t compute_queue)
|
||||||
{
|
{
|
||||||
KVF_ASSERT(device != VK_NULL_HANDLE);
|
KVF_ASSERT(device != VK_NULL_HANDLE);
|
||||||
@@ -1166,7 +1151,7 @@ const char* kvfVerbaliseVkResult(VkResult result)
|
|||||||
case VK_ERROR_OUT_OF_DATE_KHR: return "A surface has changed in such a way that it is no longer compatible with the swapchain";
|
case VK_ERROR_OUT_OF_DATE_KHR: return "A surface has changed in such a way that it is no longer compatible with the swapchain";
|
||||||
case VK_ERROR_INCOMPATIBLE_DISPLAY_KHR: return "The display used by a swapchain does not use the same presentable image layout";
|
case VK_ERROR_INCOMPATIBLE_DISPLAY_KHR: return "The display used by a swapchain does not use the same presentable image layout";
|
||||||
case VK_ERROR_NATIVE_WINDOW_IN_USE_KHR: return "The requested window is already connected to a VkSurfaceKHR, or to some other non-Vulkan API";
|
case VK_ERROR_NATIVE_WINDOW_IN_USE_KHR: return "The requested window is already connected to a VkSurfaceKHR, or to some other non-Vulkan API";
|
||||||
case VK_ERROR_VALIDATION_FAILED: return "A command failed because invalid usage was detected by the implementation or a validation layer.";
|
case VK_ERROR_VALIDATION_FAILED_EXT: return "A validation layer found an error";
|
||||||
|
|
||||||
default: return "Unknown Vulkan error";
|
default: return "Unknown Vulkan error";
|
||||||
}
|
}
|
||||||
@@ -1310,11 +1295,6 @@ void kvfAddLayer(const char* layer)
|
|||||||
}
|
}
|
||||||
|
|
||||||
VkInstance kvfCreateInstance(const char** extensions_enabled, uint32_t extensions_count)
|
VkInstance kvfCreateInstance(const char** extensions_enabled, uint32_t extensions_count)
|
||||||
{
|
|
||||||
return kvfCreateInstanceNext(extensions_enabled, extensions_count, NULL);
|
|
||||||
}
|
|
||||||
|
|
||||||
VkInstance kvfCreateInstanceNext(const char** extensions_enabled, uint32_t extensions_count, void* p_next)
|
|
||||||
{
|
{
|
||||||
VkInstance instance = VK_NULL_HANDLE;
|
VkInstance instance = VK_NULL_HANDLE;
|
||||||
|
|
||||||
@@ -1325,7 +1305,7 @@ VkInstance kvfCreateInstanceNext(const char** extensions_enabled, uint32_t exten
|
|||||||
create_info.ppEnabledExtensionNames = extensions_enabled;
|
create_info.ppEnabledExtensionNames = extensions_enabled;
|
||||||
create_info.enabledLayerCount = 0;
|
create_info.enabledLayerCount = 0;
|
||||||
create_info.ppEnabledLayerNames = NULL;
|
create_info.ppEnabledLayerNames = NULL;
|
||||||
create_info.pNext = p_next;
|
create_info.pNext = NULL;
|
||||||
#if defined(VK_USE_PLATFORM_MACOS_MVK) || defined(VK_USE_PLATFORM_METAL_EXT)
|
#if defined(VK_USE_PLATFORM_MACOS_MVK) || defined(VK_USE_PLATFORM_METAL_EXT)
|
||||||
create_info.flags = VK_INSTANCE_CREATE_ENUMERATE_PORTABILITY_BIT_KHR;
|
create_info.flags = VK_INSTANCE_CREATE_ENUMERATE_PORTABILITY_BIT_KHR;
|
||||||
#else
|
#else
|
||||||
@@ -1344,8 +1324,6 @@ VkInstance kvfCreateInstanceNext(const char** extensions_enabled, uint32_t exten
|
|||||||
memcpy(new_extension_set, extensions_enabled, sizeof(char*) * extensions_count);
|
memcpy(new_extension_set, extensions_enabled, sizeof(char*) * extensions_count);
|
||||||
new_extension_set[extensions_count] = VK_EXT_DEBUG_UTILS_EXTENSION_NAME;
|
new_extension_set[extensions_count] = VK_EXT_DEBUG_UTILS_EXTENSION_NAME;
|
||||||
|
|
||||||
debug_create_info.pNext = p_next;
|
|
||||||
|
|
||||||
create_info.enabledExtensionCount = extensions_count + 1;
|
create_info.enabledExtensionCount = extensions_count + 1;
|
||||||
create_info.ppEnabledExtensionNames = new_extension_set;
|
create_info.ppEnabledExtensionNames = new_extension_set;
|
||||||
create_info.enabledLayerCount = __kvf_extra_layers_count;
|
create_info.enabledLayerCount = __kvf_extra_layers_count;
|
||||||
@@ -2338,7 +2316,7 @@ void kvfCopyBufferToImage(VkCommandBuffer cmd, VkImage dst, VkBuffer src, size_t
|
|||||||
|
|
||||||
void kvfDestroyBuffer(VkDevice device, VkBuffer buffer)
|
void kvfDestroyBuffer(VkDevice device, VkBuffer buffer)
|
||||||
{
|
{
|
||||||
if(buffer == VK_NULL_HANDLE)
|
if(buffer != VK_NULL_HANDLE)
|
||||||
return;
|
return;
|
||||||
KVF_ASSERT(device != VK_NULL_HANDLE);
|
KVF_ASSERT(device != VK_NULL_HANDLE);
|
||||||
__KvfDevice* kvf_device = __kvfGetKvfDeviceFromVkDevice(device);
|
__KvfDevice* kvf_device = __kvfGetKvfDeviceFromVkDevice(device);
|
||||||
|
|||||||
+1
-1
@@ -144,7 +144,7 @@ typedef enum StdVideoAV1ColorPrimaries {
|
|||||||
STD_VIDEO_AV1_COLOR_PRIMARIES_SMPTE_432 = 12,
|
STD_VIDEO_AV1_COLOR_PRIMARIES_SMPTE_432 = 12,
|
||||||
STD_VIDEO_AV1_COLOR_PRIMARIES_EBU_3213 = 22,
|
STD_VIDEO_AV1_COLOR_PRIMARIES_EBU_3213 = 22,
|
||||||
STD_VIDEO_AV1_COLOR_PRIMARIES_INVALID = 0x7FFFFFFF,
|
STD_VIDEO_AV1_COLOR_PRIMARIES_INVALID = 0x7FFFFFFF,
|
||||||
// STD_VIDEO_AV1_COLOR_PRIMARIES_BT_UNSPECIFIED is a legacy alias
|
// STD_VIDEO_AV1_COLOR_PRIMARIES_BT_UNSPECIFIED is a deprecated alias
|
||||||
STD_VIDEO_AV1_COLOR_PRIMARIES_BT_UNSPECIFIED = STD_VIDEO_AV1_COLOR_PRIMARIES_UNSPECIFIED,
|
STD_VIDEO_AV1_COLOR_PRIMARIES_BT_UNSPECIFIED = STD_VIDEO_AV1_COLOR_PRIMARIES_UNSPECIFIED,
|
||||||
STD_VIDEO_AV1_COLOR_PRIMARIES_MAX_ENUM = 0x7FFFFFFF
|
STD_VIDEO_AV1_COLOR_PRIMARIES_MAX_ENUM = 0x7FFFFFFF
|
||||||
} StdVideoAV1ColorPrimaries;
|
} StdVideoAV1ColorPrimaries;
|
||||||
|
|||||||
Vendored
+280
-594
File diff suppressed because it is too large
Load Diff
Vendored
+2020
-2780
File diff suppressed because it is too large
Load Diff
Vendored
+1870
-2471
File diff suppressed because it is too large
Load Diff
Vendored
+1213
-1467
File diff suppressed because it is too large
Load Diff
+97
-407
File diff suppressed because it is too large
Load Diff
+1
-931
File diff suppressed because it is too large
Load Diff
Vendored
+4615
-5503
File diff suppressed because it is too large
Load Diff
+3458
-4142
File diff suppressed because it is too large
Load Diff
Vendored
+65
-715
File diff suppressed because it is too large
Load Diff
+12
-15
@@ -35,18 +35,6 @@
|
|||||||
# include <ciso646>
|
# include <ciso646>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define VULKAN_HPP_STRINGIFY2( text ) #text
|
|
||||||
#define VULKAN_HPP_STRINGIFY( text ) VULKAN_HPP_STRINGIFY2( text )
|
|
||||||
#define VULKAN_HPP_NAMESPACE_STRING VULKAN_HPP_STRINGIFY( VULKAN_HPP_NAMESPACE )
|
|
||||||
|
|
||||||
#if defined( __clang__ ) || defined( __GNUC__ ) || defined( __GNUG__ )
|
|
||||||
# define VULKAN_HPP_COMPILE_WARNING( text ) _Pragma( VULKAN_HPP_STRINGIFY( GCC warning text ) )
|
|
||||||
#elif defined( _MSC_VER )
|
|
||||||
# define VULKAN_HPP_COMPILE_WARNING( text ) _Pragma( VULKAN_HPP_STRINGIFY( message( __FILE__ "(" VULKAN_HPP_STRINGIFY( __LINE__ ) "): warning: " text ) ) )
|
|
||||||
#else
|
|
||||||
# define VULKAN_HPP_COMPILE_WARNING( text )
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined( VULKAN_HPP_DISABLE_ENHANCED_MODE )
|
#if defined( VULKAN_HPP_DISABLE_ENHANCED_MODE )
|
||||||
# if !defined( VULKAN_HPP_NO_SMART_HANDLE )
|
# if !defined( VULKAN_HPP_NO_SMART_HANDLE )
|
||||||
# define VULKAN_HPP_NO_SMART_HANDLE
|
# define VULKAN_HPP_NO_SMART_HANDLE
|
||||||
@@ -99,8 +87,8 @@
|
|||||||
# define VULKAN_HPP_SUPPORT_SPAN
|
# define VULKAN_HPP_SUPPORT_SPAN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined( VULKAN_HPP_CXX_MODULE ) && !( defined( __cpp_modules ) && defined( __cpp_lib_modules ) )
|
#if !defined( VULKAN_HPP_STD_MODULE ) && defined( __cpp_modules ) && defined( __cpp_lib_modules )
|
||||||
VULKAN_HPP_COMPILE_WARNING( "This is a non-conforming implementation of C++ named modules and the standard library module." )
|
# define VULKAN_HPP_STD_MODULE std.compat
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef VK_USE_64_BIT_PTR_DEFINES
|
#ifndef VK_USE_64_BIT_PTR_DEFINES
|
||||||
@@ -237,6 +225,10 @@ VULKAN_HPP_COMPILE_WARNING( "This is a non-conforming implementation of C++ name
|
|||||||
# define VULKAN_HPP_NAMESPACE vk
|
# define VULKAN_HPP_NAMESPACE vk
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define VULKAN_HPP_STRINGIFY2( text ) #text
|
||||||
|
#define VULKAN_HPP_STRINGIFY( text ) VULKAN_HPP_STRINGIFY2( text )
|
||||||
|
#define VULKAN_HPP_NAMESPACE_STRING VULKAN_HPP_STRINGIFY( VULKAN_HPP_NAMESPACE )
|
||||||
|
|
||||||
#if !defined( VULKAN_HPP_DISPATCH_LOADER_DYNAMIC )
|
#if !defined( VULKAN_HPP_DISPATCH_LOADER_DYNAMIC )
|
||||||
# if defined( VK_NO_PROTOTYPES )
|
# if defined( VK_NO_PROTOTYPES )
|
||||||
# define VULKAN_HPP_DISPATCH_LOADER_DYNAMIC 1
|
# define VULKAN_HPP_DISPATCH_LOADER_DYNAMIC 1
|
||||||
@@ -315,11 +307,16 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined( VULKAN_HPP_NO_DEFAULT_DISPATCHER )
|
#if defined( VULKAN_HPP_NO_DEFAULT_DISPATCHER )
|
||||||
|
# define VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT
|
||||||
|
# define VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT
|
||||||
|
# define VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT
|
||||||
# define VULKAN_HPP_DEFAULT_ASSIGNMENT( assignment )
|
# define VULKAN_HPP_DEFAULT_ASSIGNMENT( assignment )
|
||||||
#else
|
#else
|
||||||
|
# define VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT = {}
|
||||||
|
# define VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT = nullptr
|
||||||
|
# define VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT = VULKAN_HPP_DEFAULT_DISPATCHER
|
||||||
# define VULKAN_HPP_DEFAULT_ASSIGNMENT( assignment ) = assignment
|
# define VULKAN_HPP_DEFAULT_ASSIGNMENT( assignment ) = assignment
|
||||||
#endif
|
#endif
|
||||||
#define VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT VULKAN_HPP_DEFAULT_ASSIGNMENT( VULKAN_HPP_DEFAULT_DISPATCHER )
|
|
||||||
|
|
||||||
#if !defined( VULKAN_HPP_RAII_NAMESPACE )
|
#if !defined( VULKAN_HPP_RAII_NAMESPACE )
|
||||||
# define VULKAN_HPP_RAII_NAMESPACE raii
|
# define VULKAN_HPP_RAII_NAMESPACE raii
|
||||||
|
|||||||
Vendored
-69
@@ -19,75 +19,6 @@ extern "C" {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
// VK_OHOS_external_memory is a preprocessor guard. Do not pass it to API calls.
|
|
||||||
#define VK_OHOS_external_memory 1
|
|
||||||
struct OH_NativeBuffer;
|
|
||||||
#define VK_OHOS_EXTERNAL_MEMORY_SPEC_VERSION 1
|
|
||||||
#define VK_OHOS_EXTERNAL_MEMORY_EXTENSION_NAME "VK_OHOS_external_memory"
|
|
||||||
typedef struct VkNativeBufferUsageOHOS {
|
|
||||||
VkStructureType sType;
|
|
||||||
void* pNext;
|
|
||||||
uint64_t OHOSNativeBufferUsage;
|
|
||||||
} VkNativeBufferUsageOHOS;
|
|
||||||
|
|
||||||
typedef struct VkNativeBufferPropertiesOHOS {
|
|
||||||
VkStructureType sType;
|
|
||||||
void* pNext;
|
|
||||||
VkDeviceSize allocationSize;
|
|
||||||
uint32_t memoryTypeBits;
|
|
||||||
} VkNativeBufferPropertiesOHOS;
|
|
||||||
|
|
||||||
typedef struct VkNativeBufferFormatPropertiesOHOS {
|
|
||||||
VkStructureType sType;
|
|
||||||
void* pNext;
|
|
||||||
VkFormat format;
|
|
||||||
uint64_t externalFormat;
|
|
||||||
VkFormatFeatureFlags formatFeatures;
|
|
||||||
VkComponentMapping samplerYcbcrConversionComponents;
|
|
||||||
VkSamplerYcbcrModelConversion suggestedYcbcrModel;
|
|
||||||
VkSamplerYcbcrRange suggestedYcbcrRange;
|
|
||||||
VkChromaLocation suggestedXChromaOffset;
|
|
||||||
VkChromaLocation suggestedYChromaOffset;
|
|
||||||
} VkNativeBufferFormatPropertiesOHOS;
|
|
||||||
|
|
||||||
typedef struct VkImportNativeBufferInfoOHOS {
|
|
||||||
VkStructureType sType;
|
|
||||||
const void* pNext;
|
|
||||||
struct OH_NativeBuffer* buffer;
|
|
||||||
} VkImportNativeBufferInfoOHOS;
|
|
||||||
|
|
||||||
typedef struct VkMemoryGetNativeBufferInfoOHOS {
|
|
||||||
VkStructureType sType;
|
|
||||||
const void* pNext;
|
|
||||||
VkDeviceMemory memory;
|
|
||||||
} VkMemoryGetNativeBufferInfoOHOS;
|
|
||||||
|
|
||||||
typedef struct VkExternalFormatOHOS {
|
|
||||||
VkStructureType sType;
|
|
||||||
void* pNext;
|
|
||||||
uint64_t externalFormat;
|
|
||||||
} VkExternalFormatOHOS;
|
|
||||||
|
|
||||||
typedef VkResult (VKAPI_PTR *PFN_vkGetNativeBufferPropertiesOHOS)(VkDevice device, const struct OH_NativeBuffer* buffer, VkNativeBufferPropertiesOHOS* pProperties);
|
|
||||||
typedef VkResult (VKAPI_PTR *PFN_vkGetMemoryNativeBufferOHOS)(VkDevice device, const VkMemoryGetNativeBufferInfoOHOS* pInfo, struct OH_NativeBuffer** pBuffer);
|
|
||||||
|
|
||||||
#ifndef VK_NO_PROTOTYPES
|
|
||||||
#ifndef VK_ONLY_EXPORTED_PROTOTYPES
|
|
||||||
VKAPI_ATTR VkResult VKAPI_CALL vkGetNativeBufferPropertiesOHOS(
|
|
||||||
VkDevice device,
|
|
||||||
const struct OH_NativeBuffer* buffer,
|
|
||||||
VkNativeBufferPropertiesOHOS* pProperties);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef VK_ONLY_EXPORTED_PROTOTYPES
|
|
||||||
VKAPI_ATTR VkResult VKAPI_CALL vkGetMemoryNativeBufferOHOS(
|
|
||||||
VkDevice device,
|
|
||||||
const VkMemoryGetNativeBufferInfoOHOS* pInfo,
|
|
||||||
struct OH_NativeBuffer** pBuffer);
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
// VK_OHOS_surface is a preprocessor guard. Do not pass it to API calls.
|
// VK_OHOS_surface is a preprocessor guard. Do not pass it to API calls.
|
||||||
#define VK_OHOS_surface 1
|
#define VK_OHOS_surface 1
|
||||||
typedef struct NativeWindow OHNativeWindow;
|
typedef struct NativeWindow OHNativeWindow;
|
||||||
|
|||||||
Vendored
+1286
-1792
File diff suppressed because it is too large
Load Diff
Vendored
+74
-64
@@ -321,12 +321,13 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
# pragma clang diagnostic ignored "-Wcast-function-type"
|
# pragma clang diagnostic ignored "-Wcast-function-type"
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
template <typename HandleType, typename Dispatcher = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
template <typename HandleType>
|
||||||
class ObjectDestroyShared
|
class ObjectDestroyShared
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
using DestructorType = typename SharedHandleTraits<HandleType>::DestructorType;
|
using DestructorType = typename SharedHandleTraits<HandleType>::DestructorType;
|
||||||
|
|
||||||
|
template <class Dispatcher>
|
||||||
using DestroyFunctionPointerType =
|
using DestroyFunctionPointerType =
|
||||||
typename std::conditional<HasDestructor<HandleType>::value,
|
typename std::conditional<HasDestructor<HandleType>::value,
|
||||||
void ( DestructorType::* )( HandleType, const AllocationCallbacks *, const Dispatcher & ) const,
|
void ( DestructorType::* )( HandleType, const AllocationCallbacks *, const Dispatcher & ) const,
|
||||||
@@ -334,9 +335,10 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
using SelectorType = typename std::conditional<HasDestructor<HandleType>::value, DestructorType, HandleType>::type;
|
using SelectorType = typename std::conditional<HasDestructor<HandleType>::value, DestructorType, HandleType>::type;
|
||||||
|
|
||||||
ObjectDestroyShared( Optional<const AllocationCallbacks> allocationCallbacks VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ),
|
template <typename Dispatcher = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||||
|
ObjectDestroyShared( Optional<const AllocationCallbacks> allocationCallbacks VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT,
|
||||||
const Dispatcher & dispatch VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT )
|
const Dispatcher & dispatch VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT )
|
||||||
: m_destroy( reinterpret_cast<decltype( m_destroy )>( static_cast<DestroyFunctionPointerType>( &SelectorType::destroy ) ) )
|
: m_destroy( reinterpret_cast<decltype( m_destroy )>( static_cast<DestroyFunctionPointerType<Dispatcher>>( &SelectorType::destroy ) ) )
|
||||||
, m_dispatch( &dispatch )
|
, m_dispatch( &dispatch )
|
||||||
, m_allocationCallbacks( allocationCallbacks )
|
, m_allocationCallbacks( allocationCallbacks )
|
||||||
{
|
{
|
||||||
@@ -358,22 +360,24 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
DestroyFunctionPointerType m_destroy = nullptr;
|
DestroyFunctionPointerType<detail::DispatchLoaderBase> m_destroy = nullptr;
|
||||||
const Dispatcher * m_dispatch = nullptr;
|
const detail::DispatchLoaderBase * m_dispatch = nullptr;
|
||||||
Optional<const AllocationCallbacks> m_allocationCallbacks = nullptr;
|
Optional<const AllocationCallbacks> m_allocationCallbacks = nullptr;
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename HandleType, typename Dispatcher = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
template <typename HandleType>
|
||||||
class ObjectFreeShared
|
class ObjectFreeShared
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
using DestructorType = typename SharedHandleTraits<HandleType>::DestructorType;
|
using DestructorType = typename SharedHandleTraits<HandleType>::DestructorType;
|
||||||
|
|
||||||
|
template <class Dispatcher>
|
||||||
using DestroyFunctionPointerType = void ( DestructorType::* )( HandleType, const AllocationCallbacks *, const Dispatcher & ) const;
|
using DestroyFunctionPointerType = void ( DestructorType::* )( HandleType, const AllocationCallbacks *, const Dispatcher & ) const;
|
||||||
|
|
||||||
ObjectFreeShared( Optional<const AllocationCallbacks> allocationCallbacks VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ),
|
template <class Dispatcher = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||||
|
ObjectFreeShared( Optional<const AllocationCallbacks> allocationCallbacks VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT,
|
||||||
const Dispatcher & dispatch VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT )
|
const Dispatcher & dispatch VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT )
|
||||||
: m_destroy( reinterpret_cast<decltype( m_destroy )>( static_cast<DestroyFunctionPointerType>( &DestructorType::free ) ) )
|
: m_destroy( reinterpret_cast<decltype( m_destroy )>( static_cast<DestroyFunctionPointerType<Dispatcher>>( &DestructorType::free ) ) )
|
||||||
, m_dispatch( &dispatch )
|
, m_dispatch( &dispatch )
|
||||||
, m_allocationCallbacks( allocationCallbacks )
|
, m_allocationCallbacks( allocationCallbacks )
|
||||||
{
|
{
|
||||||
@@ -387,21 +391,24 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
DestroyFunctionPointerType m_destroy = nullptr;
|
DestroyFunctionPointerType<detail::DispatchLoaderBase> m_destroy = nullptr;
|
||||||
const Dispatcher * m_dispatch = nullptr;
|
const detail::DispatchLoaderBase * m_dispatch = nullptr;
|
||||||
Optional<const AllocationCallbacks> m_allocationCallbacks = nullptr;
|
Optional<const AllocationCallbacks> m_allocationCallbacks = nullptr;
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename HandleType, typename Dispatcher = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
template <typename HandleType>
|
||||||
class ObjectReleaseShared
|
class ObjectReleaseShared
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
using DestructorType = typename SharedHandleTraits<HandleType>::DestructorType;
|
using DestructorType = typename SharedHandleTraits<HandleType>::DestructorType;
|
||||||
|
|
||||||
|
template <class Dispatcher>
|
||||||
using DestroyFunctionPointerType = void ( DestructorType::* )( HandleType, const Dispatcher & ) const;
|
using DestroyFunctionPointerType = void ( DestructorType::* )( HandleType, const Dispatcher & ) const;
|
||||||
|
|
||||||
|
template <class Dispatcher = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||||
ObjectReleaseShared( const Dispatcher & dispatch VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT )
|
ObjectReleaseShared( const Dispatcher & dispatch VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT )
|
||||||
: m_destroy( reinterpret_cast<decltype( m_destroy )>( static_cast<DestroyFunctionPointerType>( &DestructorType::release ) ) ), m_dispatch( &dispatch )
|
: m_destroy( reinterpret_cast<decltype( m_destroy )>( static_cast<DestroyFunctionPointerType<Dispatcher>>( &DestructorType::release ) ) )
|
||||||
|
, m_dispatch( &dispatch )
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -413,11 +420,11 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
DestroyFunctionPointerType m_destroy = nullptr;
|
DestroyFunctionPointerType<detail::DispatchLoaderBase> m_destroy = nullptr;
|
||||||
const Dispatcher * m_dispatch = nullptr;
|
const detail::DispatchLoaderBase * m_dispatch = nullptr;
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename HandleType, typename PoolType, typename Dispatcher = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
template <typename HandleType, typename PoolType>
|
||||||
class PoolFreeShared
|
class PoolFreeShared
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@@ -425,14 +432,17 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
using PoolTypeExport = PoolType;
|
using PoolTypeExport = PoolType;
|
||||||
|
|
||||||
|
template <class Dispatcher>
|
||||||
using ReturnType = decltype( std::declval<DestructorType>().free( PoolType(), 0u, nullptr, Dispatcher() ) );
|
using ReturnType = decltype( std::declval<DestructorType>().free( PoolType(), 0u, nullptr, Dispatcher() ) );
|
||||||
|
|
||||||
using DestroyFunctionPointerType = ReturnType ( DestructorType::* )( PoolType, uint32_t, const HandleType *, const Dispatcher & ) const;
|
template <class Dispatcher>
|
||||||
|
using DestroyFunctionPointerType = ReturnType<Dispatcher> ( DestructorType::* )( PoolType, uint32_t, const HandleType *, const Dispatcher & ) const;
|
||||||
|
|
||||||
PoolFreeShared() = default;
|
PoolFreeShared() = default;
|
||||||
|
|
||||||
|
template <class Dispatcher = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||||
PoolFreeShared( SharedHandle<PoolType> pool, const Dispatcher & dispatch VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT )
|
PoolFreeShared( SharedHandle<PoolType> pool, const Dispatcher & dispatch VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT )
|
||||||
: m_destroy( reinterpret_cast<decltype( m_destroy )>( static_cast<DestroyFunctionPointerType>( &DestructorType::free ) ) )
|
: m_destroy( reinterpret_cast<decltype( m_destroy )>( static_cast<DestroyFunctionPointerType<Dispatcher>>( &DestructorType::free ) ) )
|
||||||
, m_dispatch( &dispatch )
|
, m_dispatch( &dispatch )
|
||||||
, m_pool( std::move( pool ) )
|
, m_pool( std::move( pool ) )
|
||||||
{
|
{
|
||||||
@@ -446,8 +456,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
DestroyFunctionPointerType m_destroy = nullptr;
|
DestroyFunctionPointerType<detail::DispatchLoaderBase> m_destroy = nullptr;
|
||||||
const Dispatcher * m_dispatch = nullptr;
|
const detail::DispatchLoaderBase * m_dispatch = nullptr;
|
||||||
SharedHandle<PoolType> m_pool{};
|
SharedHandle<PoolType> m_pool{};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -513,6 +523,16 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
using SharedSemaphore = SharedHandle<Semaphore>;
|
using SharedSemaphore = SharedHandle<Semaphore>;
|
||||||
|
|
||||||
|
template <>
|
||||||
|
class SharedHandleTraits<Event>
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
using DestructorType = Device;
|
||||||
|
using deleter = detail::ObjectDestroyShared<Event>;
|
||||||
|
};
|
||||||
|
|
||||||
|
using SharedEvent = SharedHandle<Event>;
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
class SharedHandleTraits<QueryPool>
|
class SharedHandleTraits<QueryPool>
|
||||||
{
|
{
|
||||||
@@ -533,6 +553,16 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
using SharedBuffer = SharedHandle<Buffer>;
|
using SharedBuffer = SharedHandle<Buffer>;
|
||||||
|
|
||||||
|
template <>
|
||||||
|
class SharedHandleTraits<BufferView>
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
using DestructorType = Device;
|
||||||
|
using deleter = detail::ObjectDestroyShared<BufferView>;
|
||||||
|
};
|
||||||
|
|
||||||
|
using SharedBufferView = SharedHandle<BufferView>;
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
class SharedHandleTraits<Image>
|
class SharedHandleTraits<Image>
|
||||||
{
|
{
|
||||||
@@ -553,46 +583,6 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
using SharedImageView = SharedHandle<ImageView>;
|
using SharedImageView = SharedHandle<ImageView>;
|
||||||
|
|
||||||
template <>
|
|
||||||
class SharedHandleTraits<CommandPool>
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
using DestructorType = Device;
|
|
||||||
using deleter = detail::ObjectDestroyShared<CommandPool>;
|
|
||||||
};
|
|
||||||
|
|
||||||
using SharedCommandPool = SharedHandle<CommandPool>;
|
|
||||||
|
|
||||||
template <>
|
|
||||||
class SharedHandleTraits<CommandBuffer>
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
using DestructorType = Device;
|
|
||||||
using deleter = detail::PoolFreeShared<CommandBuffer, CommandPool>;
|
|
||||||
};
|
|
||||||
|
|
||||||
using SharedCommandBuffer = SharedHandle<CommandBuffer>;
|
|
||||||
|
|
||||||
template <>
|
|
||||||
class SharedHandleTraits<Event>
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
using DestructorType = Device;
|
|
||||||
using deleter = detail::ObjectDestroyShared<Event>;
|
|
||||||
};
|
|
||||||
|
|
||||||
using SharedEvent = SharedHandle<Event>;
|
|
||||||
|
|
||||||
template <>
|
|
||||||
class SharedHandleTraits<BufferView>
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
using DestructorType = Device;
|
|
||||||
using deleter = detail::ObjectDestroyShared<BufferView>;
|
|
||||||
};
|
|
||||||
|
|
||||||
using SharedBufferView = SharedHandle<BufferView>;
|
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
class SharedHandleTraits<ShaderModule>
|
class SharedHandleTraits<ShaderModule>
|
||||||
{
|
{
|
||||||
@@ -693,18 +683,27 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
using SharedRenderPass = SharedHandle<RenderPass>;
|
using SharedRenderPass = SharedHandle<RenderPass>;
|
||||||
|
|
||||||
//=== VK_VERSION_1_1 ===
|
|
||||||
template <>
|
template <>
|
||||||
class SharedHandleTraits<DescriptorUpdateTemplate>
|
class SharedHandleTraits<CommandPool>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
using DestructorType = Device;
|
using DestructorType = Device;
|
||||||
using deleter = detail::ObjectDestroyShared<DescriptorUpdateTemplate>;
|
using deleter = detail::ObjectDestroyShared<CommandPool>;
|
||||||
};
|
};
|
||||||
|
|
||||||
using SharedDescriptorUpdateTemplate = SharedHandle<DescriptorUpdateTemplate>;
|
using SharedCommandPool = SharedHandle<CommandPool>;
|
||||||
using SharedDescriptorUpdateTemplateKHR = SharedHandle<DescriptorUpdateTemplate>;
|
|
||||||
|
|
||||||
|
template <>
|
||||||
|
class SharedHandleTraits<CommandBuffer>
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
using DestructorType = Device;
|
||||||
|
using deleter = detail::PoolFreeShared<CommandBuffer, CommandPool>;
|
||||||
|
};
|
||||||
|
|
||||||
|
using SharedCommandBuffer = SharedHandle<CommandBuffer>;
|
||||||
|
|
||||||
|
//=== VK_VERSION_1_1 ===
|
||||||
template <>
|
template <>
|
||||||
class SharedHandleTraits<SamplerYcbcrConversion>
|
class SharedHandleTraits<SamplerYcbcrConversion>
|
||||||
{
|
{
|
||||||
@@ -716,6 +715,17 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
using SharedSamplerYcbcrConversion = SharedHandle<SamplerYcbcrConversion>;
|
using SharedSamplerYcbcrConversion = SharedHandle<SamplerYcbcrConversion>;
|
||||||
using SharedSamplerYcbcrConversionKHR = SharedHandle<SamplerYcbcrConversion>;
|
using SharedSamplerYcbcrConversionKHR = SharedHandle<SamplerYcbcrConversion>;
|
||||||
|
|
||||||
|
template <>
|
||||||
|
class SharedHandleTraits<DescriptorUpdateTemplate>
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
using DestructorType = Device;
|
||||||
|
using deleter = detail::ObjectDestroyShared<DescriptorUpdateTemplate>;
|
||||||
|
};
|
||||||
|
|
||||||
|
using SharedDescriptorUpdateTemplate = SharedHandle<DescriptorUpdateTemplate>;
|
||||||
|
using SharedDescriptorUpdateTemplateKHR = SharedHandle<DescriptorUpdateTemplate>;
|
||||||
|
|
||||||
//=== VK_VERSION_1_3 ===
|
//=== VK_VERSION_1_3 ===
|
||||||
template <>
|
template <>
|
||||||
class SharedHandleTraits<PrivateDataSlot>
|
class SharedHandleTraits<PrivateDataSlot>
|
||||||
|
|||||||
+992
-1308
File diff suppressed because it is too large
Load Diff
+4862
-36409
File diff suppressed because it is too large
Load Diff
+1222
-1528
File diff suppressed because it is too large
Load Diff
Vendored
+11
-12
@@ -4,27 +4,25 @@
|
|||||||
|
|
||||||
// This header is generated from the Khronos Vulkan XML API Registry.
|
// This header is generated from the Khronos Vulkan XML API Registry.
|
||||||
|
|
||||||
module;
|
// Note: This module is still in an experimental state.
|
||||||
|
// Any feedback is welcome on https://github.com/KhronosGroup/Vulkan-Hpp/issues.
|
||||||
|
|
||||||
#define VULKAN_HPP_CXX_MODULE 1
|
module;
|
||||||
|
|
||||||
#include <vulkan/vulkan_hpp_macros.hpp>
|
#include <vulkan/vulkan_hpp_macros.hpp>
|
||||||
|
|
||||||
#if !defined( VULKAN_HPP_CXX_MODULE_EXPERIMENTAL_WARNING )
|
#if defined( __cpp_lib_modules ) && !defined( VULKAN_HPP_ENABLE_STD_MODULE )
|
||||||
# define VULKAN_HPP_CXX_MODULE_EXPERIMENTAL_WARNING \
|
# define VULKAN_HPP_ENABLE_STD_MODULE
|
||||||
"\n\tThe Vulkan-Hpp C++ named module is experimental. It is subject to change without prior notice.\n" \
|
|
||||||
"\tTo silence this warning, define the VULKAN_HPP_CXX_MODULE_EXPERIMENTAL_WARNING macro.\n" \
|
|
||||||
"\tFor feedback, go to: https://github.com/KhronosGroup/Vulkan-Hpp/issues"
|
|
||||||
|
|
||||||
VULKAN_HPP_COMPILE_WARNING( VULKAN_HPP_CXX_MODULE_EXPERIMENTAL_WARNING )
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <vulkan/vulkan_video.hpp>
|
#include <vulkan/vulkan_video.hpp>
|
||||||
|
|
||||||
export module vulkan:video;
|
export module vulkan_video_hpp;
|
||||||
|
|
||||||
export namespace VULKAN_HPP_NAMESPACE::VULKAN_HPP_VIDEO_NAMESPACE
|
export namespace VULKAN_HPP_NAMESPACE
|
||||||
{
|
{
|
||||||
|
namespace VULKAN_HPP_VIDEO_NAMESPACE
|
||||||
|
{
|
||||||
|
|
||||||
//=================
|
//=================
|
||||||
//=== CONSTANTs ===
|
//=== CONSTANTs ===
|
||||||
@@ -321,4 +319,5 @@ export namespace VULKAN_HPP_NAMESPACE::VULKAN_HPP_VIDEO_NAMESPACE
|
|||||||
using VULKAN_HPP_NAMESPACE::VULKAN_HPP_VIDEO_NAMESPACE::EncodeAV1ReferenceInfoFlags;
|
using VULKAN_HPP_NAMESPACE::VULKAN_HPP_VIDEO_NAMESPACE::EncodeAV1ReferenceInfoFlags;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
} // namespace VULKAN_HPP_NAMESPACE::VULKAN_HPP_VIDEO_NAMESPACE
|
} // namespace VULKAN_HPP_VIDEO_NAMESPACE
|
||||||
|
} // namespace VULKAN_HPP_NAMESPACE
|
||||||
|
|||||||
Reference in New Issue
Block a user