realitix / vulkan

The ultimate Python binding for Vulkan API
Apache License 2.0
501 stars 46 forks source link

Vulkan Memory Allocator #29

Closed Berserker66 closed 7 years ago

Berserker66 commented 7 years ago

There is a library for vulkan memory allocation management by GPU-Open https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator I keep seeing it recommended in various documentation and tutorials. It feels like a nice fit for a python-vulkan module as it gives the option for simpler memory management, something that people using Python generally opted out of.

If possible, including this library or offering an optional extension would be fantastic (that is just my opinion, of course.)

realitix commented 7 years ago

Hello @Berserker66, indeed it's a nice library. From my point of view, it's better to create another wrapper dedicated to this library and to put vulkan as a dependancy. It seems very simple to wrap with cffi. I will take a look and wrap it when I have time. Thanks for the tips! I let this issue open to keep this in mind.

realitix commented 7 years ago

Hello @Berserker66, I created a first wrapper of Vulkan Memory Allocator here: https://github.com/realitix/pyvma It's a work in progress.

Berserker66 commented 7 years ago

Thank you!