halx99
c2bec92bc0
Improve console/axmol.ps1 [skip ci] [skip appveyor]
2023-09-06 12:23:33 +08:00
halx99
8cbe447974
Fix ci
2023-09-06 11:14:11 +08:00
halx99
0f21f4d85f
Enable audio thread pool when wasm pthread enabled
2023-09-06 10:22:22 +08:00
halx99
0c42b9370b
Enable more tests for wasm
...
- box2d test beds
- chipmunk test beds
2023-09-06 10:11:48 +08:00
halx99
3fa70d602b
Improve wasm thread control by cmake option: AX_WASM_THREADS
...
- AX_WASM_THREADS: specify wasm thread count, valid value: number: `>=0` , string: must be: `auto` or `navigator.hardwareConcurrency`,
- number: explicit set thread count, `0` means disable wasm thread support
- string:
- `navigator.hardwareConcurrency`: will be emitted in the JS code which will use the number of cores the browser reports
- `auto`: Use cmake to detect host processor count
default is: `navigator.hardwareConcurrency`
2023-09-06 09:52:39 +08:00
halx99
68c51d64ba
Disable wasm pthread for gh pages
...
gh-pages doesn't support thread
2023-09-06 00:47:43 +08:00
halx99
d7a72ea587
WASM: Fix .html file not generated
2023-09-05 22:40:25 +08:00
halx99
5a528b46e5
WASM: use shorten target platform name 'wasm' instead 'emscripten'
...
For examples:
- win32 app build by msvc/clang and runs on windows
- wasm app build by emscripten/emcc and runs on web browsers
2023-09-05 22:17:18 +08:00
halx99
f77174e3ed
wasm: Dont use sourcemap, just leave cmake default -g
...
1. build debug: .\build.ps1 -p wasm -xb '--target','cpp_tests','--config','Debug'
2. Use chrome extension: C/C++ DevTools Support (DWARF) to debug c++ code, blog: https://developer.chrome.com/blog/wasm-debugging-2020/
2023-09-05 21:41:32 +08:00
halx99
0a56810af5
Improve wasm support
...
- Enable thread support
- Improve emcc flags
- Enable webp support
- axmol run now support wasm by emrun
- Rebuild openssl by pthread support
- Extension: effekseer support
2023-09-05 21:10:25 +08:00
halx99
a4682dc4da
Fix wasm HttpClient not working
2023-09-04 22:16:56 +08:00
halx99
fc669c31fe
Fix android ImGUI font Render
...
Update imgui_impl_ax glfw to match with ImGui 1.89.8-docking
2023-09-04 20:03:01 +08:00
halx99
a26dc47238
Enable A8, LA8, L8 render format for GLES_PROFILE
2023-09-04 19:16:26 +08:00
Deal
e8f88ea395
Remove unnecessary preprocessor check
2023-09-04 11:26:56 +08:00
halx99
e684e7aea5
Explicit clang setup [skip ci] [skip appveyor]
2023-09-03 19:55:39 +08:00
halx99
80f1e0952f
Update wasm persist path
2023-09-03 18:25:39 +08:00
halx99
9a9d73a476
Fix ImGui PC platform macro detection
2023-09-03 13:22:40 +08:00
halx99
c67cd64ffc
Use axmol embeded freetype for wasm
2023-09-03 13:12:59 +08:00
halx99
cbb23108cb
Merge: e1f3c5d76f
c21736c0d6
...
Merge branch 'dev' of https://github.com/axmolengine/axmol into dev
2023-09-03 11:47:36 +08:00
halx99
7abad49137
Appveyor CI: build wasm release mode
2023-09-03 11:47:33 +08:00
halx99
8f0f3e53ec
Increase clang-cl minmal version requirement [skip ci][skip appveyor]
2023-09-03 10:52:11 +08:00
halx99
d5cb9d4d1e
Fix gendocs ci
2023-09-03 09:59:38 +08:00
halx99
692688accf
Fix tvos ci
2023-09-03 09:46:21 +08:00
halx99
c9b3ba5c3e
Fix gendocs ci
2023-09-03 07:54:49 +08:00
halx99
8a9455a4ab
Improve build1k
2023-09-03 06:49:59 +08:00
halx99
692be44c27
Fix gendocs ci
2023-09-03 06:41:36 +08:00
Deal
6a707c77e1
Update gendocs.ps1
2023-09-03 04:40:05 +08:00
halx99
072e6d6a0d
Update readme files
2023-09-02 21:48:54 +08:00
halx99
7be0f8c61a
Fix ios ci
2023-09-02 21:45:43 +08:00
halx99
931fb45990
Fix ios ci
2023-09-02 21:18:54 +08:00
halx99
139181bb53
Particle3D: add wasm support for load materials
2023-09-02 20:36:55 +08:00
halx99
9251d8beff
Fix ios ci
2023-09-02 20:17:39 +08:00
halx99
1436dbadee
Update reademe files
2023-09-02 20:06:18 +08:00
halx99
c66ac9dedc
Merge: 41714a04fd
2631c8405b
...
Merge branch '1.x' into dev
2023-09-02 19:56:50 +08:00
halx99
b21fcb0272
Fix gendocs.ps1
2023-09-02 19:56:33 +08:00
halx99
888a1e7d78
Merge: c469e8ac6e
5b2645501f
...
Merge branch '1.x' into dev
2023-09-02 19:51:42 +08:00
halx99
8f8418c15d
Merge: c8bfa8cdf1
062b510c38
...
Merge 1.x WASM support into 'dev'
2023-09-02 19:47:18 +08:00
halx99
3875b2c1df
Committing genbindings changes
2023-09-01 11:25:21 +00:00
Deal
815880b2ea
Update ax_audioengine.ini
2023-09-01 19:02:19 +08:00
nowasm
03f007fdbe
Add webgl aka wasm build support ( #1315 )
2023-09-01 16:31:14 +08:00
halx99
4c0c328b80
Merge: 6d82d3a76c
5e3cba78a6
...
Merge branch '1.x' into dev
2023-09-01 16:29:02 +08:00
halx99
396313de47
consle-next: Looking both powershell 7.x and 5.x
2023-09-01 16:28:34 +08:00
iAndyHD3
ed39cf3996
Update AXBuildHelpers.cmake ( #1316 )
...
fix find_program call
2023-09-01 16:09:58 +08:00
halx99
b1ddb2fcce
Sync #1316
2023-09-01 16:09:27 +08:00
halx99
a000ccbab5
Update site build
2023-09-01 14:49:03 +08:00
halx99
ada7deb002
Sync docs [skip ci]
2023-09-01 14:48:42 +08:00
halx99
17a7c13a4e
Update docs
2023-09-01 14:28:11 +08:00
halx99
394ce3d401
Auto deploy wasm demo to gh pages
2023-09-01 14:15:25 +08:00
Deal
d9e106e68c
Update gendocs.ps1
2023-09-01 14:02:58 +08:00
halx99
310c5868ec
Merge: 8f8814532d
bdbbc55909
...
Merge branch '1.x' into dev
2023-09-01 13:36:38 +08:00