-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Would you be open to an experiment with SDL3 (and the gpu api)? #40
Comments
This would be awesome, I've been trying to architect the platform API where the actual implementations could be switched out to handle just this kind of thing. I'd rather not get stuck to one API for anything if possible. |
I did take notice of that so it would remain my goal to keep things switchable. Once I get this scaffolded I'll open a draft PR to keep it out in the open for any feedback. |
After doing a bit of an audit in the Also I've been musing a bit on how to switch out the implementations at compile time. Right now the shader implementation setup right now just looks like:
Maybe there is some way to set these up somewhat dynamically at compile time based on some new Graphics Backend type that we set in the App setup. Would love to hear some proposals on how best to do that. |
So my first step was getting SDL integrated into the build, based on what's been done for SDL2, but I instead chose to keep the zig build setup and the SDL sources separated (akin to ziglua). I'll open that draft PR in a moment once I rebase this stuff on to your recent stuff on main. :D |
Heyo!
Before I noodle a bit, then present my findings I wanted to get a vibe check.
With the recently merged GPU API there is now a very nice way to use the modern platform graphics APIs. No more OpenGL! :D Compute shaders ahoy! :D And because it's SDL we'd have gamepads! And SDL is honestly amazingly small and fast given the wide platform support that is intensively tested.
In regards to the GPU api, the shader compilation likely presents the biggest question for Apple/metal targets. sokol_shaderc could still work I believe. The machengine dxc would not work as I understand it. glslc could possibly work, but that would mean Apple developers would have to use moltenvk.
If it's way off the mark for your concept of delve-framework then all good, I'll leave it at that. If there is some interest then I'd like to explore SDL with delve and share anything I arrive at.
The text was updated successfully, but these errors were encountered: