Commit Graph

5463 Commits

Author SHA1 Message Date
minggo 063e049d66 use Map::emplace() to avoid creating pair object (#12152) 2022-07-29 09:47:55 +08:00
Cocos Robot ce173cf0dc [ci skip][AUTO]: Automated code generating update: e0bfd1d380 (#12192) (#12239)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-28 14:10:26 +08:00
minggo f3ed70bc44 Merge pull request #12192 from minggo/merge_v3.6
Merge v3.6
2022-07-28 11:53:21 +08:00
江战 c32ba5d38c fix include order & revert boost/hash (#12212) 2022-07-27 13:46:01 +08:00
minggo e0bfd1d380 Merge branch 'v3.6.0' into merge_v3.6 2022-07-26 12:01:26 +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
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
James Chen ae1af57dec Remove an unused variable Model::_instancedBuffer (#12160) 2022-07-23 15:28:06 +08:00
hyde zhou 059062bca4 simplify c++ abstract class (#12156) 2022-07-22 18:22:18 +08:00
zhakesi 442d73cc12 avoid reset float array size (#12154)
* avoid reset float array size

* release ds use safe delete

* not use float32array

* init data
2022-07-22 18:08:40 +08:00
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