-
-
Notifications
You must be signed in to change notification settings - Fork 482
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
Detect WebGL support on BrowserInfo #6931
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An electron bug caused the issue with Jupyter Desktop. See the comments at bokeh/bokeh#13665. It was fixed by deleting a specific folder.
I don't know if this would solve the problem more than hide it. I could be wrong.
@@ -505,6 +505,8 @@ def _render(self, doc, comm, root): | |||
Store.current_backend = loaded_backend | |||
backend = self.backend or Store.current_backend | |||
renderer = Store.renderers[backend] | |||
if state.browser_info and 'webgl' in renderer.param: | |||
renderer.webgl = state.browser_info.webgl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it is Panel job to do this.
Detects webgl support, e.g. so we can toggle webgl rendering automatically in HoloViews.