Commit Graph

5441 Commits

Author SHA1 Message Date
Cocos Robot 8ca73f71eb [ci skip][AUTO]: Automated code generating update: 617be7e07b839bf70290df3c74c25235ff0e01b2 (#12141) (#12148)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-22 13:00:22 +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
江战 3335bff2aa add minimal build support (#12145) 2022-07-22 12:42:47 +08:00
hyde zhou 9a7b7006c0 fix missing code (#12144) 2022-07-22 11:08:55 +08:00
hyde zhou d1f1f34f1c fix build error (#12142) 2022-07-22 10:56:50 +08:00
timlyeee aeac69c492 Fix bug when JsbBridge test case close window (#12126)
* .6.0-reflectionDocs: Auto stash before checking out "cocos/v3.6.0"
2022-07-22 10:30:44 +08:00
Cocos Robot 3559039517 [ci skip][AUTO]: Automated code generating update: 643e95445939d1b3e34a9dabda500db33c7b64c6 (#12118) (#12139)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-21 23:43:24 +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
Cocos Robot b770828434 [ci skip][AUTO]: Automated code generating update: 0ac2d02a48016a0c9f3d9f0aa8515582e50d88a1 (#12133) (#12138)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-21 22:48:33 +08:00
James Chen 235d0e9017 Fix TextureCube binding. (#12133) 2022-07-21 22:36:46 +08:00
Yiwen 5977077c7b corret metal device limits. includes maxFragmentUniformVectors maxVertexUniformVectors maxUniformBufferBindings (#12127) 2022-07-21 20:59:42 +08:00
Cocos Robot b3c750e03c [ci skip][AUTO]: Automated code generating update: 1908d69bf92de8833e2c837f42e9de15dece1758 (#12112) (#12135)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-21 19:29:59 +08:00
徐兵 2e69f679d3 reflection convolutional map baking speed optimization (#12112) 2022-07-21 19:20:42 +08:00
troublemaker52025 b84a276944 [optimization] compress csm ubo (#12111) 2022-07-21 17:50:29 +08:00
bofeng-song 939f4c5704 fix crash at server_mode due to use wrong header file (#12119)
* fix crash at server_mode due to use wrong header file
2022-07-21 14:41:18 +08:00
Cocos Robot 40d5a1d0ab [ci skip][AUTO]: Automated code generating update: 88de7636ca7f8f72724eba8e1db87bc25d3f662a (#11646) (#12116)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-21 12:47:06 +08:00
hyde zhou 0c82b143fc [V3.6.0 pipeline] added web forward and deferred pipelines (#11646)
* added custom web forward and deferred pipelines
2022-07-21 12:40:13 +08:00
James Chen 3261ab1930 Check passes length in Shadow.getPlanarShader & getPlanarInstanceShader. (#12105) 2022-07-21 11:54:47 +08:00
Santy-Wang 2ae2d94b93 optimize performance (#12080)
* optimize performance

* fix binding

* fix bugs

* fix bugs

* fix crash

* remove useless func

* fix ci

* fix ci

* fix ci
2022-07-21 11:50:43 +08:00
Yiwen 8ecfdeaf66 Correct the logic to obtain the batching scheme. (#12094) 2022-07-21 11:41:44 +08:00
江战 9141706325 update cmake list (#12107) 2022-07-21 11:35:29 +08:00
bofeng-song db97f15096 fix wrong orientation by use vulkan at android platform (#12109) 2022-07-21 10:27:03 +08:00
troublemaker52025 8951ed13ec [bug] Fix planar shadow serialization problem v3.6.0 (#12086) 2022-07-21 10:13:13 +08:00
troublemaker52025 d5f77d0af1 [optimization] Split csm ubo v3.6.0 (#12072)
* split csm ubo v3.6.0

* update

* Modify *.meta  file to ignore material upgrade

* update

* update

* update 2

* use better struct padding and save memory

* update mate

* fix ci error

* memory alignment

* update

* update 2

* chenge func name

* update
2022-07-20 22:58:25 +08:00
江战 e7eeab9340 3.6 remove Mat4::transformVector for Vec3 (#12088)
* use Vec3::transformMat4 to replace Mat4::transformVector
2022-07-20 19:02:41 +08:00
江战 68a9972729 update readme (#12095) 2022-07-20 15:30:16 +08:00
江战 8ef9c6b12d reduce log (#12092) 2022-07-20 14:36:30 +08:00
yangchao cae515bd17 update external-config.json (#12084) 2022-07-20 13:36:21 +08:00
Cocos Robot ac4e685a35 [ci skip][AUTO]: Automated code generating update: 6cb7a5b0ed1bdc2ced3964086975e5241c93a795 (#12062) (#12081)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-20 11:21:45 +08:00
timlyeee 50ffa3b39a V3.6.0 get language with LocaleList on Android7+ (#12073)
* get language by using system language settings
2022-07-20 11:18:09 +08:00
James Chen 131fb74b32 Fix the parameter of TextureCube::setImage, support to pass nullptr to it, keep the same logic as which in web (#12062) 2022-07-20 11:09:24 +08:00
徐兵 a2aecfe243 [bug] fix macro of material is invalid and set value of HDR for PipelineSceneData with native engine (#12074) 2022-07-20 10:47:33 +08:00
江战 02655fa8fa use cmath std::fabs instead of cstdlib std::abs (#12075) 2022-07-20 08:59:56 +08:00
minggo 616968d7bd Adjust code struct and remove unneeded variables in Node (#12069) 2022-07-19 23:23:25 +08:00
James Chen 9a7204143f Fix crash of spine test on Android, revert Mat4 and use enoki::load_unaligned in Vec3::transformMat4Neon (#12076) 2022-07-19 19:23:11 +08:00
Cocos Robot eaab33e7d4 [ci skip][AUTO]: Automated code generating update: 0fe6abc85cec4e94d8382ed2f45fe5ba60c8d458 (#12068) (#12077)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-19 17:47:30 +08:00
ChiaNing d9c93a57c7 remove blend state on fillPass function (#12068)
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-07-19 17:18:38 +08:00
jk20012001 3d91d97527 [bug] retrieve getShadowPassIndex from submodel (#12057) 2022-07-19 14:49:39 +08:00
Yiwen b741bd3dd5 fix the validation errors about renderpass and swapchain (#11945)
* fix the valication error that framebuffer mismatch renderpass
2022-07-19 14:46:21 +08:00
yangchao fefd8efcda mac server mod (#12054)
* mac server mod

Co-authored-by: bravetwo <bravetwo@163.com>
2022-07-19 13:42:21 +08:00
Zhang mingzhen 12625f09d8 RenderDrawInfo code sorting (#12055)
* remove blendHash and DrawInfoAttrLayout

* remove code in cpp

* remove blend hash in ts

* remove blendhash of middleware in ts

* remove rebundant code

* remove stencilStage in drawinfo

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2022-07-19 13:35:54 +08:00
Cocos Robot b6e14e8b35 [ci skip][AUTO]: Automated code generating update: 2c279f69cdc821e2d096b4f5d5d3e3173d4c975d (#12053) (#12064)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-19 11:40:28 +08:00
ChiaNing b6e1fe4d6a Slim Render Draw Info (#12053)
* Slim Render Draw Info

* fix CI

* safe delete

Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-07-19 11:13:37 +08:00
zhakesi 51d999e0e6 native batcher2d tiled-map addUserNode complete (#12059) 2022-07-19 10:53:42 +08:00
James Chen ab733d5644 [v3.6.0] Fix some potential memory issues (#12045)
* Fix deleting IntrusivePtr _pipeline object in Rot.cpp.

* Remove unused code.

* Avoid nullptr dereference in SceneCulling.cpp

* Fix memory leaks for some objective-c code.

* [dragonbones] Avoid extra memory allocation and copy in CCFactory.cpp

* [dragonbones] DragonBonesData::binary needed to be 'freed' rather than 'delete'd.

* [dragonbones] Fix using delete to release memory allocated by 'new[]' in SlotColorTimelineState.

* Remove variable srcOffset & dstOffset in Mesh::merge
2022-07-18 16:39:26 +08:00
Zhang mingzhen 1fd70ef5e7 UIOpacity and UIRenderer recursion bug (#12015)
* optimize JSB sync in every frame

* opacity bug, enabled doesn't sync to native

* UIOpacity and UIRenderer recursion

* avoid parameters are undefined

* resolve circular dependency

* exclude UIMeshRenderer in setEntityColorDirtyRecursively

* exclude UIMeshRenderer in UIOpacity setEntityLocalOpacityDirtyRecursively

* blend hash should put into passdirty

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2022-07-18 15:42:02 +08:00
James Chen 3025bcd012 [v3.6.0] Optimize se::Object::getPrivateData, math::IsEqualF, Vec3::transformMat4 (#12039) 2022-07-18 14:10:16 +08:00
Cocos Robot 3030a15efa [ci skip][AUTO]: Automated code generating update: 34cde05fa14ead3af3b26057b90329cd64090929 (#12042) (#12051)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-18 11:53:53 +08:00
Santy-Wang 56c26db7f5 optimize renderEntity and renderDrawInfo padding (#12042)
* adjust padding

* optimize padding

* use default constructor
2022-07-18 11:48:04 +08:00