Commit Graph

6592 Commits

Author SHA1 Message Date
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
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
hyde zhou a03934935e fix rect z, w, native viewport (#17528) 2024-08-12 17:44:46 +08:00
bofeng-song 3b8a65e264 Fixing the SkeletonData export error. (#17520)
* Fixing the SkeletonData export error.

* update external version
2024-08-12 13:48:45 +08:00
bofeng-song 4edbf5bd8e Opacity already includes the alpha value from the color. The batcher2d's walk function implements the calculation of opacity. (#17509)
* Web's opacity already includes the alpha value from the color. The batcher2d's walk function implements the calculation of opacity.
2024-08-07 17:02:23 +08:00
Cocos Robot 6e4d84016a [ci skip][AUTO]: Automated code generating update: c1db54aebae22be34d0b33fc07acb057fc17f27c (#17491) (#17500)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2024-08-06 18:21:03 +08:00
bofeng-song 18db6ca258 fix Skeleton's opacity can not work normally (#17497)
* fix Skeleton's opacity can not work normally
2024-08-06 13:58:39 +08:00
James Chen 77d88d54b6 [optimization] free string memory after JSON is parsed. (#17479) 2024-08-01 18:30:08 +08:00
bofeng-song 434e06e88b Update external version (#17475) 2024-08-01 18:29:04 +08:00
James Chen 046545cd72 Fix lambda capture type issues for VS 2017 and use right operator for createJSONObject(std::u16string &&jsonStr) (#17472) 2024-08-01 16:22:20 +08:00
James Chen ab6b7bb70c fixed #17012: Loading assets synchronously causes rendering to freeze. (#17464) 2024-07-31 22:01:24 +08:00
bofeng-song d6eeed0b44 Update external version (#17466) 2024-07-31 19:06:11 +08:00
Cocos Robot b0217a6862 [ci skip][AUTO]: Automated code generating update: 3112dc47342a70a3314bfa6a2ef0d1143b9989d0 (#17442) (#17443)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2024-07-29 18:06:12 +08:00
hyde zhou 75ae3943b2 fix vs2017 problems. (#17427) 2024-07-29 11:28:46 +08:00
James Chen 391fb1b49c Fix a crash if there is an unhandled promise while game.restart. (#17423) 2024-07-26 18:22:53 +08:00
hyde zhou f5688fe973 try to avoid msvc optimization (#17426) 2024-07-26 18:17:41 +08:00
James Chen 87f4b0d991 [feature, native] TextDecoder support to decode utf-16 buffer and create TextDecoder with "utf-8" and "utf8" (#17422)
* [feature] TextDecoder support to decode utf-16 buffer and create TextDecoder with "utf-8" and "utf8"

Fix a warning ( TextDecoder only supports utf-8 ) while using bullet wasm since it use "utf8" and "utf-16" decoder.

Refer to https://developer.mozilla.org/en-US/docs/Web/API/Encoding_API/Encodings

* Update comment in jsb_global.cpp
2024-07-26 17:56:11 +08:00
hyde zhou 574bd1de88 implement override queue pass name (#17320) 2024-07-26 16:08:41 +08:00
hyde zhou ccdf616594 support default framebuffer depth stencil (#17405) 2024-07-26 11:05:04 +08:00
James Chen d62373a3e3 fixed #17051: [native] Keep the same behavior of Promise rejection and multiple resolve as nodejs and web. (#17369)
* fixed #17051: [native] Keep the same behavior of Promise rejection and multiple resolve as nodejs and web.
And keep the same stack format as  web.

* Update ScriptEngine.h
2024-07-26 10:30:20 +08:00
hyde zhou 27221f5484 fix render window attach camera and resize logic (#17414) 2024-07-25 18:26:30 +08:00
hyde zhou 8fbc04d68a add reflection probe (#17388) 2024-07-22 10:17:30 +08:00
WingStone 6f7c011942 typo fixed (#17253) 2024-07-19 16:40:12 +08:00
yanjifa c6794f9149 optimize safearea (#17359) 2024-07-19 15:23:25 +08:00
Cocos Robot 3a8a52dffa [ci skip][AUTO]: Automated code generating update: 9dbd7e5d24a8c8ac685fe9cdb1fecf82ada27efb (#17390) (#17393)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2024-07-19 10:10:26 +08:00
bofeng-song c7109915f4 Fix missing constructor for spine.String & SkeletonBounds (#17376)
* Fix missing constructor for spine.String & SkeletonBounds
2024-07-18 11:19:04 +08:00
hyde zhou 2c8aac17a6 Refactor pipeline (#17382) 2024-07-18 10:40:09 +08:00
hyde zhou ca4e257ca6 Custom pipeline update license (#17347) 2024-07-10 12:31:58 +08:00
bofeng-song 141ebfba95 Fix spine's listener can not be removed (#17342)
* Fix spine's listener can not be removed
2024-07-09 18:48:51 +08:00
hyde zhou 7b563e6ecf fix disabled shadow inconsistency (#17337) 2024-07-09 16:05:09 +08:00
James Chen be96cb7e3c Update actions version in workflows yml. (#17334)
Also fix iOS action runner halt.
2024-07-09 13:36:06 +08:00