Commit graph

3 commits

Author SHA1 Message Date
Jinny You
a2af7aae2e 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-09-30 16:44:21 +09:00
Jinny You
7838c1d3d1 wasm: Update emscripten build config
enabled options:
- EXPORT_ES6 > to import glue code in es6 module system
- SINGLE_FILE > to build library as a single JS file, single file reduces loading latency
- MODULARIZE > proper option to build es6 module (optimized)
- EXPORTED_RUNTIME_METHODS > allow es6 module based glue code to import FS
2024-01-02 20:34:11 +09:00
Hermet Park
01dd93be11 infra: migrate cross files into one folder. 2023-12-26 17:48:01 +09:00
Renamed from wasm_cross.txt (Browse further)