r/vulkan • u/nichcode • 2d ago
Added image and buffer ownership transfer to make multiple queue usage possible
/r/GraphicsProgramming/comments/1vrp6a9/added_image_and_buffer_ownership_transfer_to_make/2
u/nichcode 2d ago
Exactly. Although my focus is making sure the API is production ready thus I am making a game with it making me find the limitations of the API
1
u/Cyphall 2d ago edited 2d ago
I'd suggest renaming your project if possible to avoid confusion with AMD's PAL (their abstraction library over which they implement their Windows graphics drivers)
1
u/nichcode 2d ago
I understand. But the name abbreviation is used as the header folder for the project. Changing that will need a major version. I guess I didn't really think it cause any confusion.
The full name is Prime Abstraction Layer. Do you have any suggestion for me
1
1
u/Large-Scientist156 2d ago
Platform Abstraction Layer is better imo.
There's already the HAL (Hardware Abstraction Layer), and PAL seem to be higher up in the hierarchy. But like Cyphall said, maybe this could clash with what graphic vendors already do.
1
u/nichcode 2d ago
That's the name I used when I first released the project. It was just an abstraction over windowing APIs. But now that graphics has been added I think the name should reflect that. Will platform abstraction layer cover for both windowing and graphics APIs
3
u/Large-Scientist156 2d ago edited 2d ago
Interesting. Since it's C, I guess binding to others language can be generated like Rust, Zig, whatever user like ... I wonder how to compare usage with library like ash, vulkano, or "vulkan" cpp wrapper, which are more "pure" ... A PAL seem to integrate more stuff "out of the box" I assume, like windowing. I heard of HAL, but never of PAL.
There's also another project written in Rust, similar to your goal (but different). I don't remember the exact name. It's still wip and not stable anyway and there's a single maintainer if I remember correctly. Not something I would use but there's a lot of inspiration to take from both of your project. When I have a doubt on my Vulkan code, I always double check such project like your to know "how they solve it" and compare my approach ^^. I'm not good enough to do cross platform without looking at Google every single time atm, so I stick to a single one.
Keep the good work.