Commit Graph

3084 Commits

Author SHA1 Message Date
halx99 94b5705bd3 Improve cmake script
- glslcc helper function
- Rename ax_add_shader to ax_target_compile_shaders
- Provide argument FILES for specify single or multi shader
source files support, i.e.
ax_target_compile_shaders(target_name FILES 1.frag 1.vert)
- Rename all _AX_ROOT_PATH to _AX_ROOT
2023-07-06 19:21:36 +08:00
halx99 1d82a9592c [CMAKE] Add shader compile function: ax_add_shader [skip ci]
- ax_add_shader(${FILE}): output compiled shader to ${CMAKE_BINARY_DIR}/runtime/shaders/${SC_LANG}/xxx_fs.bin
- ax_add_shader(${FILE} CUSTOM): output compiled shader to ${CMAKE_BINARY_DIR}/runtime/shaders/${SC_LANG}/xxx_fs.bin
- ax_add_shader(${FILE} CVAR): the shader will compiled to c hex header for embed include by C/C++ use
2023-07-06 14:08:16 +08:00
halx99 0d5addaf39 Update setup.py to setup.ps1 in cmake [skip ci] 2023-07-06 14:00:21 +08:00
halx99 df6aaeb0f1 Fix linux setup 2023-07-06 13:20:56 +08:00
halx99 5df972fc59 Fix linux setup 2023-07-06 13:15:54 +08:00
halx99 d3232a2fad Fix linux ci 2023-07-06 12:22:41 +08:00
halx99 0aef470146 Migrate setup.py to setup.ps1 2023-07-06 12:18:33 +08:00
halx99 0f8c198bbd Sync lua-bindings 2023-07-05 20:22:44 +08:00
halx99 1ba0d44449 Update yasio to 4.0.0 2023-07-05 20:22:11 +08:00
Deal(涓€绾跨伒) 27e66df931 Use glad for android GLESv3 support 2023-07-04 17:34:12 +08:00
halx99 781b7895a3 Fix build options parsing 2023-07-04 09:23:07 +08:00
halx99 8a0f5c9984 Add build1k:assembleDebug support for android 2023-07-04 09:20:56 +08:00
Deal(涓€绾跨伒) a4fbe9c598 Fix CMakeLists.txt 2023-07-03 21:16:33 +08:00
halx99 7cb9aac41e Rename option `AX_USE_COMPAT_GL` to `AX_USE_ANGLE` 2023-07-03 20:35:55 +08:00
halx99 0e74de43d6 Fix copy angle dll error 2023-07-03 20:28:55 +08:00
halx99 5eebb206df Improve ci scripts 2023-07-03 20:01:56 +08:00
Deal(涓€绾跨伒) 6b08dc4430 Update build1k.ps1 2023-07-02 21:23:56 +08:00
halx99 3c5dd9541c Remove test code 2023-07-02 10:51:07 +08:00
halx99 ec77242c6c Fix version match 2023-07-02 10:48:59 +08:00
halx99 bb19133d58 Add clang setup 2023-07-02 10:23:12 +08:00
halx99 53700168d6 Add missing -winsdk option 2023-07-02 10:04:00 +08:00
halx99 2f8a4061d7 Fix prebuilt link [skip ci] 2023-07-02 01:08:04 +08:00
halx99 b30744d2e0 Fix nuget setup & improve source migrate 2023-07-02 01:01:46 +08:00
Deal(涓€绾跨伒) 9ec338e663 Improve build1k.ps1 (#1251) 2023-07-02 00:53:41 +08:00
halx99 1c25aea206 Reduce ci checks 2023-07-01 21:54:12 +08:00
halx99 1d5e85be57 Forcing c99 when winsdk < 10.0.22000.0, refer #1246 2023-07-01 21:11:01 +08:00
j-jorge 0af6db6345 Add missing include guard in NinePatchImageParser.h (#1248) 2023-07-01 08:53:09 +08:00
Deal(涓€绾跨伒) 2ff94f287e Improve ci files (#1247)
* Improve ci files

* Fixup

* Fix ci

* Update DevSetup.md

* Remove duplicated code

* Fix setup_jdk

* Fix typo

* Check jdk setup

* Update build1k.ps1

* Update build.ps1

* Update build1k.ps1
2023-07-01 08:52:14 +08:00
j-jorge 049db01a8a UserDefault: check the result of posix_ftruncate. (#1249) 2023-07-01 08:51:29 +08:00
j-jorge b8202ed918 Fix missing return value in EditBoxImplLinux::getNativeDefaultFontName(). (#1250) 2023-07-01 08:49:17 +08:00
halx99 6dc5e3a3e3 Fix typo 2023-06-30 17:26:24 +08:00
halx99 ab6ae71691 Fix ci 2023-06-30 17:20:00 +08:00
halx99 ac3123bdb6 Improve ci pwsh script
- Rename tools/ci/build.ps1 to tools/ci/build1k.ps1
- build1k.ps1 now also setup jdk for build android
- Rename `-cm` to `-xc`
- Rename `-cb` to `-xb`
- Add option `-prefix` to specific install location for missing tools,
default localtion is $HOME/build1k/
2023-06-30 17:06:33 +08:00
Deal(涓€绾跨伒) 22cf57df14 Update DevSetup.md [skip ci] 2023-06-29 21:01:45 +08:00
Deal(涓€绾跨伒) 8a981d7242 Almost pwsh for ci (#1244) 2023-06-29 19:46:52 +08:00
halx99 9ac847df1e Fix warning [skip ci] 2023-06-28 16:17:55 +08:00
halx99 604a7cb858 Download optional c-ares 2023-06-28 00:44:29 +08:00
halx99 928100186f Fix #1243 2023-06-26 09:12:29 +08:00
halx99 c06d5af3f8 Move queueOperation from GLView to Director 2023-06-25 01:17:29 +08:00
halx99 3eac3abecf Sync yasio to latest 2023-06-24 21:18:27 +08:00
halx99 ac8deafa3c Fix pr ci 2023-06-24 11:54:33 +08:00
Deal(涓€绾跨伒) feffe4095c Update 3rd sources (#1240)
- llhttp: 8.1.1
- yasio: latest
- recast 1.6.0
- openal-soft: latest for official UWP support
- glad 2.0.4
- libpng 1.6.40
- astcenc 4.5.0
- Add fastlz: latest
- Disable lz4 by default
2023-06-24 09:17:14 +08:00
CHP f729bce152 Increment PROP_MIN_SDK_VERSION to 21 (#1236) 2023-06-20 20:49:48 +08:00
halx99 0342ad3c39 Fix #1238 2023-06-20 20:48:52 +08:00
Deal(涓€绾跨伒) 0ab5023997 Update UIVideoPlayerTest.cpp
Use mp4 url because Apple only support video container format .mp4, not support .mkv
2023-06-19 20:20:03 +08:00
halx99 0a4c247dd2 Migrate sync [skip ci] 2023-06-19 20:09:58 +08:00
halx99 6f672eefa5 Update readme files [skip ci] 2023-06-19 16:06:37 +08:00
Deal(涓€绾跨伒) c20ef0b299 Apple Media, print error reason when load media failed 2023-06-19 09:27:28 +08:00
halx99 bd2eb7b27d Auto download vlc prebuilts if not found system
- For windows, can easy enable vlc media via `-DAX_ENABLE_VLC_MEDIA=ON`
2023-06-17 00:26:46 +08:00
halx99 bb56ee6895 Improve code style 2023-06-15 12:16:39 +08:00