Commit Graph

21393 Commits

Author SHA1 Message Date
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
hyde zhou 3967b0408e add color grading (#17153) 2024-06-17 12:10:05 +08:00
James Chen 58ceb5ffe0 fixed #17110: [tween] Support to tween string and customize 'progress' for object. (#17154) 2024-06-17 11:34:42 +08:00
minggo a5dae6d4e4 sync ts logic to c++ (#17145) 2024-06-17 09:47:30 +08:00
Knox 61860a2ceb fix fbx meshOptimize metrics (#17155)
Co-authored-by: cocos <cocos@cocosdeMacBook-Pro.local>
2024-06-14 18:35:16 +08:00
bofeng-song b2a4cb2161 Fix the logical error where the cleaning status of cacheManager is not being reset. (#17148) 2024-06-14 18:33:51 +08:00
hyde zhou 3e723ab11d update fsr (#17147) 2024-06-14 17:01:48 +08:00
袁炜海 aafce8d6f0 feat: additional done not contain subAssets any more (#17112)
* feat:  additional done not contain subAssets any more

* feat:  update
2024-06-14 15:42:24 +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
James Chen 35877f4765 [tween] Add missing types for custom progress or easing in props. (#17140) 2024-06-14 14:55:56 +08:00
James Chen e2a6d51fd3 [tween] fixed #3d-tasks/issues/9430: Automatic pause and resume Node tweens when Node active changes (#17141)
* fixed #3d-tasks/issues/9430: Automatic pause and resume Node tweens when Node active changes

* Fix Tween.clone()

* More unittest for tween.

* Fix comment in action-manager.ts

* Remove unused ActionManager.purgeSharedManager.

* Add more unit test for tween.

* Fix error TS2322: Type 'Tween<T | NonNullable<U>>' is not assignable to type 'Tween<T | U>'. Types of property 'to' are incompatible.

* Add Tween.getTarget()
2024-06-14 13:44:33 +08:00
hyde zhou 26cac0e1e5 [V3.8.5 pipeline] Add msaa (#17132) 2024-06-14 10:24:24 +08:00
GengineJS 7cccce5216 Fix the issue of blitScreen error in custom pipelines with WebGPU. (#17139) 2024-06-13 19:35:55 +08:00
minggo c7d609b062 check TextureView and Texture format (#17143) 2024-06-13 18:31:43 +08:00
minggo c360a37491 only recreate textureview on vulkan (#17144) 2024-06-13 18:31:23 +08:00
GengineJS 5782c5061d Fix the problem that the RT is upside down in the GL backend (#17124)
* Fix the problem that the RT is upside down in the GL backend
2024-06-13 18:12:58 +08:00
bofeng-song 958de7dc68 Fix wrong screen size on TAOBAO_MINIGAME iPad device (#17107)
* Fix wrong screen size on TAOBAO_MINIGAME iPad device
2024-06-13 14:40:57 +08:00
hyde zhou 94a66dda81 update meta (#17130) 2024-06-13 14:13:07 +08:00
hyde zhou a54bd4edef V3.8.5 revert revert move builtin-pipeline (#17137)
* Revert "Revert "[V3.8.5 pipeline] Move builtin-pipeline to internal (#17125)" (#17136)"

This reverts commit a15bd7db66.

* try solve script init

* fix destructure of undefined
2024-06-13 14:03:23 +08:00
hyde zhou a15bd7db66 Revert "[V3.8.5 pipeline] Move builtin-pipeline to internal (#17125)" (#17136)
This reverts commit bb0dde146a.
2024-06-13 10:13:37 +08:00
hyde zhou bb0dde146a [V3.8.5 pipeline] Move builtin-pipeline to internal (#17125) 2024-06-12 13:14:18 +08:00
GengineJS cf85e35f13 support webgpu (#17096) 2024-06-12 09:24:10 +08:00
hyde zhou cb353b615a [V3.8.5 pipeline] Add BuiltinPipelineSettings component (#17114) 2024-06-11 16:09:06 +08:00
James Chen 8e7aa0fdb1 [v3.8.5] Fix timeScale could not work for repeatForever. (#17118)
* Don't step if speed is 0.

* Fix timeScale could not work for repeatForever.

* RepeatForever's duration is Infinity.

* Add unit test.

* Add timeScale(0) test
2024-06-07 17:47:31 +08:00
Liu Liu fb467978e6 [Bug Fix] TiledLayer.addUserNode dynamically added nodes are not displayed (#17093)
Co-authored-by: gb <gb@gmail>
2024-06-07 14:23:06 +08:00
James Chen fd47685c86 Merge Tween.startAt(time) and Tween.start() to Tween.start(time) , and don't export the internal option ITweenOption.relative. (#17115) 2024-06-07 10:31:00 +08:00
bofeng-song 42f805579f Support multi instance of Websocket for taobao-minigame (#17014) 2024-06-05 16:08:11 +08:00
James Chen 143e984536 Don't add uuid for target implicitly (#17095) 2024-06-05 14:26:45 +08:00
James Chen 06a6ae65b7 Add Tween.startAt(time) API and add more unit test. (#17105) 2024-06-05 14:25:28 +08:00
minggo 917b2ad994 simplify code (#17100) 2024-06-04 17:31:05 +08:00
hyde zhou 019dd24dbe V3.8.5 pipeline (#17073) 2024-06-04 16:33:33 +08:00
James Chen 43a20103b9 fixed #17031: Button could not be clicked after an exception is thrown while dispatching mouse/touch event. (#17032) 2024-06-04 16:07:48 +08:00
James Chen 99183fd2e4 Add Tween.update API. (#17099)
* And make ActionInterval.reverse  abstract.
2024-06-04 16:07:12 +08:00
James Chen d0fc74f113 [feature] Add Tween.pause/resume/pauseAllByTarget/resumeAllByTarget method. (#17094)
* Make Action.step/update abstract.

* Add Tween.pause/resume method.

* Add more unit tests for pause/resume/pauseAllByTarget/resumeAllByTarget.

* Add API comments for Tween.pause/resume/pauseAllByTarget/resumeAllByTarget.

* More unit tests for tween.pause/resume.
2024-06-04 14:23:31 +08:00
James Chen 1114b1bd77 Add Tween.timeScale(scale) method and Tween.duration getter (#17088)
* And Fix a repeatForever issue and add more unit test for repeatForever.
2024-06-03 21:14:46 +08:00
qiuguohua 48b507c142 Fixed SpriteRender Atlas Render Bug (#17090)
Co-authored-by: vikingsc2007 <273562225@qq.com>
2024-06-03 15:00:26 +08:00
zhefeng.zhang d6233b82d8 add spine safety protection (#17033)
* add spine safety protection
2024-06-03 13:56:15 +08:00
James Chen 5a08884c5b Add Tween.reverse and some features for Tween (#17071)
* Add action.setId/getId, Sequence.findAction, Spawn.findAction.

* tween clone needs to consider id

* Add Tween.id() method

* Tween.union  supports to union from a specific action id.

* Add Tween.reverse

* Tween.clone() doesn't have to pass in a target parameter, make it optional.

* Add more unit test
2024-06-03 13:49:49 +08:00
媛媛 87e3058976 update meshopt default value (#17087) 2024-06-03 11:34:44 +08:00
Knox f0e0e81ef4 revert the internal 2d camera far to 2000 (#17080) 2024-06-03 09:55:35 +08:00
minggo 7b2ffc9eda fix logic error of set world rotation/position/scale (#17079)
* fix logic error of set world rotation/position/scale
2024-06-03 09:51:35 +08:00
finscn 9f770c63a8 修正拼写错误 (#17077)
fix typo
2024-05-31 17:45:30 +08:00
minggo 4009668e5d fix color multiply error (#17069)
* fix color multiply error
2024-05-31 10:05:58 +08:00
hyde zhou 23219ed3b1 [V3.8.5 pipeline] Add mobile forward pipeline (#17063) 2024-05-30 16:53:37 +08:00
媛媛 b634293aa8 Fix Huawei agc platform not updating configurations when creating new build tasks for secondary builds. (#17054) 2024-05-29 17:27:34 +08:00
minggo bc7fd3665e fix color binding issue (#17059)
* fix color binding issue
2024-05-29 17:17:12 +08:00
James Chen 7b0fb9dfd1 Update generate-api-docs.yml (#17061) 2024-05-29 16:13:38 +08:00
bofeng-song 1b68e0ff1c Fix the issue where the sound continues to play after the mute button is activated. (#17056) 2024-05-28 18:29:04 +08:00