Commit Graph

4096 Commits

Author SHA1 Message Date
halx99 952cca2dd4 Update stb_image to 2.30 2024-07-02 23:37:13 +08:00
halx99 c81e974170 Update fmtlib to 11.0.0 2024-07-02 23:35:05 +08:00
bwaiox aacebeef89
Fix error when compile on LINUX ubuntu2204 (#2012)
* fix LINUX compile error for CocosGUIScene.cpp

* fix LINUX compile error 'must be interger or enum' for array length
2024-07-01 21:41:44 +08:00
Paulo Coutinho 9886f7d1cc
Fix apple controller to support four players (#2009) 2024-06-30 22:55:47 +08:00
smilediver d79a202e6e
Renderer fixes (#1996)
* Backend: remove RenderTargetFlag and refactor depth/stencil state setup

* Fix Z-test and Z-write being enabled by default for main queue

* GL: fix framebuffer attachment not being cleared

* Use dirtyFlags for RenderTarget update

---------

Co-authored-by: halx99 <halx99@live.com>
2024-06-29 00:20:32 +08:00
aismann 8175eb2ade
DrawNodeV2 0.94 (currently DrawNodeEx) (#2008) 2024-06-29 00:15:02 +08:00
halx99 5ffd6ce09a Improve downloader
- print http respone code when error
- make checksum case-insensitive
2024-06-28 01:03:31 +08:00
RH 042c9b712e
Make debug and verbose level logging in release builds optional (#2006)
* Debug (AXLOGD) and verbose (AXLOGV) level logging should be disabled by default in release builds.

* Fix preprocessor check
2024-06-27 23:47:42 +08:00
halx99 d1ca753de4 Fix unit-test 2024-06-22 13:55:34 +08:00
halx99 b6b6a15284
Improve curl downloader (#1999) 2024-06-22 08:29:21 +08:00
halx99 2193b5047f
Fix #1984 2024-06-18 23:38:58 +08:00
halx99 a88be080b3 Use AXLOG for audio module 2024-06-17 22:43:00 +08:00
halx99 9e0a592e2b Update simdjson to 3.9.4 2024-06-16 23:55:21 +08:00
halx99 e02741d0c8
Use new logging system for audio (#1995) 2024-06-16 23:51:03 +08:00
halx99 74f27fa62c Don't output log when custom ILogOutput was set (#1992)
* Don't output log when custom ILogOutput was set

* Fix ci
2024-06-16 23:09:29 +08:00
halx99 e74c40ec95 Fix #1990, update yasio to v4.2.3 2024-06-16 23:09:29 +08:00
halx99 8939723108 1k: parse generater from cmake options 2024-06-14 09:00:20 +08:00
Purple 6cb7618ed0
Linux WebView implementation (#1985)
* linux webview start

* Linux UIWebView phase1

* update setup for linux uiwebview

* add depends for arch

* removed unnecessary XReparent call

* Fixed some XWayland issues

* finalizing linux webview implementation

* enabled webview tests on linux

* updated copyright link

* removed some unnecessary comments

* some formatting

* some more formatting

* fixed a test typo

* removed some unnecessary codes

* removed some unnecessary comments
2024-06-13 22:49:59 +08:00
smilediver 3bcc1cf7e8
Renderer recreated fixes (#1988)
* Fix Texture2D losing file path when renderer is recreated

* Fix textures with generated mipmaps not reloading correctly when renderer is recreated
2024-06-13 13:14:33 +08:00
halx99 210ad64668 Update emsdk to 3.1.61 and add cmake option AX_WASM_INITIAL_MEMORY 2024-06-12 23:13:49 +08:00
halx99 fe89c34b2b Improve code style 2024-06-12 00:43:02 +08:00
halx99 6304c88e14 Fix char8_t not disable on msvc 2024-06-10 23:16:49 +08:00
halx99 82744abd8b
Bump 2.1.4 2024-06-10 10:29:08 +08:00
halx99 ad051f353f
Update TLD to axmol.dev in sources (#1977) 2024-06-10 02:25:43 +08:00
halx99 8fef58d59c Update gradlew to 8.8 2024-06-10 00:57:51 +08:00
halx99 fc710d6119 Update llvm setup
- remove llvm setup from gh action yml config, since 1kiss will setup it
- update 1kiss.ps1 llvm min requirement to 17.0.6 for msvc14.40 support
- Remove llvm version config from 1k/manifest.ps1 since 1kiss.ps1 already set properly for msvc14.40 support
2024-06-10 00:42:21 +08:00
CHP e56d14c1d2
AGP_8_4_0 (#1976) 2024-06-10 00:37:17 +08:00
RH 4e055d8e3d
Update spine README.md (#1975) 2024-06-09 19:05:28 +08:00
RH 4abc7f4a94
Only pause GLSurfaceView if activity is moved to the background, and not if it just loses focus (#1942)
* Only pause GLSurfaceView if activity is being stopped, and not if it just loses focus

* Add copyright notice

* Ensure foreground and background events are not sent out on initial app start
Remove work-around in nativeOnResume to avoid calling applicationWillEnterForeground twice since it is no longer required
Remove redundant setRenderMode calls in AxmolGLSurfaceView

* Add copyright notices
2024-06-09 10:18:34 +08:00
AlexandreK38 aacfa570a0
Count run action finish to call final finish when two run actions are… (#1946)
* Count run action finish to call final finish when two run actions are performed

* change logic to use wait count
2024-06-08 23:14:16 +08:00
halx99 7551af0675 Fix 1k/fetch.ps1 [skip ci] 2024-06-08 23:06:16 +08:00
halx99 45f4c0832c Remove duplicate cmake options 2024-06-08 21:37:52 +08:00
halx99 cf74ca5231 axmol-cmdline: Remove duplicate cmake options 2024-06-08 01:50:52 +08:00
halx99 292125f9ee Improve JobSystem 2024-06-08 01:09:17 +08:00
halx99 92143c0b67 Fix lua bindings 2024-06-08 01:06:46 +08:00
halx99 99b405e68c Update tolua config 2024-06-07 20:18:43 +08:00
halx99 8eeed46cfc
Add JobSystem support (#1968) 2024-06-07 00:33:01 +08:00
AlexandreK38 79aabfd6af
Sprite and TextureCache from ax::Data (#1967) [skip ci]
* Add Sprite and TextureCache way to use image from Data

* add Sprite cpp tests

* Apply suggestions from code review

---------

Co-authored-by: halx99 <halx99@live.com>
2024-06-07 00:30:55 +08:00
halx99 ec8cdf2861 Update simdjson to 3.9.3 2024-06-06 00:00:01 +08:00
ask me anything :) 385a79ca6c
Update DevSetup.md (#1965) 2024-06-05 20:25:34 +08:00
axmol-bot 5f4c08d46b
Committing luabindings for commit 66ca90c (#1959) 2024-06-04 00:08:04 +08:00
Purple 22ecef1c77
just addressing some compiler warnings on windows (#1954)
* fixed UIWebViewImpl-win32 warning C4244 while changing LPWSTR to string

* use direct `socket_native_type`

* directly use HMENU instead of int

* not sure why it wasn't auto converted but msvc spitted warnings

* we're moving it, it doesn't need to be constant, using ntcvt::from_chars

* ignore it to reduce one more warning

* add some missing `noexcept`

* reverted some const removal didn't realize it was used for rvalues
2024-06-03 23:16:54 +08:00
RH 66ca90cf41
Apply child stencils correctly to the clipping node (#1957)
* Child stencils are now applied correctly to the clipping node
Fix incorrect reference count for original program states stored in collection

* Add test for unique child stencils

* Fix comment
2024-06-03 23:15:57 +08:00
aismann f2938663e0
Replace DrawNode with DrawNodeEx (Step 1: no longer optional, changed OFF to ${AX_EXT_HINT}) (#1955) 2024-06-03 13:09:39 +08:00
aismann 2bf755c049
Replace DrawNode with DrawNodeEx (no longer optional) see #1949 (#1950) 2024-06-02 19:42:19 +08:00
halx99 ccedac1ab6 Improve 1k/fetch.cmake 2024-06-02 00:39:48 +08:00
halx99 b1f2990f4d Update 1k 2024-06-02 00:27:51 +08:00
AlexandreK38 1639861dc5
Fix Callback and store Renderer Image type (#1945) 2024-05-31 13:01:42 +08:00
axmol-bot 43d755f1ed
Committing luabindings for commit eee37e5 (#1941) 2024-05-30 20:55:05 +08:00
RH eee37e5760
Add support for necessary events to be sent regardless of event dispatcher enabled state (#1940)
* Add support for necessary events to be sent regardless of event dispatcher enabled state

* Revert accidental change
2024-05-30 13:34:25 +08:00