Commit Graph

12 Commits

Author SHA1 Message Date
troublemaker52025 fd3e84c239 fix shadow performance (drawcall) (#14000) 2023-01-05 10:19:37 +08:00
minggo 313c58fe33 Improve utils api doc (#13922) 2022-12-28 15:04:56 +08:00
pandamicro afd22296b4 MIT license update and to new year 2023 (#13927)
* Cpp MIT license update and to date
* TS MIT license update and to date
2022-12-28 11:25:12 +08:00
James Chen d9dd6ecc74 Add ccstd::monostate for the first type of ccstd::variant. (#13762)
* Add ccstd::monostate for the first type of ccstd::variant.

* Update native/CMakeLists.txt

* Remove unused cc::MaterialPropertyVariant conversion in jsb_conversions_spec.h

It’s implemented in jsb_conversions.h by template.

* Update ccstd::variant conversion in jsb_conversion.h

* Don’t use std::get<NUMBER> to get element in variant.

* Update conversion for ccstd::variant.

* Fix the errors clang-tidy reported.

* Fix particle-align testcase reports the script error: _updateWorldBoundDescriptors is undefined

* Update TemplateUtils.h
2022-12-19 11:58:11 +08:00
minggo d40b8739bc Merge branch 'v3.6.0' into develop_merge_v3.6 2022-07-18 10:38:14 +08:00
troublemaker52025 387b994f91 Add CSM for v3.6.0 (#11120)
* Add CSM for v3.6.0

* fix CI error

* fix Ci error 2

* Limit soft shadow sampling range

* update

* add soft 5x PCF

* add warn ID

* sync CSM to native engine

* fix CI error

* add Performance Mode

* fix ci error

* fix ci error 2

* fix ci error 3

* add precisely tailored

* use CC_SHADOWMAP_FORMAT

* update

* Modify default parameters

* sync to native engine

* revert config file

* fix  ci error

* modify pr problem

* fix CI error

* fix ci error

* sync to js engine

* fix ci error

* fix cc_shadowMap not binding

* fix vulkan shadow effect error

* build effect

* fix ci error

* modify review

* fix ci error

* fix ci error 2

* delete unused interfaces

* fix ci error

* update

* update 2

* fix ci error

* delete csmDebugMode

* build effect

* use csmLeve to shadowCascadeLevel

* update
2022-06-07 14:30:49 +08:00
James Chen 024737aebc fixed #11195: Rename cc::optional, cc::any, cc::variant to ccstd::optional, ccstd::any, ccstd::variant (#11197)
* Move Any.h/Optional.h/Variant.h to base/std and rename them to lowercase.

* fixed #11195: Rename cc::optional, cc::any, cc::variant to ccstd::optional, ccstd::any, ccstd::variant

* Format code.
2022-05-24 18:47:16 +08:00
minggo 271cc5cf23 Remove some format rule (#10919)
* remove some rules
* format all codes with new format rule
2022-05-04 13:09:24 +08:00
Cocos Robot df50878b14 [ci skip][AUTO]: Automated clang-format update: 735860a2aa285979c890bad6356b14afeff13db5 (#10560) (#10570)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-29 16:40:20 +08:00
minggo 1a9d49e4c6 replace std::list/std::array with ccstd::list/ccstd::array (#10560)
* replace std::list/std::array with ccstd::list/ccstd::array
2022-03-29 16:36:53 +08:00
minggo 34bf14269c unify stl (#10402)
* add ccstd::vector
* replace cc::vector with ccstd::vector 
* replace std::vector with ccstd::vector
* do not include <vector>
2022-03-21 15:55:02 +08:00
minggo 5410a48a58 Implement more logic in native (#4131)
Co-authored-by: bofeng.song <bofeng.song@chukong-inc.com>
Co-authored-by: dumganhar <dumganhar@gmail.com>
Co-authored-by: mmyduckx <308303735@qq.com>
Co-authored-by: Patrice Jiang <397136899@qq.com>
Co-authored-by: 江战 <40414978+PatriceJiang@users.noreply.github.com>
2022-01-07 18:39:40 +08:00