mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-06-04 07:38:15 +02:00
Compare commits
683 Commits
v2.2.1
..
768dc0c1d9
| Author | SHA1 | Date | |
|---|---|---|---|
| 768dc0c1d9 | |||
| 55086a05a6 | |||
| bef1888a79 | |||
|
519b273a20
|
|||
|
fd8beaaf17
|
|||
| c4979ceded | |||
| f4a1dc386a | |||
| 83d05cc6e2 | |||
| f44c4d106c | |||
|
6fd5814032
|
|||
|
7a3a65d26c
|
|||
| c251fb81e3 | |||
| cf84449dee | |||
| 58f1e76a56 | |||
| b6c7e8095f | |||
| a6a3178425 | |||
| 8c43af3ad1 | |||
| 1f96fa56d8 | |||
|
4f0d8dac67
|
|||
| 85150693af | |||
| 56fa5ac613 | |||
| 19f5a2eb2f | |||
| cb2979108b | |||
| 454fcc6e65 | |||
| a51d391a04 | |||
| 9ae3f46f2e | |||
| 4adaccf72a | |||
| 67523e7fb4 | |||
| ec019ba45c | |||
| ba0398092a | |||
| b89bacfa95 | |||
| f84e0b2312 | |||
| 65ff11b301 | |||
| 1f780e2a8a | |||
| 06ddcf99d7 | |||
| ece1fc93da | |||
| 04bc524ae8 | |||
| b63f07bfe8 | |||
| a40907b68f | |||
| 9ec992d54c | |||
| a665f7c448 | |||
| cee944d996 | |||
| 493696482c | |||
| 9c4aaea79f | |||
| ffc0f26701 | |||
| 1835db0943 | |||
| 7c35354c44 | |||
| c99cf63194 | |||
| c5026d93dc | |||
| 22fb83fee1 | |||
| c62168b0e2 | |||
| 31cbdec371 | |||
| cbf185e6c5 | |||
| e5b555dbc3 | |||
| 15f2649562 | |||
| a28e17aa31 | |||
| c0095314fd | |||
| 4529ba5752 | |||
| d127e6c3f9 | |||
| a9f5be910f | |||
| 4f1cad4e72 | |||
| 9573199ad9 | |||
| 72e158a0a7 | |||
| 72d8ddae64 | |||
| 93014c1668 | |||
| 19758b6d40 | |||
| 5c385675c7 | |||
| ab9d12ae17 | |||
| 18b57e3761 | |||
| bb67bd42e1 | |||
| 0894cb5d4f | |||
| e45ded6ea9 | |||
| 93d0b1828b | |||
| d2057e3108 | |||
| e7baccb6cc | |||
| 41cae01a9b | |||
| 008dc4132c | |||
| 3e29dd1bbe | |||
| 9f795fa67e | |||
| 4e88505aa6 | |||
| 324ef540fd | |||
| 741fa6cf89 | |||
| 22e7d90285 | |||
| f17a1b24e3 | |||
| 85c3c844ea | |||
| 14dee628c4 | |||
| e66c5482ea | |||
| c474648da0 | |||
| c94513107b | |||
| ed794863d9 | |||
| c7fba85393 | |||
| 5650662d07 | |||
| 640554981c | |||
| a9274fcb3e | |||
| 3d6314253a | |||
| 1a77df23ee | |||
| c16c4dc301 | |||
| 7354a5ade4 | |||
| 6c22b3e830 | |||
| 0fdc36a6b7 | |||
| d2513834a2 | |||
| ba5ef31796 | |||
| 29826e70ab | |||
| 31d2054389 | |||
| 24c3faa88f | |||
| 44f2bbf6cd | |||
| 3e079cc0e9 | |||
| 025db7c2c8 | |||
| 0628afa905 | |||
| b05fb59e37 | |||
| 2c73362fce | |||
| f47db635e2 | |||
| c72d44a8ea | |||
| 70d2426ed4 | |||
| e89fe88d83 | |||
| 19dbd4e203 | |||
| 093dabcbbb | |||
| 096c0ae8cb | |||
| ff76134422 | |||
| 2345cf4417 | |||
| 4bd35e72fd | |||
| 2798a43674 | |||
| 0c11d7a815 | |||
| ad4891f1f5 | |||
| e7d575046a | |||
| f478bb4a9e | |||
| 42e7e409db | |||
| 357c813b85 | |||
| daade1efc0 | |||
| 90a8dad18c | |||
| fbc5bf0e45 | |||
| 43a727edf4 | |||
| 6a959d8469 | |||
| cadf1669c8 | |||
| 0b99c62bbf | |||
| 0201d933fd | |||
| 8a91d90b0d | |||
| 0982ed814d | |||
| c5b1a80bd9 | |||
| 3f5b42d301 | |||
| 69502db0ee | |||
| c50925c64d | |||
| 7e0664a28f | |||
| fdaaa86b7f | |||
| 3f8955f4b1 | |||
| baec65134c | |||
| 4462400b73 | |||
| 9b0c3500c7 | |||
| 157e555fb6 | |||
| 2ae59b1b39 | |||
| 2c710058f3 | |||
| d64be4a1f5 | |||
| 8c2e0cc69e | |||
| 82dc92047f | |||
| 3654cc67b1 | |||
| e46c2b99ec | |||
| 2fdd9246db | |||
| e6fb5a72d2 | |||
| bc3d732208 | |||
| 23fc64a679 | |||
| 8bbe66528e | |||
| f4422c3174 | |||
| 86709573fe | |||
| c8250629f3 | |||
| ef16cd3fdb | |||
| 12c7469f52 | |||
| 9443555cbb | |||
| 023215aeed | |||
| bb523e8f66 | |||
| 48da7003c9 | |||
| 2137fc4ee7 | |||
| 0f0ca48339 | |||
| deb6c20361 | |||
| b432e3e2e1 | |||
| 1f482719e6 | |||
| 3683a48e17 | |||
| 94b46ac18c | |||
| 6d34a7ffa6 | |||
| f4c186e724 | |||
| ce530c765e | |||
| d1d7f7ed98 | |||
| 49002fdd98 | |||
| 45220a35fb | |||
| 5244cde0ae | |||
| 4e326db10d | |||
| 952e48a05c | |||
| 62bd63c364 | |||
| 30f4602b1c | |||
| 393735b1d6 | |||
| d40264891c | |||
| 6604cd647d | |||
| f64ce376d6 | |||
| c636229875 | |||
| a85ad6378e | |||
| 5a93cd4ae5 | |||
| 4efe213fc6 | |||
| 8721fe5000 | |||
| a90bb88169 | |||
| 35b47936b4 | |||
| 69bbed5b54 | |||
| 024a9af55a | |||
| 623021a669 | |||
| feb3fcbd1f | |||
| 5b726fe74a | |||
| 5a36b90a72 | |||
| e365c8a48c | |||
| 7bd2b9c4c7 | |||
| f78c3e9f0f | |||
| 34ea0822a7 | |||
| f5ffd97e48 | |||
| 6f57d9dab7 | |||
| 65fd92dca9 | |||
| 999ef64d0a | |||
| 33260f316f | |||
| 3122576f04 | |||
| 92d060fc70 | |||
| 57a7b10850 | |||
| 777b92af8c | |||
| b7183a1058 | |||
| e425b66591 | |||
| 8db78fc86b | |||
| 122f4e8403 | |||
| 843856d004 | |||
| afc17be8e4 | |||
| 0b492d5d47 | |||
| 8c63e316ef | |||
| 375fa0f49e | |||
| 32b6053cfb | |||
| ef50272a0c | |||
| c6aaa4e2fa | |||
| e29ea92202 | |||
| eaf5be3061 | |||
| 4ae7bd0420 | |||
| 5f46c8cb55 | |||
| e8de2c169d | |||
| bccfb8cd90 | |||
| f3efdd8d72 | |||
| b59888efb3 | |||
| a662427097 | |||
| 6669d78323 | |||
| de30c11157 | |||
| 5cf965b9a1 | |||
| 2854b19296 | |||
| d167538b3f | |||
| 9dfe72f27c | |||
| 00fccf011e | |||
| a1bc4a801d | |||
| 8c287e4cbc | |||
| fed7111362 | |||
| dbf4d3cc5b | |||
| 9499ade4c0 | |||
| e470e4c43c | |||
| 028cb57ff4 | |||
| 625e23e624 | |||
| 7114522d80 | |||
| 1c073eb8eb | |||
| 3aaa5df929 | |||
| 3828b98a60 | |||
| da41f2836f | |||
| 2dadf5d29a | |||
| 1ec2f72d26 | |||
| b0384830a9 | |||
| e1fefba841 | |||
| 58ad52e1cc | |||
| a86f26f0f3 | |||
| 92743b0b03 | |||
| 3291e0cd2a | |||
| 7a3e5f37fa | |||
| 0304834008 | |||
| 049eb3e33c | |||
| 66024349cb | |||
| e1af24a3ef | |||
| 40b82243ba | |||
| ecb0a15e74 | |||
| 12b832ee31 | |||
| 4f755f8a6f | |||
| a905f571dc | |||
| 386d9abe4b | |||
| d0a74e79c5 | |||
| 160364bda2 | |||
| ec2f1101f0 | |||
| 568b5a85ce | |||
| f2cbd6679d | |||
| 2e93798948 | |||
| d4ea03e047 | |||
| 5866f5ac25 | |||
| 53650f3153 | |||
| cc8fb1bbb3 | |||
| a3334277c6 | |||
| a593838c4d | |||
| b4e61e1875 | |||
| ef72083bd0 | |||
| b0924861aa | |||
| 99437a6d6a | |||
| ad35eee0b6 | |||
| 904b6d31ac | |||
| 2e08c37624 | |||
| f9c05d6d7b | |||
| 1e2705ef06 | |||
| 8348f9ce7a | |||
| 092e5acd9b | |||
| f4e4672cc6 | |||
| fcb2d1d9bc | |||
| a4b14baddd | |||
| 596393ed20 | |||
| 2b9b026d68 | |||
| 4c17f2e165 | |||
| 91b51a5621 | |||
| 976afdac3d | |||
| 429bd9eabd | |||
| 30e07d1f1a | |||
| 48d09e40d5 | |||
| 7f2d60f21d | |||
| a4801fbce8 | |||
| 760317dcc7 | |||
| 520ce8d61e | |||
| cd29248fc6 | |||
| 7db31b13c2 | |||
| 4f6886517e | |||
| d87d4fbd6a | |||
| aa09d9d83f | |||
| 34b4d2bda0 | |||
| 8888bd03d8 | |||
| 8ad6d84bd2 | |||
| e0da415e86 | |||
| a455d7704d | |||
| f65ac577bc | |||
| 06372a84ed | |||
| 1dae0931f7 | |||
| 3d8ab31abb | |||
| 5dcb7402e1 | |||
| 8b9ef40f99 | |||
| 1fe21e7725 | |||
| bea16a2dc1 | |||
| 1ddad73356 | |||
| 538cd96eda | |||
| 3668515e9b | |||
| d95233e728 | |||
| d209747978 | |||
| 00c87a61a3 | |||
| e930b3b0be | |||
| 0795200910 | |||
| dd36a878cd | |||
| 470f3a3a3c | |||
| 3a3b4e063a | |||
| eb158d01c7 | |||
| 905ab698cb | |||
| d535faaaf7 | |||
| c427c46e24 | |||
| e32c65d918 | |||
| 81387ec53d | |||
| 850b47f6cf | |||
| 1641a48e4e | |||
| 9ef9cd897d | |||
| b93d0753c6 | |||
| 710634ced6 | |||
| d616adb466 | |||
| e7eb894335 | |||
| afee09d1ea | |||
| 1d9a51e4f7 | |||
| 10f1b865bd | |||
| 920e0f5e66 | |||
| ace4c98945 | |||
| a7aa05fcbe | |||
| 7f7b6704ce | |||
| 291927a1cc | |||
| 280e3b43d3 | |||
| 969555d572 | |||
| a69ea93597 | |||
| 610603e87c | |||
| 58c082f033 | |||
| e09797a1a6 | |||
| 2c01c67361 | |||
| 7271b8fc9a | |||
| 67d7635a32 | |||
| 215a0dc2c3 | |||
| 39d38c822b | |||
| 6bbf1e196d | |||
| e5ff232065 | |||
| 4af38a2c7e | |||
| 2200863406 | |||
| d9a00dee22 | |||
| f7946eea68 | |||
| c26c6f952b | |||
| 54435be20d | |||
| be2a7d5157 | |||
| 7011a6ee6e | |||
| 235292b440 | |||
| d9e88f70c7 | |||
| e8c80eccab | |||
| fa7f16744d | |||
| 105b32b710 | |||
| 75bca5bf6f | |||
| c5a5a029af | |||
| 6000b3e3c1 | |||
| 7b64359f3e | |||
| 3624caf519 | |||
| 828024e131 | |||
| 784156c395 | |||
| b53b36e07a | |||
| 3bb167e164 | |||
| fe9dd3c9df | |||
| 132e539d4a | |||
| 916b0fbcb5 | |||
| ea4793c403 | |||
| 7b9ee3d49f | |||
| 599f9414ae | |||
| d6e4ef1976 | |||
| 9c0e7dfd21 | |||
| 1dd24f687c | |||
| 1e2f2880ae | |||
| eaf2d00864 | |||
| 528867bc7b | |||
| fab193db38 | |||
| 3f4dcad12f | |||
| a461624fea | |||
| 77ab3bf68c | |||
| 982b8c17f4 | |||
| d857d598e8 | |||
| a3af54f271 | |||
| 48133e3432 | |||
| 6143e8b1c5 | |||
| dd0599c088 | |||
| 208b0e4710 | |||
| 209472d0a1 | |||
| 708e509bfa | |||
| 47aead9e2d | |||
| 9024b9cc12 | |||
| 0bd6f17260 | |||
| a0d5cea21f | |||
| 2c9c4217ec | |||
| 39298eda36 | |||
| 99e6267489 | |||
| 4835ff0337 | |||
| 7f1dd999bf | |||
| 088e1891fc | |||
| 18d0f102ec | |||
| e060cf39f9 | |||
| 7de0758f76 | |||
| 189764dc34 | |||
| 875d73e3dd | |||
| 62c623d70a | |||
| 05ba165c45 | |||
| 944038e564 | |||
| fb6bda24a6 | |||
| c3ffb80a10 | |||
| 0acb086819 | |||
| b14468eed1 | |||
| f9d1234642 | |||
| 44d76a3b9e | |||
| aa97d048b8 | |||
| 887e2b8699 | |||
| c64cb4ac67 | |||
| c88d9f1d9d | |||
| 15b54a15c8 | |||
| 348dff8140 | |||
| 6e4322e1ba | |||
| a9cd7375f6 | |||
| 6d053a6941 | |||
| 02819d281e | |||
| c24d961211 | |||
| b3ba952218 | |||
| c8382eddbf | |||
| 7c8f233cc8 | |||
| 84ded2734d | |||
| c4cb077043 | |||
| 09829ed104 | |||
| 988ccf32db | |||
| 4ab70c2c35 | |||
| ae6c4710c8 | |||
| 1a19c55568 | |||
| 1ef45ebba2 | |||
| 0cba8d011e | |||
| 79436b7068 | |||
| e15aa45627 | |||
| 0beb25ce92 | |||
| 86714c3dd4 | |||
| 3aa5c20dbc | |||
| a1e5eb9254 | |||
| 60bacab2e4 | |||
| 19a895c5f4 | |||
| bd0a111e5f | |||
| cbed1b7653 | |||
| 5f33613583 | |||
| 198600b853 | |||
| 32b5338187 | |||
| d5e1e36a5d | |||
| 2bc0b94626 | |||
| 46ec35cfd7 | |||
| 9103138ee5 | |||
| f502c86400 | |||
| d38fd8eeb1 | |||
| 16424cc2e3 | |||
| a2a1339736 | |||
| 8fa6fd35d0 | |||
| 23333da539 | |||
| 939b224b64 | |||
| e245c27867 | |||
| d172ea89fc | |||
| 075a8718de | |||
| 5f04c34aa0 | |||
| 8774d4c3fb | |||
| a2f9594811 | |||
| ac3b28c922 | |||
| b144afd3fe | |||
| c88ff1525d | |||
| 522975bf8b | |||
| 8b9d23a17a | |||
| 252f9c3da0 | |||
| 74b30ea218 | |||
| ca13d77996 | |||
| 5d80fd87f4 | |||
| 9f555316fc | |||
| b384ebec1b | |||
| 899ad8de70 | |||
| d25cfc5975 | |||
| 66359574f9 | |||
| 6f0f944fbe | |||
| 72cc2eb9ab | |||
| 73c8e331af | |||
| 719dfea21c | |||
| 4a6a525847 | |||
| eb7330a943 | |||
| 2d89f41639 | |||
| a86eab4386 | |||
| e2ee1f2820 | |||
| 280c1c076f | |||
| c7e59cbbeb | |||
| 8b2d9d15bd | |||
| c2258115d7 | |||
| 7d7ed1caba | |||
| 6435cc8333 | |||
| a0a764d6a2 | |||
| 74f2306e6c | |||
| c0e2750fb3 | |||
| 5093e7d1eb | |||
| db86779907 | |||
| a387e34d3c | |||
| f9d729d30b | |||
| fc3382f984 | |||
| 7dda5d5624 | |||
| 44d7c7e4fd | |||
| 99678c2bb3 | |||
| bcfd5ef454 | |||
| d2fb0e0e83 | |||
| 56c11352bc | |||
| e297b8a05a | |||
| b9e0540a1b | |||
| f34161fa81 | |||
| 3ab024cced | |||
| 4d6c970a71 | |||
| e8f4056b81 | |||
| 5d52517d37 | |||
| 0a7a082d24 | |||
| 5c497e4175 | |||
| 6b54089066 | |||
| 5f6a28f4f8 | |||
| 49f6bb4b71 | |||
| 1105bc6646 | |||
| 36bd11fdf5 | |||
| a5e4b41ceb | |||
| a260be573a | |||
| 327374d53b | |||
| 57da195bf9 | |||
| d9de06a000 | |||
| 0a4bd42869 | |||
| fc3f72ee3e | |||
| d5e263390e | |||
| a437316723 | |||
| 555af79e9e | |||
| 038a6db77f | |||
| b078165849 | |||
| 591c144104 | |||
| 0b6b0b4902 | |||
| 51bd482acc | |||
| a68f8ede72 | |||
| f844c3ad58 | |||
| b84350f76d | |||
| 9d89019af3 | |||
| ce2966e1b5 | |||
| 5184e9500d | |||
| bfcc8cb758 | |||
| 854a074cac | |||
| 53c0f08bc1 | |||
| 683ef90ddb | |||
| 6c0c4c127a | |||
| e1b3f4d995 | |||
| df7aeb11bb | |||
| f634b14998 | |||
| 1407e6217c | |||
| f0676c950d | |||
| 05f6a810bf | |||
| 7dc5701eff | |||
| db91730e13 | |||
| df29e41ac5 | |||
| a158aa2269 | |||
| d5a8b96be8 | |||
| 9f869d93e2 | |||
| 20068b0ff3 | |||
| d28b41dab5 | |||
| 5e63cd8959 | |||
| 6b970e988a | |||
| 8954e4e189 | |||
| 19ccc1230e | |||
| 519691a944 | |||
| e4df341a66 | |||
| d1613ddfdb | |||
| e471585946 | |||
| 6a2a3739c7 | |||
| 6c3db4a8db | |||
| 02d2dbb1bd | |||
| 942deade55 | |||
| b75f543977 | |||
| ea6c2a3335 | |||
| 22c9e14947 | |||
| 9c54cb6c68 | |||
| 6acd433437 | |||
| 4e5fb2648a | |||
| be8caa922c | |||
| 735f748b79 | |||
| 5108134a5f | |||
| 9dfd3ab971 | |||
| 0134e4e55d | |||
| 5d4ab828ed | |||
| 7f393fdcd5 | |||
| 3c0abd6fe0 | |||
| ded90b50bf | |||
| 9677be6d9e | |||
| a4cf2ee80f | |||
| 2951253b15 | |||
| e8ab351963 | |||
| 1242eac872 | |||
| 6f25472e6b | |||
| de9250dd42 | |||
| 8fee417803 | |||
| 426da22b52 | |||
| b0968adf1c | |||
| 7f7d197e42 | |||
| d90ab27489 | |||
| d2b8834675 | |||
| 4e4103f86b | |||
| 26037936e8 | |||
| bc84808333 | |||
| 4e1832e59d | |||
| a70bec4740 | |||
| f6fcb214e5 | |||
| 6a8d55dbe8 | |||
| cb4e9dbe8d | |||
| 6d3421d7f4 | |||
| f6736f210a | |||
| e7d65a297e | |||
| c497645ee9 | |||
| 4fa9873f44 | |||
| fe45d0953d | |||
| ec0f2eaa60 | |||
| 06a95fae73 | |||
| 098622c6b9 | |||
| 599f1007ab | |||
| 157a099ed2 | |||
| 77e8672754 | |||
| 10ff1acd89 | |||
| bada255057 | |||
| b03bd6fe0a | |||
| fbe97415cf | |||
| 27000b6163 | |||
| c85c12bfaf | |||
| d02f04c294 | |||
| 21962dda90 | |||
| aaf7e861d5 | |||
| 7eea6ea1d5 | |||
| 28850a6cb8 | |||
| 2ab87dd3ad | |||
| 88404afb2b | |||
| 3b29305936 | |||
| 8ca0b041e3 | |||
| e74d218d6e | |||
| b66476ef4f | |||
| 006d665ce2 | |||
| c8302b4fdf | |||
| 2c6c3a945e | |||
| c907c52968 | |||
| b275918de6 | |||
| 3ee3a5899b |
@@ -11,13 +11,13 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Run Fetch Dependencies Script
|
||||
run: cd scripts && bash ./fetch_dependencies.sh
|
||||
|
||||
- name: Create Pull Request
|
||||
uses: peter-evans/create-pull-request@v7
|
||||
uses: peter-evans/create-pull-request@v8
|
||||
with:
|
||||
token: ${{ secrets.REPO_SCOPED_TOKEN }}
|
||||
delete-branch: true
|
||||
|
||||
@@ -23,7 +23,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Install system dependencies
|
||||
run: |
|
||||
|
||||
@@ -23,7 +23,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Install system dependencies
|
||||
run: |
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
name: Linux (meson)
|
||||
|
||||
on:
|
||||
repository_dispatch:
|
||||
types: [create-pull-request]
|
||||
pull_request:
|
||||
push:
|
||||
paths-ignore:
|
||||
- '.gitignore'
|
||||
- 'LICENSE'
|
||||
- 'README.md'
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-24.04]
|
||||
arch: [x86_64]
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
if: "!contains(github.event.head_commit.message, 'ci skip')"
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Install system dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get -y install mesa-common-dev clang libsdl2-2.0-0 libsdl2-dev build-essential libvulkan-dev
|
||||
|
||||
- name: Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.11'
|
||||
|
||||
- name: Install Meson with pip
|
||||
run: sudo pip3 install meson
|
||||
|
||||
- name: Build with meson
|
||||
run: |
|
||||
meson build --prefix=$PWD/ --bindir='' --libdir=''
|
||||
ninja install -C build
|
||||
@@ -16,14 +16,14 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [macOS-latest]
|
||||
arch: [x86_64]
|
||||
arch: [x86_64, arm]
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
if: "!contains(github.event.head_commit.message, 'ci skip')"
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v6
|
||||
|
||||
# Install system dependencies
|
||||
- name: Install Dependancies
|
||||
@@ -0,0 +1,42 @@
|
||||
name: macOS (meson)
|
||||
|
||||
on:
|
||||
repository_dispatch:
|
||||
types: [create-pull-request]
|
||||
pull_request:
|
||||
push:
|
||||
paths-ignore:
|
||||
- '.gitignore'
|
||||
- 'LICENSE'
|
||||
- 'README.md'
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [macOS-latest]
|
||||
arch: [x86_64, arm]
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
if: "!contains(github.event.head_commit.message, 'ci skip')"
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Install system dependencies
|
||||
run: |
|
||||
brew install SDL2
|
||||
|
||||
- name: Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.11'
|
||||
|
||||
- name: Install Meson with pip
|
||||
run: sudo pip3 install meson
|
||||
|
||||
- name: Build with meson
|
||||
run: |
|
||||
meson build --prefix=$PWD/ --bindir='' --libdir=''
|
||||
ninja install -C build
|
||||
@@ -23,7 +23,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- uses: NcStudios/VulkanCI@v1.2
|
||||
|
||||
@@ -69,7 +69,7 @@ jobs:
|
||||
# Save dependencies
|
||||
- name: Save cached xmake dependencies
|
||||
if: ${{ !steps.restore-depcache.outputs.cache-hit }}
|
||||
uses: actions/cache/save@v4
|
||||
uses: actions/cache/save@v5
|
||||
with:
|
||||
path: ${{ env.XMAKE_GLOBALDIR }}/.xmake/packages
|
||||
key: ${{ steps.restore-depcache.outputs.cache-primary-key }}
|
||||
|
||||
@@ -28,7 +28,7 @@ jobs:
|
||||
run: echo "key=$(date +'%W')" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v6
|
||||
|
||||
# Force xmake to a specific folder (for cache)
|
||||
- name: Set xmake env
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<div align="center">
|
||||
<a href="https://github.com/seekrs/MacroLibX/actions/workflows/linux_clang.yml"><img src="https://github.com/seekrs/MacroLibX/actions/workflows/linux_clang.yml/badge.svg"></a>
|
||||
<a href="https://github.com/seekrs/MacroLibX/actions/workflows/linux_gcc.yml"><img src="https://github.com/seekrs/MacroLibX/actions/workflows/linux_gcc.yml/badge.svg"></a>
|
||||
<a href="https://github.com/seekrs/MacroLibX/actions/workflows/macos_x86.yml"><img src="https://github.com/seekrs/MacroLibX/actions/workflows/macos_x86.yml/badge.svg"></a>
|
||||
<a href="https://github.com/seekrs/MacroLibX/actions/workflows/macos.yml"><img src="https://github.com/seekrs/MacroLibX/actions/workflows/macos.yml/badge.svg"></a>
|
||||
</div>
|
||||
<div align="center">
|
||||
<a href="https://github.com/seekrs/MacroLibX/actions/workflows/windows.yml"><img src="https://github.com/seekrs/MacroLibX/actions/workflows/windows.yml/badge.svg"></a>
|
||||
|
||||
+111
@@ -0,0 +1,111 @@
|
||||
project('MacroLibX',
|
||||
['c', 'cpp'],
|
||||
version : '2.2.2',
|
||||
license : 'MIT',
|
||||
meson_version : '>= 1.9.0',
|
||||
default_options : ['warning_level=2', 'optimization=3', 'cpp_std=c++20'])
|
||||
|
||||
add_project_arguments('-Wno-error=', language : 'c')
|
||||
add_project_arguments('-fPIC', language : 'c')
|
||||
add_project_arguments('-DSDL_MAIN_HANDLED', language : 'c')
|
||||
|
||||
if get_option('force_integrated_gpu')
|
||||
add_project_arguments('-DFORCE_INTEGRATED_GPU', language : 'c')
|
||||
endif
|
||||
|
||||
if get_option('graphics_memory_dump')
|
||||
add_project_arguments('-DGRAPHICS_MEMORY_DUMP', language : 'c')
|
||||
endif
|
||||
|
||||
if get_option('profiler')
|
||||
add_project_arguments('-DPROFILER_ENABLED', language : 'c')
|
||||
endif
|
||||
|
||||
if get_option('force_wayland')
|
||||
add_project_arguments('-DFORCE_WAYLAND', language : 'c')
|
||||
endif
|
||||
|
||||
if get_option('disable_all_safeties')
|
||||
add_project_arguments('-DDISABLE_ALL_SAFETIES', language : 'c')
|
||||
endif
|
||||
|
||||
includes_directories = [
|
||||
include_directories('includes'),
|
||||
include_directories('runtime/Includes'),
|
||||
include_directories('runtime/Sources'),
|
||||
include_directories('third_party'),
|
||||
]
|
||||
|
||||
sources = [
|
||||
files(
|
||||
'runtime/Sources/Core/Application.cpp',
|
||||
'runtime/Sources/Core/Bridge.cpp',
|
||||
'runtime/Sources/Core/EventBus.cpp',
|
||||
'runtime/Sources/Core/EventListener.cpp',
|
||||
'runtime/Sources/Core/Fps.cpp',
|
||||
'runtime/Sources/Core/Graphics.cpp',
|
||||
'runtime/Sources/Core/Logs.cpp',
|
||||
'runtime/Sources/Core/Memory.cpp',
|
||||
'runtime/Sources/Core/Profiler.cpp',
|
||||
'runtime/Sources/Core/SDLManager.cpp',
|
||||
'runtime/Sources/Core/UUID.cpp',
|
||||
'runtime/Sources/Graphics/Font.cpp',
|
||||
'runtime/Sources/Graphics/Mesh.cpp',
|
||||
'runtime/Sources/Graphics/PutPixelManager.cpp',
|
||||
'runtime/Sources/Graphics/Scene.cpp',
|
||||
'runtime/Sources/Graphics/Sprite.cpp',
|
||||
'runtime/Sources/Graphics/Text.cpp',
|
||||
'runtime/Sources/Platform/Inputs.cpp',
|
||||
'runtime/Sources/Platform/Window.cpp',
|
||||
'runtime/Sources/Renderer/Pipelines/Graphics.cpp',
|
||||
'runtime/Sources/Renderer/Pipelines/Shader.cpp',
|
||||
'runtime/Sources/Renderer/RenderPasses/2DPass.cpp',
|
||||
'runtime/Sources/Renderer/RenderPasses/FinalPass.cpp',
|
||||
'runtime/Sources/Renderer/RenderPasses/Passes.cpp',
|
||||
'runtime/Sources/Renderer/Vulkan/VulkanLoader.cpp',
|
||||
'runtime/Sources/Renderer/Buffer.cpp',
|
||||
'runtime/Sources/Renderer/Descriptor.cpp',
|
||||
'runtime/Sources/Renderer/Image.cpp',
|
||||
'runtime/Sources/Renderer/Memory.cpp',
|
||||
'runtime/Sources/Renderer/RenderCore.cpp',
|
||||
'runtime/Sources/Renderer/Renderer.cpp',
|
||||
'runtime/Sources/Renderer/SceneRenderer.cpp',
|
||||
'runtime/Sources/Renderer/Swapchain.cpp'
|
||||
)
|
||||
]
|
||||
|
||||
mlx_headers = [
|
||||
'includes/mlx.h',
|
||||
'includes/mlx_extended.h',
|
||||
'includes/mlx_profile.h'
|
||||
]
|
||||
|
||||
install_headers(mlx_headers)
|
||||
|
||||
deps = [
|
||||
dependency('sdl2'),
|
||||
]
|
||||
|
||||
libmlx = library('mlx',
|
||||
sources,
|
||||
include_directories : includes_directories,
|
||||
dependencies : deps,
|
||||
install : true)
|
||||
|
||||
libmlx_dep = declare_dependency(
|
||||
include_directories: includes_directories,
|
||||
dependencies : deps,
|
||||
link_with : libmlx)
|
||||
|
||||
meson.override_dependency('mlx', libmlx_dep)
|
||||
|
||||
# PKG CONFIG GENERATION
|
||||
pkg_mod = import('pkgconfig')
|
||||
|
||||
pkg_mod.generate(
|
||||
libmlx,
|
||||
name : 'mlx',
|
||||
description : 'MacroLibX Library',
|
||||
version : meson.project_version(),
|
||||
subdirs : ['.'],
|
||||
)
|
||||
@@ -0,0 +1,29 @@
|
||||
option('force_integrated_gpu',
|
||||
type : 'boolean',
|
||||
value : false,
|
||||
description : 'Force the application to use the integrated GPU if available.'
|
||||
)
|
||||
|
||||
option('graphics_memory_dump',
|
||||
type : 'boolean',
|
||||
value : false,
|
||||
description : 'Enable graphics memory dump for debugging purposes.'
|
||||
)
|
||||
|
||||
option('profiler',
|
||||
type : 'boolean',
|
||||
value : false,
|
||||
description : 'Enable profiler for performance analysis.'
|
||||
)
|
||||
|
||||
option('force_wayland',
|
||||
type : 'boolean',
|
||||
value : false,
|
||||
description : 'Force the application to use Wayland display server.'
|
||||
)
|
||||
|
||||
option('disable_all_safeties',
|
||||
type : 'boolean',
|
||||
value : false,
|
||||
description : 'Disable all safety checks in the application.'
|
||||
)
|
||||
@@ -38,7 +38,7 @@ namespace mlx
|
||||
|
||||
inline void UpdateDescriptorSet(std::shared_ptr<DescriptorSet> set)
|
||||
{
|
||||
p_set = RenderCore::Get().GetDescriptorPoolManager().GetAvailablePool().RequestDescriptorSet(set->GetShaderLayout(), set->GetShaderType());
|
||||
p_set = RenderCore::Get().GetDescriptorPoolManager().GetAvailablePool(set->GetShaderLayout(), set->GetShaderType()).RequestDescriptorSet(set->GetShaderLayout(), set->GetShaderType());
|
||||
}
|
||||
|
||||
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);
|
||||
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]] MLX_FORCEINLINE std::size_t GetNumberOfSetsAllocated() const noexcept { return m_allocation_count; }
|
||||
|
||||
~DescriptorPool() = default;
|
||||
|
||||
@@ -36,7 +36,6 @@ namespace mlx
|
||||
std::vector<std::shared_ptr<class DescriptorSet>> m_free_sets;
|
||||
std::vector<std::shared_ptr<class DescriptorSet>> m_used_sets;
|
||||
VkDescriptorPool m_pool;
|
||||
std::size_t m_allocation_count = 0;
|
||||
};
|
||||
|
||||
class DescriptorPoolManager
|
||||
@@ -44,7 +43,7 @@ namespace mlx
|
||||
public:
|
||||
DescriptorPoolManager() = default;
|
||||
|
||||
DescriptorPool& GetAvailablePool();
|
||||
DescriptorPool& GetAvailablePool(const ShaderSetLayout& layout, ShaderType shader_type);
|
||||
void Destroy();
|
||||
|
||||
~DescriptorPoolManager() = default;
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace mlx
|
||||
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
|
||||
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
|
||||
SDL_SetHint(SDL_HINT_VIDEODRIVER, "wayland,x11");
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
namespace mlx
|
||||
{
|
||||
constexpr std::size_t MAX_SETS_PER_POOL = MAX_FRAMES_IN_FLIGHT * 1024;
|
||||
constexpr std::size_t MAX_SETS_PER_POOL = 1024;
|
||||
|
||||
void TransitionImageToCorrectLayout(Image& image, VkCommandBuffer cmd)
|
||||
{
|
||||
@@ -26,19 +26,19 @@ namespace mlx
|
||||
{
|
||||
MLX_PROFILE_FUNCTION();
|
||||
VkDescriptorPoolSize pool_sizes[] = {
|
||||
{ VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, MAX_SETS_PER_POOL },
|
||||
{ VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, MAX_SETS_PER_POOL },
|
||||
{ VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, MAX_SETS_PER_POOL }
|
||||
{ VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, MAX_FRAMES_IN_FLIGHT * MAX_SETS_PER_POOL },
|
||||
{ VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, MAX_FRAMES_IN_FLIGHT * MAX_SETS_PER_POOL },
|
||||
{ VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, MAX_FRAMES_IN_FLIGHT * MAX_SETS_PER_POOL }
|
||||
};
|
||||
|
||||
VkDescriptorPoolCreateInfo pool_info{};
|
||||
pool_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO;
|
||||
pool_info.poolSizeCount = sizeof(pool_sizes) / sizeof(pool_sizes[0]);
|
||||
pool_info.pPoolSizes = pool_sizes;
|
||||
pool_info.maxSets = MAX_SETS_PER_POOL;
|
||||
pool_info.maxSets = MAX_FRAMES_IN_FLIGHT * MAX_SETS_PER_POOL;
|
||||
pool_info.flags = 0;
|
||||
kvfCheckVk(RenderCore::Get().vkCreateDescriptorPool(RenderCore::Get().GetDevice(), &pool_info, nullptr, &m_pool));
|
||||
m_allocation_count = 0;
|
||||
DebugLog("Vulkan: created new descriptor pool");
|
||||
}
|
||||
|
||||
void DescriptorPool::Destroy() noexcept
|
||||
@@ -52,7 +52,6 @@ namespace mlx
|
||||
kvfDestroyDescriptorSetLayout(RenderCore::Get().GetDevice(), set->m_set_layout);
|
||||
RenderCore::Get().vkDestroyDescriptorPool(RenderCore::Get().GetDevice(), m_pool, nullptr);
|
||||
m_pool = VK_NULL_HANDLE;
|
||||
m_allocation_count = 0;
|
||||
m_free_sets.clear();
|
||||
m_used_sets.clear();
|
||||
}
|
||||
@@ -103,7 +102,6 @@ namespace mlx
|
||||
alloc_info.pSetLayouts = &vulkan_layout;
|
||||
VkDescriptorSet vulkan_set;
|
||||
kvfCheckVk(RenderCore::Get().vkAllocateDescriptorSets(RenderCore::Get().GetDevice(), &alloc_info, &vulkan_set));
|
||||
m_allocation_count++;
|
||||
vulkan_sets[i] = vulkan_set;
|
||||
}
|
||||
|
||||
@@ -124,12 +122,23 @@ namespace mlx
|
||||
m_free_sets.push_back(set);
|
||||
}
|
||||
|
||||
DescriptorPool& DescriptorPoolManager::GetAvailablePool()
|
||||
bool DescriptorPool::CanAllocate(const ShaderSetLayout& layout, ShaderType shader_type) const
|
||||
{
|
||||
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();
|
||||
for(auto& pool : m_pools)
|
||||
{
|
||||
if(pool->GetNumberOfSetsAllocated() < MAX_SETS_PER_POOL)
|
||||
if(pool->CanAllocate(layout, shader_type))
|
||||
return *pool;
|
||||
}
|
||||
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)) });
|
||||
|
||||
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().RequestDescriptorSet(p_fragment_shader->GetShaderLayout().set_layouts[0].second, ShaderType::Fragment);
|
||||
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_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_viewer_data_buffer = std::make_shared<UniformBuffer>();
|
||||
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)) });
|
||||
|
||||
p_set = RenderCore::Get().GetDescriptorPoolManager().GetAvailablePool().RequestDescriptorSet(p_fragment_shader->GetShaderLayout().set_layouts[0].second, ShaderType::Fragment);
|
||||
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);
|
||||
}
|
||||
|
||||
void FinalPass::Pass([[maybe_unused]] Scene& scene, Renderer& renderer, Texture& render_target, NonOwningPtr<class Texture> final_target)
|
||||
|
||||
Vendored
+25
-3
@@ -104,6 +104,7 @@ void kvfSetValidationWarningCallback(KvfErrorCallback callback);
|
||||
void kvfAddLayer(const char* layer);
|
||||
|
||||
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);
|
||||
|
||||
// If surfaces given to theses functions are VK_NULL_HANDLE no present queues will be searched and thus kvfQueuePresentKHR will not work
|
||||
@@ -235,6 +236,7 @@ VkPipeline kvfCreateGraphicsPipeline(VkDevice device, VkPipelineCache cache, VkP
|
||||
void kvfDestroyPipeline(VkDevice device, VkPipeline pipeline);
|
||||
|
||||
void kvfCheckVk(VkResult result);
|
||||
int32_t kvfFindMemoryType(VkPhysicalDevice physical_device, uint32_t type_filter, VkMemoryPropertyFlags properties);
|
||||
|
||||
#ifdef KVF_IMPL_VK_NO_PROTOTYPES
|
||||
#ifdef KVF_DEFINE_VULKAN_FUNCTION_PROTOTYPE
|
||||
@@ -519,6 +521,19 @@ void kvfCheckVk(VkResult 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)
|
||||
{
|
||||
KVF_ASSERT(device != VK_NULL_HANDLE);
|
||||
@@ -1151,7 +1166,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_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_VALIDATION_FAILED_EXT: return "A validation layer found an error";
|
||||
case VK_ERROR_VALIDATION_FAILED: return "A command failed because invalid usage was detected by the implementation or a validation layer.";
|
||||
|
||||
default: return "Unknown Vulkan error";
|
||||
}
|
||||
@@ -1295,6 +1310,11 @@ void kvfAddLayer(const char* layer)
|
||||
}
|
||||
|
||||
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;
|
||||
|
||||
@@ -1305,7 +1325,7 @@ VkInstance kvfCreateInstance(const char** extensions_enabled, uint32_t extension
|
||||
create_info.ppEnabledExtensionNames = extensions_enabled;
|
||||
create_info.enabledLayerCount = 0;
|
||||
create_info.ppEnabledLayerNames = NULL;
|
||||
create_info.pNext = NULL;
|
||||
create_info.pNext = p_next;
|
||||
#if defined(VK_USE_PLATFORM_MACOS_MVK) || defined(VK_USE_PLATFORM_METAL_EXT)
|
||||
create_info.flags = VK_INSTANCE_CREATE_ENUMERATE_PORTABILITY_BIT_KHR;
|
||||
#else
|
||||
@@ -1324,6 +1344,8 @@ VkInstance kvfCreateInstance(const char** extensions_enabled, uint32_t extension
|
||||
memcpy(new_extension_set, extensions_enabled, sizeof(char*) * extensions_count);
|
||||
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.ppEnabledExtensionNames = new_extension_set;
|
||||
create_info.enabledLayerCount = __kvf_extra_layers_count;
|
||||
@@ -2316,7 +2338,7 @@ void kvfCopyBufferToImage(VkCommandBuffer cmd, VkImage dst, VkBuffer src, size_t
|
||||
|
||||
void kvfDestroyBuffer(VkDevice device, VkBuffer buffer)
|
||||
{
|
||||
if(buffer != VK_NULL_HANDLE)
|
||||
if(buffer == VK_NULL_HANDLE)
|
||||
return;
|
||||
KVF_ASSERT(device != VK_NULL_HANDLE);
|
||||
__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_EBU_3213 = 22,
|
||||
STD_VIDEO_AV1_COLOR_PRIMARIES_INVALID = 0x7FFFFFFF,
|
||||
// STD_VIDEO_AV1_COLOR_PRIMARIES_BT_UNSPECIFIED is a deprecated alias
|
||||
// STD_VIDEO_AV1_COLOR_PRIMARIES_BT_UNSPECIFIED is a legacy alias
|
||||
STD_VIDEO_AV1_COLOR_PRIMARIES_BT_UNSPECIFIED = STD_VIDEO_AV1_COLOR_PRIMARIES_UNSPECIFIED,
|
||||
STD_VIDEO_AV1_COLOR_PRIMARIES_MAX_ENUM = 0x7FFFFFFF
|
||||
} StdVideoAV1ColorPrimaries;
|
||||
|
||||
Vendored
+594
-280
File diff suppressed because it is too large
Load Diff
Vendored
+2757
-1997
File diff suppressed because it is too large
Load Diff
Vendored
+2510
-1909
File diff suppressed because it is too large
Load Diff
Vendored
+1467
-1213
File diff suppressed because it is too large
Load Diff
+407
-97
File diff suppressed because it is too large
Load Diff
+931
-1
File diff suppressed because it is too large
Load Diff
Vendored
+5285
-4397
File diff suppressed because it is too large
Load Diff
+3743
-3059
File diff suppressed because it is too large
Load Diff
Vendored
+719
-69
File diff suppressed because it is too large
Load Diff
+15
-12
@@ -35,6 +35,18 @@
|
||||
# include <ciso646>
|
||||
#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_NO_SMART_HANDLE )
|
||||
# define VULKAN_HPP_NO_SMART_HANDLE
|
||||
@@ -87,8 +99,8 @@
|
||||
# define VULKAN_HPP_SUPPORT_SPAN
|
||||
#endif
|
||||
|
||||
#if !defined( VULKAN_HPP_STD_MODULE ) && defined( __cpp_modules ) && defined( __cpp_lib_modules )
|
||||
# define VULKAN_HPP_STD_MODULE std.compat
|
||||
#if defined( VULKAN_HPP_CXX_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." )
|
||||
#endif
|
||||
|
||||
#ifndef VK_USE_64_BIT_PTR_DEFINES
|
||||
@@ -225,10 +237,6 @@
|
||||
# define VULKAN_HPP_NAMESPACE vk
|
||||
#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( VK_NO_PROTOTYPES )
|
||||
# define VULKAN_HPP_DISPATCH_LOADER_DYNAMIC 1
|
||||
@@ -307,16 +315,11 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
#endif
|
||||
|
||||
#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 )
|
||||
#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
|
||||
#endif
|
||||
#define VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT VULKAN_HPP_DEFAULT_ASSIGNMENT( VULKAN_HPP_DEFAULT_DISPATCHER )
|
||||
|
||||
#if !defined( VULKAN_HPP_RAII_NAMESPACE )
|
||||
# define VULKAN_HPP_RAII_NAMESPACE raii
|
||||
|
||||
Vendored
+69
@@ -19,6 +19,75 @@ 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.
|
||||
#define VK_OHOS_surface 1
|
||||
typedef struct NativeWindow OHNativeWindow;
|
||||
|
||||
Vendored
+1789
-1283
File diff suppressed because it is too large
Load Diff
Vendored
+70
-80
@@ -321,13 +321,12 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
# pragma clang diagnostic ignored "-Wcast-function-type"
|
||||
# endif
|
||||
|
||||
template <typename HandleType>
|
||||
template <typename HandleType, typename Dispatcher = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
class ObjectDestroyShared
|
||||
{
|
||||
public:
|
||||
using DestructorType = typename SharedHandleTraits<HandleType>::DestructorType;
|
||||
|
||||
template <class Dispatcher>
|
||||
using DestroyFunctionPointerType =
|
||||
typename std::conditional<HasDestructor<HandleType>::value,
|
||||
void ( DestructorType::* )( HandleType, const AllocationCallbacks *, const Dispatcher & ) const,
|
||||
@@ -335,10 +334,9 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
|
||||
using SelectorType = typename std::conditional<HasDestructor<HandleType>::value, DestructorType, HandleType>::type;
|
||||
|
||||
template <typename Dispatcher = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
ObjectDestroyShared( Optional<const AllocationCallbacks> allocationCallbacks VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT,
|
||||
ObjectDestroyShared( Optional<const AllocationCallbacks> allocationCallbacks VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ),
|
||||
const Dispatcher & dispatch VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT )
|
||||
: m_destroy( reinterpret_cast<decltype( m_destroy )>( static_cast<DestroyFunctionPointerType<Dispatcher>>( &SelectorType::destroy ) ) )
|
||||
: m_destroy( reinterpret_cast<decltype( m_destroy )>( static_cast<DestroyFunctionPointerType>( &SelectorType::destroy ) ) )
|
||||
, m_dispatch( &dispatch )
|
||||
, m_allocationCallbacks( allocationCallbacks )
|
||||
{
|
||||
@@ -360,24 +358,22 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
|
||||
private:
|
||||
DestroyFunctionPointerType<detail::DispatchLoaderBase> m_destroy = nullptr;
|
||||
const detail::DispatchLoaderBase * m_dispatch = nullptr;
|
||||
DestroyFunctionPointerType m_destroy = nullptr;
|
||||
const Dispatcher * m_dispatch = nullptr;
|
||||
Optional<const AllocationCallbacks> m_allocationCallbacks = nullptr;
|
||||
};
|
||||
|
||||
template <typename HandleType>
|
||||
template <typename HandleType, typename Dispatcher = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
class ObjectFreeShared
|
||||
{
|
||||
public:
|
||||
using DestructorType = typename SharedHandleTraits<HandleType>::DestructorType;
|
||||
|
||||
template <class Dispatcher>
|
||||
using DestroyFunctionPointerType = void ( DestructorType::* )( HandleType, const AllocationCallbacks *, const Dispatcher & ) const;
|
||||
|
||||
template <class Dispatcher = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
ObjectFreeShared( Optional<const AllocationCallbacks> allocationCallbacks VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT,
|
||||
ObjectFreeShared( Optional<const AllocationCallbacks> allocationCallbacks VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ),
|
||||
const Dispatcher & dispatch VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT )
|
||||
: m_destroy( reinterpret_cast<decltype( m_destroy )>( static_cast<DestroyFunctionPointerType<Dispatcher>>( &DestructorType::free ) ) )
|
||||
: m_destroy( reinterpret_cast<decltype( m_destroy )>( static_cast<DestroyFunctionPointerType>( &DestructorType::free ) ) )
|
||||
, m_dispatch( &dispatch )
|
||||
, m_allocationCallbacks( allocationCallbacks )
|
||||
{
|
||||
@@ -391,24 +387,21 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
|
||||
private:
|
||||
DestroyFunctionPointerType<detail::DispatchLoaderBase> m_destroy = nullptr;
|
||||
const detail::DispatchLoaderBase * m_dispatch = nullptr;
|
||||
DestroyFunctionPointerType m_destroy = nullptr;
|
||||
const Dispatcher * m_dispatch = nullptr;
|
||||
Optional<const AllocationCallbacks> m_allocationCallbacks = nullptr;
|
||||
};
|
||||
|
||||
template <typename HandleType>
|
||||
template <typename HandleType, typename Dispatcher = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
class ObjectReleaseShared
|
||||
{
|
||||
public:
|
||||
using DestructorType = typename SharedHandleTraits<HandleType>::DestructorType;
|
||||
|
||||
template <class Dispatcher>
|
||||
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 )
|
||||
: m_destroy( reinterpret_cast<decltype( m_destroy )>( static_cast<DestroyFunctionPointerType<Dispatcher>>( &DestructorType::release ) ) )
|
||||
, m_dispatch( &dispatch )
|
||||
: m_destroy( reinterpret_cast<decltype( m_destroy )>( static_cast<DestroyFunctionPointerType>( &DestructorType::release ) ) ), m_dispatch( &dispatch )
|
||||
{
|
||||
}
|
||||
|
||||
@@ -420,11 +413,11 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
|
||||
private:
|
||||
DestroyFunctionPointerType<detail::DispatchLoaderBase> m_destroy = nullptr;
|
||||
const detail::DispatchLoaderBase * m_dispatch = nullptr;
|
||||
DestroyFunctionPointerType m_destroy = nullptr;
|
||||
const Dispatcher * m_dispatch = nullptr;
|
||||
};
|
||||
|
||||
template <typename HandleType, typename PoolType>
|
||||
template <typename HandleType, typename PoolType, typename Dispatcher = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
class PoolFreeShared
|
||||
{
|
||||
public:
|
||||
@@ -432,17 +425,14 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
|
||||
using PoolTypeExport = PoolType;
|
||||
|
||||
template <class Dispatcher>
|
||||
using ReturnType = decltype( std::declval<DestructorType>().free( PoolType(), 0u, nullptr, Dispatcher() ) );
|
||||
|
||||
template <class Dispatcher>
|
||||
using DestroyFunctionPointerType = ReturnType<Dispatcher> ( DestructorType::* )( PoolType, uint32_t, const HandleType *, const Dispatcher & ) const;
|
||||
using DestroyFunctionPointerType = ReturnType ( DestructorType::* )( PoolType, uint32_t, const HandleType *, const Dispatcher & ) const;
|
||||
|
||||
PoolFreeShared() = default;
|
||||
|
||||
template <class Dispatcher = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
PoolFreeShared( SharedHandle<PoolType> pool, const Dispatcher & dispatch VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT )
|
||||
: m_destroy( reinterpret_cast<decltype( m_destroy )>( static_cast<DestroyFunctionPointerType<Dispatcher>>( &DestructorType::free ) ) )
|
||||
: m_destroy( reinterpret_cast<decltype( m_destroy )>( static_cast<DestroyFunctionPointerType>( &DestructorType::free ) ) )
|
||||
, m_dispatch( &dispatch )
|
||||
, m_pool( std::move( pool ) )
|
||||
{
|
||||
@@ -456,8 +446,8 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
|
||||
private:
|
||||
DestroyFunctionPointerType<detail::DispatchLoaderBase> m_destroy = nullptr;
|
||||
const detail::DispatchLoaderBase * m_dispatch = nullptr;
|
||||
DestroyFunctionPointerType m_destroy = nullptr;
|
||||
const Dispatcher * m_dispatch = nullptr;
|
||||
SharedHandle<PoolType> m_pool{};
|
||||
};
|
||||
|
||||
@@ -523,16 +513,6 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
|
||||
using SharedSemaphore = SharedHandle<Semaphore>;
|
||||
|
||||
template <>
|
||||
class SharedHandleTraits<Event>
|
||||
{
|
||||
public:
|
||||
using DestructorType = Device;
|
||||
using deleter = detail::ObjectDestroyShared<Event>;
|
||||
};
|
||||
|
||||
using SharedEvent = SharedHandle<Event>;
|
||||
|
||||
template <>
|
||||
class SharedHandleTraits<QueryPool>
|
||||
{
|
||||
@@ -553,16 +533,6 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
|
||||
using SharedBuffer = SharedHandle<Buffer>;
|
||||
|
||||
template <>
|
||||
class SharedHandleTraits<BufferView>
|
||||
{
|
||||
public:
|
||||
using DestructorType = Device;
|
||||
using deleter = detail::ObjectDestroyShared<BufferView>;
|
||||
};
|
||||
|
||||
using SharedBufferView = SharedHandle<BufferView>;
|
||||
|
||||
template <>
|
||||
class SharedHandleTraits<Image>
|
||||
{
|
||||
@@ -583,6 +553,46 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
|
||||
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 <>
|
||||
class SharedHandleTraits<ShaderModule>
|
||||
{
|
||||
@@ -683,38 +693,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
|
||||
using SharedRenderPass = SharedHandle<RenderPass>;
|
||||
|
||||
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>;
|
||||
|
||||
//=== VK_VERSION_1_1 ===
|
||||
template <>
|
||||
class SharedHandleTraits<SamplerYcbcrConversion>
|
||||
{
|
||||
public:
|
||||
using DestructorType = Device;
|
||||
using deleter = detail::ObjectDestroyShared<SamplerYcbcrConversion>;
|
||||
};
|
||||
|
||||
using SharedSamplerYcbcrConversion = SharedHandle<SamplerYcbcrConversion>;
|
||||
using SharedSamplerYcbcrConversionKHR = SharedHandle<SamplerYcbcrConversion>;
|
||||
|
||||
template <>
|
||||
class SharedHandleTraits<DescriptorUpdateTemplate>
|
||||
{
|
||||
@@ -726,6 +705,17 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
using SharedDescriptorUpdateTemplate = SharedHandle<DescriptorUpdateTemplate>;
|
||||
using SharedDescriptorUpdateTemplateKHR = SharedHandle<DescriptorUpdateTemplate>;
|
||||
|
||||
template <>
|
||||
class SharedHandleTraits<SamplerYcbcrConversion>
|
||||
{
|
||||
public:
|
||||
using DestructorType = Device;
|
||||
using deleter = detail::ObjectDestroyShared<SamplerYcbcrConversion>;
|
||||
};
|
||||
|
||||
using SharedSamplerYcbcrConversion = SharedHandle<SamplerYcbcrConversion>;
|
||||
using SharedSamplerYcbcrConversionKHR = SharedHandle<SamplerYcbcrConversion>;
|
||||
|
||||
//=== VK_VERSION_1_3 ===
|
||||
template <>
|
||||
class SharedHandleTraits<PrivateDataSlot>
|
||||
|
||||
+1308
-992
File diff suppressed because it is too large
Load Diff
+36178
-4631
File diff suppressed because it is too large
Load Diff
+1528
-1222
File diff suppressed because it is too large
Load Diff
Vendored
+12
-11
@@ -4,25 +4,27 @@
|
||||
|
||||
// This header is generated from the Khronos Vulkan XML API Registry.
|
||||
|
||||
// Note: This module is still in an experimental state.
|
||||
// Any feedback is welcome on https://github.com/KhronosGroup/Vulkan-Hpp/issues.
|
||||
|
||||
module;
|
||||
|
||||
#define VULKAN_HPP_CXX_MODULE 1
|
||||
|
||||
#include <vulkan/vulkan_hpp_macros.hpp>
|
||||
|
||||
#if defined( __cpp_lib_modules ) && !defined( VULKAN_HPP_ENABLE_STD_MODULE )
|
||||
# define VULKAN_HPP_ENABLE_STD_MODULE
|
||||
#if !defined( VULKAN_HPP_CXX_MODULE_EXPERIMENTAL_WARNING )
|
||||
# define VULKAN_HPP_CXX_MODULE_EXPERIMENTAL_WARNING \
|
||||
"\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
|
||||
|
||||
#include <vulkan/vulkan_video.hpp>
|
||||
|
||||
export module vulkan_video_hpp;
|
||||
export module vulkan:video;
|
||||
|
||||
export namespace VULKAN_HPP_NAMESPACE
|
||||
export namespace VULKAN_HPP_NAMESPACE::VULKAN_HPP_VIDEO_NAMESPACE
|
||||
{
|
||||
namespace VULKAN_HPP_VIDEO_NAMESPACE
|
||||
{
|
||||
|
||||
//=================
|
||||
//=== CONSTANTs ===
|
||||
@@ -319,5 +321,4 @@ export namespace VULKAN_HPP_NAMESPACE
|
||||
using VULKAN_HPP_NAMESPACE::VULKAN_HPP_VIDEO_NAMESPACE::EncodeAV1ReferenceInfoFlags;
|
||||
#endif
|
||||
|
||||
} // namespace VULKAN_HPP_VIDEO_NAMESPACE
|
||||
} // namespace VULKAN_HPP_NAMESPACE
|
||||
} // namespace VULKAN_HPP_NAMESPACE::VULKAN_HPP_VIDEO_NAMESPACE
|
||||
|
||||
Reference in New Issue
Block a user