We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent add2082 commit e1dabc8Copy full SHA for e1dabc8
1 file changed
src/components/Charts/SkiaWebChart/isSkiaWebSupported.ts
@@ -1,10 +1,6 @@
1
/**
2
* Probes whether the current web environment can give Skia/CanvasKit a usable WebGL surface.
3
*
4
- * CanvasKit (loaded by `WithSkiaWeb`) reads `.rangeMin` off `gl.getShaderPrecisionFormat()` without a
5
- * null check, so on GPUs where that call returns `null` it throws an uncaught
6
- * `TypeError: Cannot read properties of null (reading 'rangeMin')` during its async GL init.
7
- *
8
* The probe reuses a single long-lived WebGL context instead of creating a throwaway one on every
9
* chart mount. Creating and discarding a context per mount churns WebGL contexts, and on
10
* context-constrained mobile browsers (e.g. Android Chrome) that pressure can crash the shared GPU
0 commit comments