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

Check GPU feature compatibility #86

Open
tinyjin opened this issue Dec 27, 2024 · 1 comment
Open

Check GPU feature compatibility #86

tinyjin opened this issue Dec 27, 2024 · 1 comment
Labels
enhancement Improve features portability Portability Issues among the machines

Comments

@tinyjin
Copy link
Member

tinyjin commented Dec 27, 2024

  • Firefox/Safari/Chrome(mobile) browsers don't run WebGPU as a default option.
  • Also users could toggle off GPU flags before
  • OS/Platform may not support hardware acceleration due to lack of systems.

In these cases, users will face runtime error(likely nothing shown on the canvas), could assume it's library error.
To avoid those situations, library should notice users about browser compatibility.

Related: thorvg/thorvg.viewer#85

@tinyjin tinyjin added enhancement Improve features portability Portability Issues among the machines labels Dec 27, 2024
@hermet
Copy link
Member

hermet commented Jan 6, 2025

@tinyjin We can make the viewer quickly fall back to the software renderer if the GL/WGPU render backend initialization fails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improve features portability Portability Issues among the machines
Projects
None yet
Development

No branches or pull requests

2 participants