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

Dynamic backends (or multiple static backends) #130

Open
lukaslihotzki opened this issue Jun 15, 2024 · 1 comment · May be fixed by #148
Open

Dynamic backends (or multiple static backends) #130

lukaslihotzki opened this issue Jun 15, 2024 · 1 comment · May be fixed by #148

Comments

@lukaslihotzki
Copy link
Contributor

Do you have any idea how to make the backends (specifically, GLES or Vulkan) selectable at runtime? For exmaple, by making some object-safe traits? Alternatively, it would help if multiple backends can be activated at the same time (for example, with cargo features, preferably exposed as (non-object-safe) traits too). Then, abstracting over multiple backends could be done by the application.

@kvark
Copy link
Owner

kvark commented Jun 17, 2024

Yes, the latter, I think, is the way to explore. Make it possible to build multiple backends even if the "root" exported types are from one of them. Would require a few fixes in the backends themselves, since sometimes they use types as crate::Type, but possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants