from setting.js of emscripten: https://github.com/emscripten-core/emscripten/blob/028f73723214eff982aac2c919ce7b5ed826452f/src/settings.js
*// If set to 1, enables support for transferring canvases to pthreads and* *// creating WebGL contexts in them, as well as explicit swap control for GL* *// contexts. This needs browser support for the OffscreenCanvas specification.* *var OFFSCREENCANVAS_SUPPORT = 0;* It sounds *OFFSCREENCANVAS_SUPPORT *only works with pthread *enabled*. is it possible to enable it without pthread on web worker using webgl2 rendering? Thanks, -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/f5cb1e0e-aa27-48cd-a242-423f41251503%40googlegroups.com.
