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

Non-GPU (software) rendering #287

Closed
dhardy opened this issue Feb 17, 2022 · 1 comment
Closed

Non-GPU (software) rendering #287

dhardy opened this issue Feb 17, 2022 · 1 comment

Comments

@dhardy
Copy link
Collaborator

dhardy commented Feb 17, 2022

Now that Softbuffer exists, we may consider writing a pure software rendering backend for optimal portability. See also #33 for ideas (e.g. using euc for rendering).

Some refactoring would be required:

  • possibly move the winit loop handling to kas-core or another crate
  • a new shell crate alongside kas-wgpu
  • add a wrapper around shell crates enabling automatic fallback?
@dhardy
Copy link
Collaborator Author

dhardy commented May 20, 2024

WGPU supports a software fallback option. We don't need another. Enable like this:

KAS_BACKENDS=fallback cargo run --example clock

Or via WgpuBuilder::with_wgpu_options

@dhardy dhardy closed this as completed May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant