Skip to content
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

Add winit/wgpu backends #166

Open
lukexor opened this issue May 29, 2024 · 0 comments
Open

Add winit/wgpu backends #166

lukexor opened this issue May 29, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@lukexor
Copy link
Owner

lukexor commented May 29, 2024

Currently sdl2 is the only available backend, which has served this project well but it carries a lot of baggage and dependency cost and creates a divide when it comes to web support.

winit/wgpu provides better cross-platform support for metal, vulkan, openGL, direct3d, webgl, and webgpu.

I'm not sure if I want to keep supporting sdl2 as an option via feature flags or not, given the maintenance burden but the goal should be minimal breaking API changes. It's convenient, then, that winit seems to have adopted a very similar trait-based APi.

This change will likely also necessitate adding in crates like cpal for audio and gilrs for cross platform gamepad support.

@lukexor lukexor added the enhancement New feature or request label May 29, 2024
@lukexor lukexor changed the title Add winit/wgpu backends Add winit/wgpu backends May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant