Commit Graph

5365 Commits

Author SHA1 Message Date
bofeng-song 85d809a92a fix gameActivity can not be found by other module (#11962) 2022-07-13 16:26:39 +08:00
江战 38e8a689e1 Support to send log to server, currently is only used internally by QA team (#11832) 2022-07-13 16:23:39 +08:00
Cocos Robot 9860a2ea7e [ci skip][AUTO]: Automated code generating update: b81dccdaf9e37198c25f5476fa7842d549c9d92e (#11943) (#11959)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-13 16:18:38 +08:00
Zhang mingzhen 05bde85ed7 V3.6.0 batcher2d code sorting (#11943)
* parentOpacity move to RenderEntity

(cherry picked from commit f1d9b5cb55c1912bd61ba490ec46ce7108097556)

* parentOpacity remove from entity and put into funtion parameters

* unify dynamic and static handle process

* reform entity shared buffer structure

* modify default value of struct

* set drawinfo type for spine/dragonbones

* remove legacy method

* reform color .type as uint8 from float

* CI fix

* remove static-cast

* CI fix

* CI fix

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
Co-authored-by: liqiao <liqiao@cocos.com>
2022-07-13 15:48:31 +08:00
Cocos Robot 38a3cd7fc5 [ci skip][AUTO]: Automated code generating update: 627775d7a3b92ed5687d91ba15488277fb9e4ff6 (#11926) (#11956)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-13 14:21:35 +08:00
James Chen 9f615e1fec fixed #11911: [v3.6][optimization] Use External ArrayBuffer to optimize the shared memory in Node (#11926) 2022-07-13 13:50:53 +08:00
Cocos Robot 34d7b627fa [ci skip][AUTO]: Automated code generating update: 9263bf91590adb1e304c59c810f6df86ed252519 (#11946) (#11948)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-12 23:03:32 +08:00
李吉林 f6a41a76a1 export DebugRenderer to ts (#11946)
* export DebugRenderer to ts
2022-07-12 22:33:36 +08:00
yangchao 2507bfe184 Fix video player bug (#11933) 2022-07-12 18:16:18 +08:00
Zeqiang Li 856aeaee1b correct wrong size emitted when switch between different dpr screen (#11940) 2022-07-12 17:15:48 +08:00
江战 284642a129 copyout last component of vec4 (#11920) 2022-07-12 13:46:02 +08:00
ChiaNing d13ebb2fdb Mask image-stencil change (#11932)
* Mask image-stencil change

* CI fix

* size change

* event change

* event change

* event

* mask type change to native

Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-07-12 13:36:50 +08:00
Cocos Robot 0cd9e8bf11 [ci skip][AUTO]: Automated code generating update: 0abe59d177ecd5e564ef684cb63f43f69205d006 (#11869) (#11937)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-12 10:13:17 +08:00
jk20012001 d2ea1877b0 optimize shader compiling and fix soft5x (#11869)
* optimize shader compiling

* fix compile error

* optimize native 5x
2022-07-12 10:03:50 +08:00
qiuguohua 7597170cb9 Make static methods exported by FileUtils non-static (#11922) 2022-07-12 09:54:40 +08:00
minggo bd950a509b Merge pull request #11912 from minggo/merge_ds
Merge ds
2022-07-12 09:49:20 +08:00
James Chen e3d0f93460 getGeometryRenderer::update must be wrapped in CC_USE_GEOMETRY_RENDERER macro. (#11928) 2022-07-11 18:57:10 +08:00
troublemaker52025 efada734d6 fix csm effect error at metal v3.6.0 (#11931) 2022-07-11 18:25:01 +08:00
timlyeee 350102a1a9 Fix crash when clicking editbox on some low level windows machines (#11930) 2022-07-11 17:37:50 +08:00
Cocos Robot 33b34b902c [ci skip][AUTO]: Automated code generating update: 391745c8a0d5f002ad8557a4ee77468885ee3c52 (#11919) (#11924)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-11 16:58:18 +08:00
zhakesi 40769330da fix spine/dragonbones drawinfo clear (#11919)
* fix spine/dragonbones drawinfo clear

* fix clang tidy
2022-07-11 16:18:14 +08:00
Zhang mingzhen 731d703648 Mask to native bug fix (#11913)
* mask inverted bug fix

(cherry picked from commit dc695c992983042ca7af3ac91051db40049dfbd1)

* sync customMaterial for commitIA of middleware in native

* fix CI

* remove abundant mask code

* add nolint

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2022-07-11 13:43:56 +08:00
bofeng-song dc1ed4c2e7 fix android crash while call restart & orientation changed (#11914) 2022-07-11 11:29:20 +08:00
timlyeee d19aa952a3 [Bug fix] copy v8 dlls for unit test and simulator (#11918) 2022-07-11 11:28:56 +08:00
Cocos Robot a6aa405666 [ci skip][AUTO]: Automated code generating update: c4408f9097481805d861f0bda40856be48e3e72d (#11915) (#11916)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-09 20:06:23 +08:00
James Chen 6cc101f361 Use more const and make Node::getIdxOfChild protected (#11915) 2022-07-09 19:23:03 +08:00
minggo 15eb2aa727 fix merge error 2022-07-09 15:20:29 +08:00
minggo b7558e4938 Merge branch 'v3.5.1-ds' into merge_ds 2022-07-09 15:13:35 +08:00
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
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
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
timlyeee b43de1af07 V3.6.0 exit (#11856) 2022-07-07 14:07:47 +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
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