Commit Graph

5382 Commits

Author SHA1 Message Date
Cocos Robot 1614c4fe25 [ci skip][AUTO]: Automated code generating update: 727232abba37fb80a91e138386a61623c09fc13b (#12016) (#12019)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-15 16:18:54 +08:00
James Chen 34f4c1c2eb Fix typo of TextureCube::setMipmapAtlas and update property binding in tojs/assets.ini (#12016) 2022-07-15 16:10:33 +08:00
Cocos Robot d44185c7bf [ci skip][AUTO]: Automated code generating update: 83b514d20bce61e75b556e0c5b28531c4978388a (#12011) (#12014)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-15 14:23:41 +08:00
James Chen f644e78e5c [v3.6.0] Refactor native Batcher2d lifecycle (#12011) 2022-07-15 14:17:33 +08:00
江战 2234d57994 ndk (#12009) 2022-07-15 13:53:35 +08:00
minggo 9f8092cef5 simplify logic of Node::walk() (#11997)
* simplify logic of Node::walk()
2022-07-15 10:26:07 +08:00
李吉林 debd809319 crop occlusion query (#11990)
* crop occlusion query
2022-07-14 19:32:47 +08:00
Yiwen 31ec3c4c0c the computation of projection matrix should consider sign of Y (#11995) 2022-07-14 18:25:05 +08:00
troublemaker52025 e6b02eecec [bug] shadowMap using linear depth macro with webgl v3.6.0 (#11993) 2022-07-14 18:22:24 +08:00
Santy-Wang 945e715a9c restructure life cycle (#11971)
* restructure life cycle

* fix bugs

* optimize

* remove some code

* refine

* fix dragonbone custom material

* fix particle crash

* changed to CCAssert

Co-authored-by: liqiao <liqiao@cocos.com>
2022-07-14 16:33:30 +08:00
troublemaker52025 2701f96644 [Bug] fix planar-shadow not display when dir light shadow disabled v3.6.0 (#11984)
* [Bug] fix planar-shadow not display v3.6.0

* sync to CI test

* sync to native
2022-07-14 16:06:01 +08:00
James Chen b38ae95477 Fix AddressSanitizer: memcpy-param-overlap: memory ranges in Mesh.cpp if CC_OPTIMIZE_MESH_DATA is enabled. (#11976) 2022-07-14 11:46:48 +08:00
Cocos Robot e15b67c86c [ci skip][AUTO]: Automated code generating update: a521243790ae4d541f0774c52e37f762aca4001b (#11966) (#11980)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-14 10:15:01 +08:00
qiuguohua cd032aebd4 V3.6.0 bug (#11966)
* Fix access to application class on exit
2022-07-14 09:49:53 +08:00
ChiaNing b395f4d5dc fix 2d particle native render bug (#11973)
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-07-13 18:35:13 +08:00
江战 28b3a47977 Update external-config.json (#11965) 2022-07-13 17:45:34 +08:00
江战 584ea44ecc 3.6 reduce build log & warnings (#11961)
* fix warning of CMP0074

* reduce log & warnnings
2022-07-13 17:23:25 +08:00
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