Commit Graph

6646 Commits

Author SHA1 Message Date
hyde zhou f3ee5c87a9 Move classes from interface to implementation (#18091) 2024-12-30 17:21:29 +08:00
minggo 7251fd3efc merge v3.8.5 2024-12-23 10:34:45 +08:00
James Chen cd19bc2630 fixed #17593: [v3.8.6] 2D Particle crash on native platforms. (#18070)
* fixed #17593: [v3.8.6] 2D Particle crash on native platforms.
Batcher2D may use destroyed Material whose passes is empty, which will cause 'curdrawBatch->getPasses().at(0);' vector visit overflow.

* Trim whitespace.

* Fix
2024-12-23 09:33:18 +08:00
qiuguohua 0e4607fa9e Fix JS exception causing application crash (#18067)
Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2024-12-20 18:17:11 +08:00
qiuguohua 40e0769ec8 Fix HarmonyOS Next platform interface for calling arkts using JavaScript (#18062)
* Fix HarmonyOS Next platform interface for calling arkts using JavaScript

* Optimized interface implementation

* Improve annotations

* Improve the annotation.

---------

Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2024-12-20 14:51:25 +08:00
GengineJS 1ab9ec51be Adjust the timing for building the rendergraph in the pipeline. (#18049) 2024-12-18 16:07:43 +08:00
qiuguohua a670a91661 Optimizing google play implementation (#18047)
* Optimizing google play implementation

* Initializing member variables

* Remove redundant code

---------

Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2024-12-17 15:04:02 +08:00
bofeng-song d3b121fe75 Fix Android ADPF API compatibility issues. (#18044) 2024-12-17 14:56:58 +08:00
Max 55edb5f4c3 change clear-platform download timeout (#18045)
Co-authored-by: zhiming.wu <zhiming.wu@cocos.com>
2024-12-17 11:42:02 +08:00
qiuguohua 2e4a9d57e0 Fix the incorrect orientation of the gravity sensor and JSVM crash issue in HarmonyOS Next (#18041)
* 1.Fix the problem of incorrect rotation direction of openharmony screen
2.Remove redundant files

# Conflicts:
#	templates/harmonyos-next/entry/src/main/ets/cocos/jsb-adapter/sys-ability-polyfill.js

* Fix the issue of JSVM running crash

---------

Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2024-12-17 10:43:39 +08:00
qiuguohua 86aed391c1 Fix issues with adpf (#18043)
Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2024-12-17 10:42:09 +08:00
bofeng-song 815c59589c Fix the crash issue on the Android platform caused by an invalid context. (#18036)
* Fix the crash issue on the Android platform caused by an invalid context.
2024-12-17 10:40:51 +08:00
James Chen 405fca84da [v3.8.5] Fix constructing spine::String with null pointer. (#18038)
It's a bug from v3.8.5-beta0.
2024-12-16 09:06:47 +08:00
bofeng-song a70ecb1f1b Update external version (#18035) 2024-12-13 14:35:27 +08:00
bofeng-song 6103fe4e44 Fix the issue on the web where calling spine.setAttachment causes visual glitches due to using incorrect textures. (#18002) 2024-12-13 13:44:50 +08:00
bofeng-song 20581f1492 Fix potential ANR issues caused by unsafe calls to the ALooper_pollAll interface. (#18025)
* Fix potential ANR issues caused by unsafe calls to the ALooper_pollAll interface.
2024-12-13 09:24:18 +08:00
qiuguohua c2882db601 The google play billing interface is consistent with google's original interface (#18010)
The google play billing interface is consistent with google's original interface

---------

Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
Co-authored-by: James Chen <dumganhar@gmail.com>
2024-12-12 18:23:38 +08:00
bofeng-song 796a32794a Fix spine can not show normally after disable and then active node. (#18024)
* Fix spine can not show normally after disable and then active node.
2024-12-12 17:48:16 +08:00
bofeng-song 63f8fd9117 Fix memory leaks in Spine caused by not calling freeStoreMemory. (#18018)
* Fix memory leaks in Spine caused by not calling freeStoreMemory.
2024-12-12 09:51:17 +08:00
hyde zhou 35d27d6384 fix staging buffer (#18007) 2024-12-06 15:59:02 +08:00
minggo 52af1141b7 Merge pull request #18003 from cocos/v3.8.5
V3.8.5
2024-12-05 11:04:27 +08:00
James Chen fb4d2b07ab Fix memory leaks of NSObjects on macOS if gfx device thread is disabled. (#17997) 2024-12-03 09:35:25 +08:00
hyde zhou 5ffedf858a break circular dependency (#17991) 2024-11-29 15:34:46 +08:00
qiuguohua deba073213 Integrate the Google Play Billing Library into engine (#17918) 2024-11-29 11:18:48 +08:00
ZZZhiHao b645c4d967 fix: correcting MTLDevice.mm macro definition issue (#17920) 2024-11-29 10:21:03 +08:00
Cocos Robot cdee4e2f22 [ci skip][AUTO]: Automated code generating update: bcb9c41c4364ec4e4c4fe705f7d56f4870d0d969 (#17891) (#17892)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2024-11-20 14:59:10 +08:00
minggo 06ca5f5434 Update version (#17891)
* update version
2024-11-20 14:33:39 +08:00
James Chen ba73143d83 [v3.8.5] Update CI for HarmonyOS Next. (#17879) 2024-11-19 14:55:12 +08:00
qiuguohua 59e00c9dae V3.8.5 oh api12 (#17869)
* Improvement of openharmony's editbox (#17042)

* Improvement of openharmony's editbox

* Remove redundant header file

---------

Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
# Conflicts:
#	templates/openharmony/entry/src/main/cpp/types/libcocos/index.d.ts
#	templates/openharmony/entry/src/main/ets/components/EditBoxDialog.ets
#	templates/openharmony/entry/src/main/ets/pages/index.ets
#	templates/openharmony/entry/src/main/ets/workers/cocos_worker.ts

* Upgrade the openharmony API to 12

* Remove debugging information

* Fix some bugs in the ark engine
Fix some issues with jsvm
* Release module_info

* Fix std::any_of return value not being used

---------

Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2024-11-19 09:32:08 +08:00
hyde zhou 619c398808 fix legacy pipeline viewport (#17875) 2024-11-18 18:29:08 +08:00
hyde zhou bd2dc0a5bf fix native viewport (#17871) 2024-11-18 14:36:50 +08:00
hyde zhou 8ffae0ec6d fix camera id (#17857) 2024-11-18 09:44:08 +08:00
GengineJS e955443f76 [v3.8.5] Fix Model.setInstancedAttribute doesn't support attribute of INT format. (#17858)
* setInstancedAttribute

* Add copyTypedArray

* Fix Model::setInstancedAttribute and SubModule::setInstancedAttribute.

---------

Co-authored-by: James Chen <dumganhar@gmail.com>
2024-11-18 09:32:03 +08:00
Cocos Robot c8c1c31eda [ci skip][AUTO]: Automated code generating update: bdf2e40bdfe04b407d943a6be863166b68446b06 (#17848) (#17851)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2024-11-13 17:35:14 +08:00
sablib 8339a8f533 fix TypedArray set (#17817)
* fix TypedArray set

* Fix TypedArrayTemp::set function templates
2024-11-11 14:10:29 +08:00
hyde zhou 60fc07afc2 V3.8.5 pipeline, add PipelinePassBuilder (#17829) 2024-11-08 15:56:42 +08:00
James Chen 102d05e7e0 [v3.8.5] Reduce package size for spine module (#17783) 2024-11-05 20:08:03 +08:00
James Chen 9073fd3cc8 Smaller spine library, save 14KB package size (#17731) 2024-10-23 16:53:52 +08:00
James Chen 4b2399f28c [v3.8.5] Fix enum type conversion and support closure compiler to minify wasm glue code. (#17767)
* Add a script for generating compile commands which used for writing embind code in VS Code.
2024-10-23 15:10:58 +08:00
bofeng-song d8a5a5d14f Fix the issue with incorrect use of the Spine blend mode. (#17755)
(cherry picked from commit 7b25db9a0e7976e7284e8f0c0f2f7c88f8a7a209)
2024-10-22 10:26:58 +08:00
James Chen 1fa8897e19 [v3.8.5] Don't export spine enums in c++ since they're defined in spine-core.js. (#17759) 2024-10-22 10:18:12 +08:00
Cocos Robot 2614afdc60 [ci skip][AUTO]: Automated code generating update: 646a912be97353e57b348979c5def609532e8900 (#17747) (#17748)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2024-10-21 15:00:29 +08:00
hyde zhou 8d0d5ef90a update generated gfx define.ts (#17720) 2024-10-17 11:19:47 +08:00
Cocos Robot 8235c1150d [ci skip][AUTO]: Automated code generating update: 734828df5166773055f507e98087e4e67a1ea634 (#17729) (#17730)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2024-10-17 10:23:05 +08:00
hyde zhou 4685f6879a filter non default pass (#17729) 2024-10-17 10:00:47 +08:00
minggo 1f2a63d28b raycast result includes closest hit fraction (#17710)
* raycast result includes closest hit fraction

* make closest hit fraction optional
2024-10-17 09:49:42 +08:00
hyde zhou 408425c59e fix sampler info packing (#17726) 2024-10-16 15:38:57 +08:00
hyde zhou f833b8a51a Simplify visitObject (#17716)
* remove unused headers

* simplify visitObject
2024-10-15 17:32:24 +08:00
hyde zhou 9652521edb pipeline c++ lint and remove deprecated APIs (#17712) 2024-10-15 14:51:02 +08:00
Cocos Robot 55feeb3449 [ci skip][AUTO]: Automated code generating update: b156569f8bd3696e9b7623329c29de069669f143 (#17703) (#17713)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2024-10-15 13:59:06 +08:00