Commit Graph

4475 Commits

Author SHA1 Message Date
王凯鹏 1f823180fa remove (clone) uffix when _instantiate prefab node (#12293) 2022-08-03 13:50:47 +08:00
troublemaker52025 f2cf0df089 [optimization] Shield soft_ 4X PCF sampling (#12297) 2022-08-02 19:13:03 +08:00
ChiaNing 985f4fd94c Fix pass hash when blend change (#12294)
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-08-02 16:05:24 +08:00
Santy-Wang 80c835952a [Bug] fix bundle loading in gameview (#12284)
* fix bundle loading in gameview

* add comment
2022-08-02 12:43:08 +08:00
timlyeee 819c9be59f Fix native.reflection.callStaticMethod wrong signature (#12291) 2022-08-02 10:41:44 +08:00
江战 889dcd0aee export enum defined in engine-adapter.js (#12274) 2022-07-29 20:19:33 +08:00
ChiaNing e2eb71b9a1 fix ui mesh renderer enable bug (#12265)
* fix ui mesh renderer enable bug

* add canRender

* remove material protect

* misc fix

Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-07-29 14:01:36 +08:00
Santy-Wang f3fbfeb3b1 fix particle-system deserialization (#12220) 2022-07-29 11:54:49 +08:00
ChiaNing f8fb03e9af remove blend state on ui render (#12228)
* remove blend state on ui render

* tiledGourp updateBlendFunc hack

Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-07-29 11:54:28 +08:00
Leslie Leigh (李的序) aca3336745 Feat: animation graph - support absolute destination start time (#12162)
* Feat: animation graph - support absolute destination start time

* Update
2022-07-29 11:08:39 +08:00
zhakesi dc91a469ae use native middleware buffer (#12233)
* use native middleware buffer

* fix clang-tidy

* fix clang-tidy

* set useLinkData as meshBuffer's property

* refactoring some code

* set 2d.ini

* fix word component

* fix clip middleware2d

* ...

* function attributes to getAttributes
2022-07-28 19:00:30 +08:00
江战 9feca1c718 [3.6.0] export AssetsManager to native (#12254) 2022-07-28 18:29:16 +08:00
zxx43 6678c378ee V3.6.0 particle material log (#12249)
* add warning message when change particle material

* use error id instead

* change to log

* change to warning

* Apply suggestions from code review

Co-authored-by: pandamicro <lphuabin@gmail.com>
2022-07-28 17:44:53 +08:00
ChiaNing 46436e2e96 fix sprite frame trim bug (#12252)
* fix sprite frame trim bug

* onload change

Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-07-28 17:11:31 +08:00
江战 ed84c7f28b 3.6 add docs for jsb.garbageCollect (#12238)
* add docs for jsb.garbageCollect
2022-07-28 16:09:12 +08:00
timlyeee d7ec3d3b82 V3.6.0 fix reflection not export bug. (#12237) 2022-07-28 13:50:45 +08:00
Santy-Wang cb7e5d54c2 revert convertToUINode deprecation (#12229) 2022-07-27 19:39:11 +08:00
徐兵 e704d5e9c9 remove USE_REFLECTION_CUBEMAP (#12215) 2022-07-27 17:56:32 +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
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
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
jk20012001 498e88def9 [fix] baked object can't receive dynamic shadow (#12194) 2022-07-26 15:49:44 +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
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
Santy-Wang 07facb9bf1 optimize memory (#12157) 2022-07-23 15:28:25 +08:00
hyde zhou 0351bb2444 break circular dependency (#12149) 2022-07-22 13:44:16 +08:00
hyde zhou bc500f1a35 fix ia (#12147) 2022-07-22 13:32:35 +08:00
timlyeee 999e640484 add callbacksInvoker missing api (#12131) 2022-07-22 13:31:21 +08:00
Santy-Wang 5a2925f635 close splash screen and add profiling info (#12146) 2022-07-22 12:55:21 +08:00
zhakesi e18e900162 support spine/dragonbones use local native batcher2d (#12141)
* support spine/dragonbones use local native batcher2d

* avoid tiled map use local

* render-entity add set use local

* modify some code

Co-authored-by: zhakesi <zhakesi@foxmail.com>
2022-07-22 12:54:15 +08:00
Zhang mingzhen 74cf745db8 add protect condition of kerningDict and fontDefDictionary are undefined (#12130)
* add protect condition of kerningDict and fontDefDictionary are undefined

* add warining when give a null parameter

* if fontatlas is null, create one

* narrow the size of letterAtlas initialization

* create global variables for assignment

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2022-07-22 12:15:07 +08:00
SijieWang d871c1eb5d [Optimize] When MENU is specified, do not put it in the custom script (#12123) 2022-07-21 23:32:08 +08:00
zxx43 a2a7c9fc83 V3.6.0 gpu particle fix (#11944)
* fix gpu particles

* fix gpu texture animation value error
2022-07-21 23:29:47 +08:00
hyde zhou 6ab59df008 [v3.6.0 pipeline] add pipeline macro (#12136)
* add pipeline macro
2022-07-21 23:23:16 +08:00
hyde zhou 8dfcbabeb0 [V3.6.0 gfx] auto barrier added (#12118)
auto barrier added.
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com>
2022-07-21 23:21:23 +08:00
Santy-Wang 629d788596 Output friendly information about effect name (#12137)
* Output friendly information about effect name

* Apply suggestions from code review

Co-authored-by: pandamicro <lphuabin@gmail.com>
2022-07-21 23:05:53 +08:00
James Chen 235d0e9017 Fix TextureCube binding. (#12133) 2022-07-21 22:36:46 +08:00
徐兵 2e69f679d3 reflection convolutional map baking speed optimization (#12112) 2022-07-21 19:20:42 +08:00
hyde zhou f76a30dcac Add ->(geometry, profiler, planarShadow) and update shadowmap (#45) (#12129)
Co-authored-by: GengineJS <476393671@qq.com>
2022-07-21 18:47:52 +08:00
timlyeee fc4f024327 update documentations of reflection, bridge and jsbBridgeWrapper (#12097) 2022-07-21 18:31:30 +08:00
pandamicro acbb536c48 Protect corrupted node and component in editor (#12120)
* Protect corrupted node and component in editor

* Improvement

* Unify Node._registerIfAttached

* Fix ci
2022-07-21 17:58:15 +08:00
troublemaker52025 b84a276944 [optimization] compress csm ubo (#12111) 2022-07-21 17:50:29 +08:00
zxx43 d0d01abbf5 call stop when destroy particle (#11923) 2022-07-21 16:55:03 +08:00
zhakesi eab5f52c92 fix tiledLayer addUserNode (#12122) 2022-07-21 15:47:52 +08:00
qiuguohua bbfafa4e9a Added interface for copying text to clipboard (#12029)
* Added interface for copying text to clipboard

* Bind the context to the function
2022-07-21 14:55:27 +08:00