akelai opened a new issue #10249:
URL: https://github.com/apache/incubator-superset/issues/10249


   I'm using Kepler.gl and Chrome, but maybe this happens also with something 
else (whatever uses WebGL) and other browsers:
   
   when I reach a number of Kepler.gl maps in a dashboard, more than the max 
number of active WebGL contexts allowed in Chrome, the firt ones get lost.
   
   This happens even if the Kepler.gl maps are in different "tabs" (of the same 
Superset dashboard): that is, going from a tab to another one, doesn't reset 
the active WebGL contexts, so every new Kepler.gl map loaded contributes to 
reaching the max allowed even if they're wisely positioned in different tabs in 
the effort to avoid this problem.
   
   I've found [this package](https://github.com/stackgl/gl-reset) from stack.gl:
   
   > **gl-reset**
   > *Completely reset the state of a WebGL context, deleting any allocated 
resources.*
   
   Looks like something that could help here, but I'm not sure how.
   I'd like the WebGL contexts to be reset when I switch to a different tab, 
instead of keeping all of them.
   
   Any suggestion on how to achieve that? (using gl-reset or any other way)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to