racket-vulkan
racket-vulkan copied to clipboard
Racket integration with all things Vulkan :boom:
Some Vulkan calls may block the calling (OS) thread. E.g., `vkWaitForFences`, `vkDeviceWaitIdle`, etc. Cooperation with Racket's runtime could be improved by adding `#:blocking? #t` to those procedures' FFI `_fun` types....
Credit to @dalev for observation in #27 > Fwiw, I took a quick look at the copy of vk.xml in this repo, and there are both param and member elements...
The c structs are generated without specifying `#:malloc-mode 'atomic-interior`, so the `'atomic` will be used by default. This is problematic as structs allocated via the corresponding `Make-` functions may be...
As per title. These appear to be new in the specification.
`unsafe.rkt` is a faithful reproduction of Vulkan in Racket, but it's not good for anyone who wants to get up and go quickly. Generate another module that depends on `unsafe.rkt`...
vulkan.h has preprocessor directives. We can either manually track those or generate procedures that behave similarly to them. A manual approach is fine as a stop-gap, therefore the scope of...