-
failed to execute the emsdk\upstream\emscripten\tests\gl_in_two_pthreads.cpp Test
linking flags:
-s PROXY_TO_PTHREAD -s OFFSCREENCANVAS_SUPPORT -s OFFSCREEN_FRAMEBUFFER -s WASM_WORKERS -profiling…
-
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
5 years ago
-
For using in EMSCRIPTEN_FETCH_SYNCHRONOUS, we should link with: USE_PTHREADS, PROXY_TO_PTHREAD, ALLOW_MEMORY_GROWTH.
My main thread do the following:
1) GL rendering (that can be run only in the ma…
-
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…
-
## Summary
https://github.com/misskey-dev/browser-image-resizer は`OffscreenCanvas.convertToBlob`を使うが、pngの圧縮が不十分に感じる
もっとpngのサイズを小さくしたい
-
# Bug Report
This is similar to #52813, in spirit. However the errors, how it's reproduced, and the code causing it are pretty different.
Basically I have a code snippet that appears 100% error…
-
Your library is great, but I have some problems
I don't know what I did wrong, and occasionally some pictures will be misplaced. I framed them with a red frame.
The probability of error is about…
-
https://html.spec.whatwg.org/multipage/canvas.html#dom-offscreencanvas-transfertoimagebitmap
> transferToImageBitmap\(\)
should probably mark the ImageBitmap as origin-unclean in the appropriate…
-
blob is not a valid CanvasImageSource, but many of the offscreen-canvas tests are written as if it is. These tests all fail. Will submit a PR fixing them by using ImageBitmap (many of these are worker…