foxnne / pixi

Pixel art editor made with Zig.
https://foxnne.github.io/pixi/
MIT License
645 stars 20 forks source link

Enable the use of `sysgpu` alongside `Dawn` #44

Closed foxnne closed 5 months ago

foxnne commented 5 months ago

Closes #17.

This is a very large PR changing the Dear Imgui bindings used in the project and allows for a new sysgpu backend to be used which fixes a very long-standing bug/leak on macOS. I'm eager to merge this, but mach-core I believe is waiting on changes to the zig build system to allow optional dependencies, or to vendor prebuilt binaries for a dependency that adds a lot of build time.

I likely shouldn't have but I continued development in this branch and many of those changes are here as well. I will merge this as soon as its not broken on Windows without edits, See here, and mach-core reenables sysgpu. See here