Commit Graph

6621 Commits

Author SHA1 Message Date
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
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
James Chen f4ccf3a8bb [v3.8.5] Support inline enum and mangle private variables to reduce engine size. (#17703) 2024-10-15 10:17:16 +08:00
minggo c84aa2daf9 Merge pull request #17707 from minggo/v3.8.4
cache render window texture (#17669)
2024-10-14 11:15:16 +08:00
minggo 186fa0f174 Fix the issue that can not destroy Node in contract listener call back in Box2D (#17701) 2024-10-12 11:18:56 +08:00
zuiyu 31176c565d fix: update inserPoint to insertPoint (#17689) 2024-10-10 14:32:43 +08:00
Cocos Robot 956eed5a68 [ci skip][AUTO]: Automated code generating update: d726e8c893d9692bdbae18b9e709df0acb5c3c02 (#17529) (#17692)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2024-10-10 13:59:50 +08:00
hyde zhou 78e8d0e67a cache render window texture (#17669) 2024-09-26 18:55:09 +08:00
minggo 39fb0a524c Merge pull request #17668 from cocos/v3.8.4
V3.8.4
2024-09-26 14:34:07 +08:00
hyde zhou 5ea58256f8 fix ui per-pass descriptor set (#17663) 2024-09-24 09:40:34 +08:00
James Chen fe616ca55f Fix a compilation error on xcode 16.0 (#17645)
* Fix a compilation error on xcode 16.0
2024-09-18 15:30:06 +08:00
James Chen 11f3bef63a fixed #17606: node.setWorldScale(0, 0, 0) causes NaN issue in scale and worldMatrix properties (#17607) 2024-09-13 17:06:41 +08:00
qiuguohua c6795958bb Fixed the issue of the main page getting stuck due to the long execution time required for updates (#17626)
* Fixed the issue of the main page getting stuck due to the long execution time required for updates

---------

Co-authored-by: qgh <>
2024-09-13 09:57:41 +08:00
minggo f7705fbc78 update bullet engine to fix ray cast error (#17630) 2024-09-13 09:35:21 +08:00
kaokei f7aa23fc03 Update node.ts setSiblingIndex support negative index (#17592)
* Update node.ts setSiblingIndex support negative index

eg.
-1 equals siblings.length -1.
-2 equals siblings.length -2.
-3 equals siblings.length -3.

* Update Node.cpp setSiblingIndex support negative index

Force index=0 when index smaller than -siblings.length.
2024-09-12 13:53:30 +08:00
hyde zhou d446e3f05a Merge render queue (#17622) 2024-09-11 10:09:33 +08:00
bofeng-song 8f83193aa1 Fix the JNI error 'global reference table overflow' caused by receiving a large number of WebSocket messages in the background (#17609) 2024-09-06 14:26:32 +08:00
James Chen 55c81c3198 fixed #17594: [android] fix crash and memory leaks if launching game multiple times on Android platform with PhysX module enabled. (#17602) 2024-09-04 18:26:15 +08:00
James Chen e2396b89c0 Update version to 3.8.5 (#17603) 2024-09-04 16:59:22 +08:00
bofeng-song f263d40d25 Fix the issue where Spine crashes due to container scaling. (#17570) 2024-08-21 20:50:54 +08:00
James Chen bc73e79909 [3.8.4] [native] Fix that 2d object's world transform not being updated if modifying local position/rotation/scale in Director.EVENT_AFTER_DRAW callback. (#17555) 2024-08-20 09:58:56 +08:00
bofeng-song bf471abf12 Add safety protection for non-existent Spine animations. (#17553) 2024-08-19 11:42:30 +08:00
James Chen 243ab7e9ce Fix the order of callback by performFunctionInCocosThread and add unit-test for it. (#17543) 2024-08-17 13:19:26 +08:00
hyde zhou a705a919d0 constrain UI phase ID to PassLayout/'default' (#17542) 2024-08-16 09:16:41 +08:00
hyde zhou 2927469526 Native add geometry renderer support (#17535)
* reduce C++/TS interop

* native add geometry renderer

* fix macro usage
2024-08-13 16:29:14 +08:00
hyde zhou 79c28d6dac RenderPass now considers clearColor (#17530) 2024-08-13 09:26:15 +08:00
James Chen 2b032a2b8e fixed 3d-tasks/18423: Rendering is not correct on VK backend. (#17526)
* fixed 3d-tasks/18423: Rendering is not correct on VK backend.
Async tasks must be executed after present.

* fix unused parameter lint error.
2024-08-13 09:22:00 +08:00