Commit Graph

18526 Commits

Author SHA1 Message Date
qiuguohua 55a12663e8 Delete redundant file OSInterfaceManager (#12245) 2022-07-28 16:03:18 +08:00
mmyduckx db6f517c13 fix HttpClient severe performance degradation by use threadPool in se… (#12240)
* fix HttpClient severe performance degradation by use threadPool in sendImmdiate

* use global threadPool

* move include file to cpp file
2022-07-28 15:46:22 +08:00
James Chen 58a6059e0c Fix spine memory leak when restarting game and fix memory leaks in js_se_setExceptionCallback and nativevalue_to_se(const cc::Data &from, ...) (#12206)
* Fix spine memory leak when restarting game.

* Fix memory leaks in js_se_setExceptionCallback and nativevalue_to_se(const cc::Data &from, ...)

* Cleanup all hooks after 'AfterCleanupHookArray' is executed since user may add hooks in 'AfterCleanupHook' by mistake.
For example which in SharedBufferManager::afterCleanupHandle.

* Fix a memory leak in `operator=(TypedArrayTemp &&o)

* Fix spine memory leak, use PersistentHandleVisitor to iterate JSB objects in Object::cleanup.

* Update Class.cpp, use only one internal field.

* Remove JSB mapping in visitor callback.
2022-07-28 15:17:44 +08:00
timlyeee b3ccf93d50 Revert "Update external-config.json (#12224)" (#12246)
This reverts commit d947f1d679.
2022-07-28 14:59:15 +08:00
黄森斌 40e2ae3afa [Bug] cancel some props of components preview asset (#12158)
* cancel some props of components preview asset

* optimize asset preview comments

* ui-asset is readonly in particle editing template

* update english comments
2022-07-28 14:45:48 +08:00
mmyduckx a2323b69c0 add back HttpClient::destroyInstance in destroy to fix http no response when restart (#12236) 2022-07-28 14:09:43 +08:00
timlyeee d7ec3d3b82 V3.6.0 fix reflection not export bug. (#12237) 2022-07-28 13:50:45 +08:00
James Chen ab43d1f2a6 Fix memory leak in BufferAgent.cpp. (#12231)
Reproduce step:
Xcode Leak Profile -> Run -> Enter testcase -> tilemap: puzzle -> back to test list scene -> go to 'restart' scene -> click restart button.
2022-07-28 11:59:40 +08:00
Yiwen e40b92972e fix the bug that game will crash on exit when using deferred pipeline (#12216) 2022-07-28 10:52:02 +08:00
timlyeee d947f1d679 Update external-config.json (#12224)
Update external-config to fix spirvleak on mac
2022-07-28 09:37:45 +08:00
mmyduckx 3ab6917fb9 refine websocketClose parameters for protection (#12202)
* refine websocketClose parameters for protection

* fix network manually close crash
2022-07-28 09:37:12 +08:00
Santy-Wang cb7e5d54c2 revert convertToUINode deprecation (#12229) 2022-07-27 19:39:11 +08:00
Zhang mingzhen ecd94ea596 add vbColorDirty for native color filling (#12221)
* set colorDirty as true initially.

* move it to onEnable

* add vbColorDirty to protected native code sorting

* for complete padding

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2022-07-27 19:28:39 +08:00
fish9167 e13e1b65cc Change action run test cases (#12217)
* Change action comment

change run test case report(markdwn)

* Change action run test cases

add ci result comment(editor version)
2022-07-27 19:04:24 +08:00
Cocos Robot c55d44862a [ci skip][AUTO]: Automated code generating update: 57eae606773ecbaa5f49b63c7fced4c34bd14912 (#12225) (#12227)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-27 18:23:18 +08:00
江战 9808933f78 Disable tbb on HarmonyOS & CI fix bindings (#12225) 2022-07-27 18:07:52 +08:00
徐兵 e704d5e9c9 remove USE_REFLECTION_CUBEMAP (#12215) 2022-07-27 17:56:32 +08:00
jk20012001 a56f66b619 surface shader support render-to-reflectmap (#12223) 2022-07-27 17:33:58 +08:00
bofeng-song 836ad2211d fix screenPointToRay logic error (#12210)
* fix screenPointToRay logic error
2022-07-27 15:34:43 +08:00
ChiaNing c538fd6d18 change Renderable2d name (#12213)
* change Renderable2d name

* misc

Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-07-27 14:25:14 +08:00
Leslie Leigh (李的序) 8f929823f4 Optimize embedded player/event evaluation in animation state (#12186)
* Optimize embedded player evaluation in animation state

* update

* Skip wrap info calculation in certain cases in animation state

* Tweak

* Tweak

* Fix  test
2022-07-27 10:56:26 +08:00
江战 2fe5e328c8 specify ndk version for built-in res (#12211) 2022-07-27 10:51:10 +08:00
Santy-Wang 52cd47fa08 optimize frame animation performance (#12209)
* optimize frame animation performance

* refine code
2022-07-27 10:21:13 +08:00
zhakesi cce0712b20 fix graphics drawing in spine/dragonbones (#12198) 2022-07-27 10:07:08 +08:00
zhakesi b3e151c0af fix swap accessor not change buffer (#12204) 2022-07-27 10:03:07 +08:00
Ling Zhan c682c7c809 fix bullet contact data error (#13210) (#12195) 2022-07-26 20:18:44 +08:00
zhakesi 4644228090 fix binding inverseBindposes (#12205) 2022-07-26 20:14:19 +08:00
黄森斌 e34241dbc8 [Bug] fix bug of group style in inspector (#12180) 2022-07-26 20:08:07 +08:00
SijieWang 84ef0193c6 [Optimize] Optimizing 'GCObject' call performance (#12208)
* [Optimize] Optimizing 'GCObject' call performance

* Update cocos/core/data/garbage-collection.ts

* Update cocos/core/data/garbage-collection.ts

* Update cocos/core/data/garbage-collection.ts
2022-07-26 19:59:00 +08:00
qiuguohua 9beb03ebb6 Fixed the problem that the script callback function could not be registered in game.cpp (#12190) 2022-07-26 18:34:56 +08:00
James Chen d553ce2bdb [v3.6.0] Fix memory leaks (#12185) 2022-07-26 18:01:53 +08:00
jk20012001 79f2b97827 [fix] shader compilation error (#12203) 2022-07-26 17:14:31 +08:00
Cocos Robot b7860d7fa3 [ci skip][AUTO]: Automated code generating update: 84dce92d9f88d0712ba0cbd4c8eeb94c94d6c00c (#12189) (#12201)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-26 15:51:26 +08:00
jk20012001 498e88def9 [fix] baked object can't receive dynamic shadow (#12194) 2022-07-26 15:49:44 +08:00
Cocos Robot 98572ddb39 [ci skip][AUTO]: Automated code generating update: 11c1ee7b5be440230cab4a0c9c9dff92a303ac42 (#12184) (#12200)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-26 15:44:27 +08:00
Zeqiang Li b487884334 Fix a memory leak in CCMTLSemaphore (#12189) 2022-07-26 15:41:53 +08:00
ChiaNing 310525e358 fix ui Model proxy memory leak (#12184) 2022-07-26 15:37:46 +08:00
minggo 1a61d23048 add FogInfo.FogType (#12197) 2022-07-26 15:23:34 +08:00
bofeng-song eac9e0cc90 fix build error while enable swappy (#12191) 2022-07-26 14:46:47 +08:00
Cocos Robot dcb7132d00 [ci skip][AUTO]: Automated code generating update: d2330ea6e972d60060489854223e2e65b6adb9d7 (#12181) (#12182)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-25 19:00:42 +08:00
timlyeee dd25eee8ba disable debug renderer for v3.6 to ignore feature cropping (#12181) 2022-07-25 17:45:30 +08:00
Santy-Wang 9c092e7b77 optimize code of batcher2D (#12166)
* optimize code of batcher2D

* fix bugs

* no lint

* no lint

* no lint

* fix ci
2022-07-25 15:56:40 +08:00
fish9167 95a0581919 Change action comment (#12174)
change run test case report(markdwn)
2022-07-25 14:23:16 +08:00
James Chen eb880e947c Fix the bug of mathutils::approx always returns 1 (#12168) 2022-07-25 12:42:30 +08:00
James Chen 41b8936484 Fix wrong logic if passing 'keepWorldTransform = true' to setParent. (#12169) 2022-07-25 11:44:34 +08:00
James Chen 75180a1c68 Correct the logic of visiting _worldRotation/Scale/Position in Node.cpp. (#12170)
Mark Node::getScene as inlined.
2022-07-25 10:49:58 +08:00
James Chen aba4cd8fa8 The input argument of Mat4::toRTS should be in the first order and const reference, output arguments should be pointer. (#12172) 2022-07-25 10:22:39 +08:00
James Chen 6655ee4532 Rename INITAL_CAPACITY to GLES_COMMAND_POOL_INITIAL_CAPACITY to avoid conflict. (#12164) 2022-07-25 10:15:58 +08:00
Cocos Robot d83da1255c [ci skip][AUTO]: Automated code generating update: ff235a51ab4318531e1e1df3a13ba977e2f2fa51 (#12157) (#12161)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-23 17:58:44 +08:00
Santy-Wang 07facb9bf1 optimize memory (#12157) 2022-07-23 15:28:25 +08:00