Commit Graph

6575 Commits

Author SHA1 Message Date
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
hyde zhou 1590096f91 fix dangling reference caused by vector resize (#17331) 2024-07-09 11:16:32 +08:00
Cocos Robot 5a26ee33c6 [ci skip][AUTO]: Automated code generating update: 35eaf75df61f47315e11fcb56d8f5534df56d57a (#17332) (#17333)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2024-07-09 11:00:05 +08:00
minggo 2f1ab9d90c change version to v3.8.4 (#17332) 2024-07-08 18:27:43 +08:00
hyde zhou e155348eed add queue passName (#17309) 2024-07-05 16:55:19 +08:00
hyde zhou 8db35726ce fix gles3 (#17300) 2024-07-04 18:48:10 +08:00
hyde zhou 6dd906aa43 fix out of range bug (#17235) 2024-06-28 11:41:31 +08:00
Cocos Robot bd13d4ec76 [ci skip][AUTO]: Automated code generating update: 420549cf1f56fb365e4992c67db63b05ba1b7070 (#17236) (#17237)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2024-06-27 15:36:20 +08:00
James Chen 6cd3b74997 Revert "Update .browserslistrc, chrome 116" (#17227)
This reverts commit d426f39ac276bfa667175c07b3cf9238769cffe8.
2024-06-27 09:36:48 +08:00
hyde zhou bc2363901a remove index buffer usage from default buffer (#17214) 2024-06-26 09:48:36 +08:00
minggo e7f8a9c4ac return correct angle (#17219)
* return correct angle

* fix native implementation

* add test case
2024-06-25 16:22:58 +08:00
James Chen db5c05d10c GeometryRenderer.addSpline also needs to support 'useTransform' parameter like other API in this class. (#17213) 2024-06-25 12:35:32 +08:00
hyde zhou 9305f6d208 [V3.8.5 pipeline] Add effect reload to the builtin-pipeline (#17178) 2024-06-19 17:18:21 +08:00
James Chen 6d7cfb1fd4 fixed memory leak on x86 android devices. (#17172) 2024-06-18 11:17:07 +08:00
minggo 1841843178 Revert "only recreate textureview on vulkan (#17144)" (#17170)
This reverts commit c360a37491.
2024-06-17 18:21:09 +08:00
James Chen fe069da3ef fixed #17162: Memory leak in WebSocket-okhttp.cpp (#17164)
* fixed #17162: Memory leak in WebSocket-okhttp.cpp

* Use JNI_ABORT
2024-06-17 13:37:21 +08:00
minggo a5dae6d4e4 sync ts logic to c++ (#17145) 2024-06-17 09:47:30 +08:00
bofeng-song 9b1b94a6fe Fix audio can not resume property (#17138)
* fix audio can not resume property
2024-06-14 15:21:04 +08:00