Sorry, something went wrong.
|
Ready for review, but I figure you may want to have a code-review before letting CI run 😄 |
Sorry, something went wrong.
|
Funny how pygfx/pygfx#674 gets reported while we're working on this 😄 I think I'll put this PR on hold, and first address the GUI backend selection mechanics. I think your code to check what GUI Jupyter has integrated should be used in wgpu-py. And perhaps it makes sense to provide more ways to influence backend preference, that fpl can then use (in the new gui.py). |
Sorry, something went wrong.
|
yup makes sense to do it upstream, less wheel reinventing 😄 |
Sorry, something went wrong.
|
After pygfx/wgpu-py#478 it should be possible to greatly simplify this |
Sorry, something went wrong.
|
I made some updates to make it work with the latest wgpu. Ready from my end! |
Sorry, something went wrong.
|
This is really great, thanks! 🥳 . Will merge once wgpu v0.15.1 is on pypi and tests pass |
Sorry, something went wrong.
Closes #384
Note on performance: The import time is about 0.2 s faster on desktop (because it does not import Jupyter stuff). In the notebook we can expect a similar improvement because glfw and qt are not imported by default (when available).