-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
eframe support for wgpu on the web #2107
Conversation
filed wgpu issue for srgb issue gfx-rs/wgpu#3059 |
we're actually not allowed to block - this only worked because wgpu on webgl doesn't actually cause anything blocking. However, when trying webgpu this became an issue
|
I get this warning in Firefox:
No such warning on chromium. |
This works great, good job! ⭐ |
The demo app WASM increases in size by a whopping 1.5 MB (4.7MB -> 6.3MB). Not great. |
Saw it as well, filed an issue gfx-rs/wgpu#3064 |
So starting with this, I opened this |
Adds a wgpu painter for eframe's web compilation (i.e. targeting wasm).
You can render the demo with it by replacing
glow
withwgpu
in the feature list inbuild_demo_web.sh
. Worked fine for me on manual testing!Fixes #1755
Remaining things to figure out (likely after this PR):