Commit graph

5 commits

Author SHA1 Message Date
Jinny You
5d617c0821 wasm: remove ASYNCIFY to reduce binary size
The binary size recently increased due to the ASYNCIFY option, which was required for WebGPU initialization.

To prevent unnecessary binary size growth, ThorVG will no longer depend on asynchronous processes such as `emscripten_sleep` (ASYNCIFY or JSPI).

As a result, the combined WASM binary size has been significantly reduced to less than 1MB.

Size comparison: 1559KB → 998KB (-36%)
2024-12-13 14:53:55 +09:00
Jinny You
f017bb84c1 wasm: reduce WebGPU stack size
Reduce stack size to 2MB for optimized memory usage
2024-12-10 21:11:06 +09:00
Jinny You
40b82c26f5 wasm: increase stack size
Patch #2826 increased the stack size to 4MB
2024-10-07 18:41:12 +09:00
Jinny You
e70596629f wasm: increase stack size for WebGPU
Current WG Engine requires a minimum stack size of 2MB to function properly.
2024-10-07 12:14:13 +09:00
Jinny You
d704a2503a bindings/wasm: Support WebGPU
Updated WASM binding to bring WebGPU on the web player.

binding will generate a WASM binary, which can render animation through both SW and WG raster engine.

A raster engine will be chosen by parameter `engine`, when initializing.
2024-08-20 17:26:23 +09:00
Renamed from cross/wasm_webgpu.txt (Browse further)