-
Might be a little perf boost to get canvas off the main thread.
https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas
-
TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The provided value is not of type '(CSSImageValue or HTMLImageElement or SVGImageElement or HTMLVideoElement or HTMLCanvasElemen…
-
### Current Behavior
When calling `sprite.texture.update()` the texture with a source that has changed isn't updated.
Instead, calling `sprite.texture.source.update()` works for pixi v8 (see [PIXI…
-
### Current Behavior
I just saw this context cleanup method in the destroy function.
https://github.com/pixijs/pixijs/blob/529c599a9385eaa0bebb7abf599e54956ff7a7c2/src/scene/text-bitmap/DynamicB…
-
https://github.com/gpuweb/gpuweb/pull/2905
-
For browser that do not fully support `OffscreenCanvas` and rendering on a web worker, we need a fallback that allows us to just do all our rendering on the main thread and not spawn a web worker.
-
The CanvasElement associated with a RenderingContext2 when using webgl2 is missing:
```dart
final actualCanvas = querySelector('canvas')! as CanvasElement;
final gl = actualCanvas.getContext('web…
-
Offscreencanvas isn't supported by all the browsers and some browsers like firefox don't support offscreen canvas for 2d canvas. In that case we can use a hidden canvas to render everything and then d…
-
The fundamental problems we need to solve are:
1. Window.requestAnimationFrame is not exposed in workers.
2. commit() may not be synchronized with a browsing context graphics update, so we need a …
junov updated
3 years ago
-
Currently, the way to have Canvas2D-generated content in WebGL involves:
```
gl.bindTexture(gl.TEXTURE_2D, texture);
gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, canvas)
`…
fserb updated
6 years ago