Commit Graph

18282 Commits

Author SHA1 Message Date
James Chen 89c49d782a [v3.6] Fix memory leak of memop::Pool::destroy and refactor it. (#11908) 2022-07-09 15:06:52 +08:00
James Chen a079c138c0 [v3.6] Fix memory leak in UIModelProxy.cpp (#11909)
* Fix memory leak in UIModelProxy.cpp

* Format code.

* Update UIModelProxy.cpp
2022-07-09 14:27:24 +08:00
bofeng-song 113fad0259 refine: rename windowHanler to windowHandle, rename onDestory to onDestroy (#11907) 2022-07-09 13:54:18 +08:00
minggo 439e484ada Update readme (#11906)
* add system requirements
2022-07-09 13:40:07 +08:00
Zeqiang Li 192322f836 fix mtlCommandBuffer life cycle inside NSLoop (#11904) 2022-07-09 11:20:21 +08:00
Zhang mingzhen 0560b566df V3.6.0 batcher2d mask to native (#11905)
* native mask 1

* native rect mask part2

(cherry picked from commit 363c6a545302c15bbbd33285c172855e667c308d)

* fix code specification

* mask fillPass parameters

* fix mistake

* fillpass material condition

* mask to native generate batch

* revert wrong remove

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2022-07-09 00:57:25 +08:00
James Chen 8623b89992 Fix crash if closing app in SpineAttach test case. (#11901)
* Fix crash if closing app in SpineAttach test case.
2022-07-08 19:45:31 +08:00
Cocos Robot 147fc20978 [ci skip][AUTO]: Automated code generating update: ddc7503735c3bef8cd225e71106ea8f8d358e086 (#11896) (#11902)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-08 19:31:26 +08:00
James Chen cb4b0014ed Fix crash if closing app in surface shader test case. (#11896) 2022-07-08 19:19:35 +08:00
bofeng-song 7c8492c668 remove unneeded code, gameActivity has been ensured the render lifecycle (#11897) 2022-07-08 18:20:38 +08:00
Cocos Robot 50669a4ab2 [ci skip][AUTO]: Automated code generating update: 6fcd56922dfaedd7afbe782e07d4f8ff61781a5e (#11592) (#11898)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-08 17:48:33 +08:00
黄森斌 c1ecd2ce0b [Bug] fix interface bugs (#11900) 2022-07-08 17:33:39 +08:00
Zhang mingzhen b32830a3e8 V3.6.0 batcher2d to native (#11592) 2022-07-08 17:10:48 +08:00
James Chen 598ac36113 Fix memory overflow in getDirtyNode (#11890) 2022-07-08 13:35:23 +08:00
Ling Zhan 3f9b5beb5c fix: PhysX collision filter needs unsigned int (32bit)(#12970) (#11892) 2022-07-08 12:55:58 +08:00
王凯鹏 6797a841f6 fix system_event.on not working in gameview mode (#11891) 2022-07-08 12:55:39 +08:00
Yiwen 00bd0f514d Fix vk validation warning (#11884)
* fix vk offset alignment and es ds reset
2022-07-08 10:13:43 +08:00
Yiwen 778ad062bc add a method to reset the global descriptor's shadow map (#11881)
* add a method to reset the global descriptor's shadow map
2022-07-08 10:10:08 +08:00
黄森斌 417a5f635d optimize fbx editing promote single root node (#11867)
* optimize fbx editing promote single root node

* userData.promoteSingleRootNode
2022-07-08 10:09:56 +08:00
Santy-Wang b8455e820c fix restart (#11877)
restart splash screen
2022-07-07 21:04:52 +08:00
徐兵 e000e16d55 fix alpha channel invalid in dcc effect (#11885)
* add OCCLUSION_UV

* fix alpha channel invalid

* fix alpha channel invalid
2022-07-07 18:05:23 +08:00
Leslie Leigh (李的序) 22d0fa730b Properly handle zero duration clips (#11879) 2022-07-07 15:25:51 +08:00
timlyeee b43de1af07 V3.6.0 exit (#11856) 2022-07-07 14:07:47 +08:00
zxx43 80697b676c fix unit test material warning (#11874) 2022-07-07 10:10:15 +08:00
timlyeee f6a12b305c Change copy resources logic for v8 dlls (#11876) 2022-07-06 18:34:39 +08:00
Yiwen 359ae855a5 record original queues if the sort function is not invoked. (#11871)
* record original queues if the sort function is not invoked.

* re-enable the instance queue's sort fucntion

* fix es lint
2022-07-06 16:16:29 +08:00
changhua 4004e5f19b update build template for bytedance-mini-game (#11872) 2022-07-06 13:39:07 +08:00
徐兵 8c9d99a44a add occlusionMap for dcc effect (#11870) 2022-07-06 11:59:44 +08:00
troublemaker52025 1f1ddb2664 Remove duplicate judgments v3.6.0 (#11868) 2022-07-06 11:42:35 +08:00
Cocos Robot 6da98e70c3 [ci skip][AUTO]: Automated code generating update: 90f6b7c37a51f4c5b0c954cbb5ec7cfd7fd28a41 (#11864) (#11866)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-06 10:14:27 +08:00
James Chen ba4a98a71c Keep the struct in cc::Rect the same as which in ts (#11864)
Co-authored-by: Yiwen <15225434259xue@gmail.com>
2022-07-06 09:54:24 +08:00
Yiwen 83cfd5c401 use the original order to fix the instance lighting and casting shadows (#11865) 2022-07-06 00:00:16 +08:00
Yiwen cca281e483 fix copybufferstotexture (#11860)
* fix copybufferstotexture
2022-07-05 22:24:23 +08:00
zxx43 20ac813b3d V3.6.0 particle material switch error fix (#11715)
* fix particle cpu gpu material switch error

* get previous material when init

* fix eslint

* remove Trailing space

* add en api doc
2022-07-05 21:41:59 +08:00
timlyeee 91b0f34d9a Fix windows crash when first entering into AudioBuffer scene (#11859) 2022-07-05 21:40:18 +08:00
AFeiYA 614978d393 Add Allow Data Access Option. (#11843)
* Add Allow Data Access Option.

* Fix description of allow data access.

* Rename allowDataAccess to allowMeshDataAccess.

* Fix default value and key error.
2022-07-05 21:24:10 +08:00
changhua b10a8c51c0 show failure after throw error on windows and ohos (#11862) 2022-07-05 21:20:08 +08:00
黄森斌 e87865e0f0 [Bug] some readonly assets can not be edited (#11861) 2022-07-05 20:39:29 +08:00
PP 42b385c19f set NOT_PACK_PHYSX_LIBS to false (#11857) 2022-07-05 18:21:03 +08:00
James Chen a5cdfe2511 fixed #11692: [jsb] More SE_BIND_FUNC_FAST binding for Node transform relevant API (#11854)
* fixed #11692: [jsb] More SE_BIND_FUNC_FAST binding for Node transform relevant API

* Format code
2022-07-05 18:01:28 +08:00
James Chen c2450a9546 Output JS stack when a JS error is triggered (#11850) 2022-07-05 17:10:08 +08:00
mmyduckx cf346b6e39 add Scene load event when scene::load (#11807) 2022-07-05 16:36:08 +08:00
James Chen b871eb1086 Clear shader source after they're uploaded to GPU. (#11781) 2022-07-05 16:06:54 +08:00
Yiwen f09168ce1b Add a basic sort function for RenderInstancedQueue. (#11193)
* fix instancing draw order
2022-07-05 15:44:08 +08:00
江战 0a71dc89de V3.6 fix warning log & space in path (#11851) 2022-07-05 15:41:01 +08:00
王凯鹏 fc16ecd4af fix edit-box error in gameview mode (#11733)
* fix edit-box error in gameview mode

* remove game.contener null check

* code refactor
2022-07-05 15:27:08 +08:00
PP cb15b27dd8 add internal constant NOT_PACK_PHYSX_LIBS (#11847) 2022-07-05 15:25:58 +08:00
黄森斌 67e9aa1f33 V3.6.0 allow multiple custom scripts exist in project with one same className (#11763)
* use getClassById instead of _getClassById

* use getClassId instead of _getClassId

* public cc.js.getClassId api

* allow className already exists, new one will replace old classObject

* create component use cid

* allow className exist when registing

* custom script className allow duplicated

* revert some comments

* preserve api and deprecate _getClassById and _getClassId

* revert some comments

* revert comment

* Update cocos/core/utils/js-typed.ts

Co-authored-by: PP <chinese1236@qq.com>

Co-authored-by: PP <chinese1236@qq.com>
2022-07-05 15:19:56 +08:00
黄森斌 579c6dd814 first show material preview do not update material asset (#11816) 2022-07-05 14:37:32 +08:00
minggo 54fc7be53f do not use align malloc (#11844)
c++17 supports create an aligned struct
2022-07-05 14:30:12 +08:00