Commit Graph

12 Commits

Author SHA1 Message Date
James Chen 4ce3e6e64e fixed #16562: Wasm support for ByteDance minigame platform (#16628) 2023-12-20 09:54:54 +08:00
PP 75add41002 fix: asm.js subpackage without spine module (#15822)
# Conflicts:
#	pal/wasm/wasm-minigame.ts
2023-07-31 11:33:59 +08:00
Leslie Leigh (李的序) 3a470a6dff Add utilities to check integrity of pal implementations (#15694)
* Add utilities to check integrity of pal implementation

* Fix screen adapter

* Fix game pad input

* Apply suggestions from code review

Co-authored-by: PP <chinese1236@qq.com>

* Add license

---------

Co-authored-by: PP <chinese1236@qq.com>
2023-07-13 14:18:53 +08:00
PP 649e81a7b2 optimize: ensure wasm module ready before importing (#15631)
* optimize: ensure wasm module ready before importing

* Update @types/pal/minigame.d.ts

* Update pal/wasm/wasm-minigame.ts

* use reject instead of warnning

* optimize: add promiseToLoadWasmModule

* add shouldUseWasmModule method to simplify code

* fix: subpackage loading on taobao minigame platform

* Update pal/wasm/wasm-minigame.ts
2023-07-06 15:34:31 +08:00
PP 85acac8ae6 fix: wrong asm.js mem url on minigame platforms (#15559)
* fix: wrong asm.js mem url on Xiaomi platform

* revert binaryUrl fix on OPPO platform
2023-06-29 09:41:50 +08:00
PP 1090830b1e fix: loading spine module on OPPO using separate engine (#15536)
* fix: loading spine module on OPPO using separate engine
2023-06-26 16:58:45 +08:00
bofeng-song bd28997503 fix fsUtils is not defined at taobao platform (#15522)
* fix fsUtils is not defined at taobao platform
2023-06-26 10:11:12 +08:00
PP 870e356408 support fetchBuffer in pal/wasm module (#15454) 2023-06-18 16:38:44 +08:00
PP 9bb5b351be fix: loading empty wasm on native platforms (#15150) 2023-05-23 16:46:44 +08:00
PP 4811334259 fix: wasm loading in editor native engine && fix gulp build (#15012)
* fix: wasm loading in editor native engine

* fix: gulp build workflow
2023-05-10 13:46:45 +08:00
PP 5f9209b3a9 fix: resolve external protocol when instantiate wasm in Editor (#15008) 2023-05-09 14:04:49 +08:00
PP 0b353b6e14 feat: support general WASM module in engine (#14974)
* support pal/wasm module

pal/wasm

* support sys.Feature.WASM and WASM_SUPPORT_MODE

# Conflicts:
#	pal/system-info/web/system-info.ts

# Conflicts:
#	pal/system-info/web/system-info.ts

# Conflicts:
#	pal/system-info/web/system-info.ts

* optimize bullet module


* update physx module

update

* revert tsconfig

* optimize WebGPU wasm import

* fix native wasm instantiate

* support wasm in EDITOR and PREVIEW

* optimize variable name

* update comment

* optimize code

* Update cocos/misc/webassembly-support.ts

* add physx wasm (#11) by yiwenxue

* add physx wasm

* update physx wasm instantiate.

* update, rename, etc.

* download external in CI

* fix physX wasm init

* move out external wasm type

* update external-config.json

* expand node max-old-space-size

* use console.debug

---------

Co-authored-by: Yiwen <15225434259xue@gmail.com>
2023-05-08 18:02:17 +08:00