Commit Graph

6612 Commits

Author SHA1 Message Date
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
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