Commit Graph

5290 Commits

Author SHA1 Message Date
minggo 699c6c58d2 some refactor (#11810)
- put related codes together
- use more meaningful variable names
- do not use temple vector as possible
2022-07-01 19:00:06 +08:00
timlyeee 924f5136c0 fix mac (#11813) 2022-07-01 18:46:54 +08:00
jk20012001 402cf1602a code style: rename spotlightingmap->spotshadowmap (#11800) 2022-07-01 16:17:52 +08:00
timlyeee a69576912b add win64 release, check after clean (#11805)
* add win64 release, check after clean
2022-07-01 16:17:02 +08:00
Cocos Robot e13f1ed021 [ci skip][AUTO]: Automated code generating update: 5770a3d382506ed1bd87d2564d4ec1060b5d54a3 (#11803) (#11806)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-01 15:15:57 +08:00
James Chen cc07c54204 Fix crash if device doesn't support vulkan or gles3 (#11803) 2022-07-01 14:59:34 +08:00
timlyeee b8cc10e649 [fix bug]1. crash when create mesh with _struct undefined, 2. when get property from material (#11762) 2022-07-01 10:17:11 +08:00
Santy-Wang 6e995a866c adjust decorator execute order (#11794)
fix mesh error
2022-07-01 10:16:11 +08:00
James Chen 2f8e0642b0 Add cmake option USE_WEBP to enable/disable webp image support. (#11790) 2022-07-01 09:49:27 +08:00
Cocos Robot 1bbda335fb [ci skip][AUTO]: Automated code generating update: e61dc81f3d3283aa7ef1167c5dcd234596a1ecd8 (#11778) (#11796)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-01 09:48:24 +08:00
mmyduckx 6ec766ae20 change Mac simulatorApp from debug to release (#11755) 2022-07-01 09:47:50 +08:00
troublemaker52025 98b1eea826 [v3.6.0] fix switch scenes clash (#11778)
* fix switch scenes clash for v3.6.0

* update

* update

* fix ci error
2022-06-30 23:38:12 +08:00
Cocos Robot 92580e5ef3 [ci skip][AUTO]: Automated code generating update: c7bce316343e2db9d99cdd4adafdfde1f1d87946 (#11782) (#11788)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-30 18:01:39 +08:00
Cocos Robot 59879c8ef9 [ci skip][AUTO]: Automated code generating update: e0f3d953690be9d9c4365e1d9e45d79a89f3be2f (#11772) (#11782)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-30 17:13:37 +08:00
jk20012001 7d42e2d48b fix #12702 lighting disappear with temperatureRGB lights (#11780) 2022-06-30 17:12:43 +08:00
James Chen f8a2d9f29e Update render-config.json, add cmake macro for geometry-renderer & debug-renderer modules. (#11767) 2022-06-30 17:10:59 +08:00
minggo 6bb5f9d447 use smart pointer and remove unneeded codes (#11750) 2022-06-30 17:01:17 +08:00
minggo 3fd06707ab use smart pointer as possible (#11754) 2022-06-30 17:00:51 +08:00
James Chen 746bc1e571 Revert to use c++17 std::shared_mutex in ReadWriteLock.h (#11760) 2022-06-30 16:58:54 +08:00
李吉林 1f12c3e88e fix geometry renderer update buffer in metal (#11772)
* fix geometry renderer update buffer in metal
2022-06-30 16:37:07 +08:00
Zeqiang Li da29f65e09 vk android compile issue' (#11770) 2022-06-30 15:35:52 +08:00
troublemaker52025 21b6f7bdd7 Fix spot shadow and punctual light errors (#11758)
* reduce Instanced-queue commit v3.6.0

* fix spot light culling error

* fix spot light shadow culling error && fix instanced and batched queue use dnymicOffset error && optimize spot light no cast shadow will error

* update

* update 2

* update 3

* update 4

* update 5

* use lightPassPool

* native engine use AdditiveLightPass

* delete spot light `hasCastShadowObjects` func

* update
2022-06-30 14:36:31 +08:00
徐兵 25a0ed782e fix crash on vivoX7Plus from issue #10779 (#11757) 2022-06-30 14:12:10 +08:00
pandamicro 58eafca8d5 Fix fogEnd value issue in native (#11769) 2022-06-30 14:11:14 +08:00
Cocos Robot c705d11ce6 [ci skip][AUTO]: Automated code generating update: 6669a47d6ba9af5c79df2aa5d95251d2e950b7ad (#11740) (#11765)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-30 10:36:37 +08:00
James Chen 174ba0eff2 Add macros: CC_USE_GEOMETRY_RENDERER and CC_USE_DEBUG_RENDERER to control these debugging features. (#11740) 2022-06-30 10:25:02 +08:00
Cocos Robot 04c86b66c0 [ci skip][AUTO]: Automated code generating update: 12dd11c71e01dc5ea2ba92b6cb28553a9450574c (#11752) (#11761)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-29 18:19:48 +08:00
李吉林 f3be7666a2 crop geometry renderer & debug renderer (#11752) 2022-06-29 17:16:17 +08:00
徐兵 06be9a4164 fix the invalid switch hdr and ldr (#11719) 2022-06-29 16:48:14 +08:00
Cocos Robot d016820f76 [ci skip][AUTO]: Automated code generating update: 89226ca4cdbedcda3a4cdc4f8d8410aef7e27022 (#11737) (#11751)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-29 15:04:03 +08:00
minggo 9ff2e6c692 fix crash (#11737)
* fix crash
2022-06-29 14:31:11 +08:00
mmyduckx 4fdf948d24 refactor downloaderTask API style (#11697) 2022-06-29 11:34:15 +08:00
Cocos Robot 79e169b7f0 [ci skip][AUTO]: Automated code generating update: 0c3f181e16c728079881685f7df4582cdae6e1b3 (#11624) (#11741)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-29 11:33:16 +08:00
mmyduckx 4b7294a503 fix mac SimulatorApp not init fileUtils when used. (#11743) 2022-06-29 11:28:48 +08:00
Ling Zhan aa001a9f9b fix PhysX pointer loss percision on Android API 30 (#10811) (#11624) 2022-06-29 09:54:29 +08:00
minggo 8caec59711 use IntrusivePtr to share object (#11729) 2022-06-28 18:01:47 +08:00
江战 d008270ef3 3.6 bugfix set macro USE_V8_DEBUGGER in cmake (#11727) 2022-06-28 17:59:41 +08:00
Cocos Robot 97ba2b9bce [ci skip][AUTO]: Automated code generating update: c3f766b0dc6df3a0e9212646200c4a0d8135bdd2 (#11716) (#11724)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-28 15:25:33 +08:00
minggo 98d58f69a0 memory usage check (#11716)
* memory usage check
2022-06-28 14:31:13 +08:00
mmyduckx 035cefdd7f fix forward declaration compile error (#11720) 2022-06-28 11:30:48 +08:00
minggo 524d859db3 check memory usage (#11714) 2022-06-27 17:42:36 +08:00
minggo 6c9203e4e3 add some comments and remove unneeded codes (#11713) 2022-06-27 15:31:48 +08:00
hyde zhou 8d25a7ddca fix forceUpdate (#11706)
* fix forceUpdate
2022-06-27 11:39:25 +08:00
mmyduckx 0ee40078ce refactor DownloaderImpl-apple.mm function to unify style with Apple API (#11681) 2022-06-27 10:34:55 +08:00
James Chen d85d2fb2f2 Fix that JS object is not in 'Weak' state if it is unrooted. (#11680) 2022-06-27 10:32:40 +08:00
minggo 1f7e135438 use reference count to release (#11699) 2022-06-27 09:55:09 +08:00
minggo 9fb1d85642 fix memory leak (#11700) 2022-06-27 09:54:47 +08:00
Yiwen 0f5bd9fb7d fix logic error in copyBufferstoTexture's validation check (#11703) 2022-06-25 14:51:55 +08:00
Cocos Robot 6dd9ebcc79 [ci skip][AUTO]: Automated code generating update: 85f26b90ec3a93e1ba473b0e532665387829684b (#11695) (#11701)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-24 21:17:52 +08:00
James Chen 8fcfed75ca [jsb] Fix that BufferAsset is not bound correctly. (#11695)
* [jsb] Fix that BufferAsset is not bound correctly.
2022-06-24 18:44:17 +08:00