Commit Graph

277 Commits

Author SHA1 Message Date
Jiujiang Liu 3898cf3d47 fix getUniform API bug (#15333)
Co-authored-by: James Chen <dumganhar@gmail.com>
2023-06-07 15:24:35 +08:00
hyde zhou 6cbad38241 pipeline changes after v3.7.3 (#14998) 2023-05-10 17:46:45 +08:00
李吉林 5ead7c61de delete batching (#14957)
* delete batching
2023-05-04 12:46:12 +08:00
Zach Lee 3fab846f7b GFX Pipeline Cache. (#14759) 2023-04-13 17:41:30 +08:00
James Chen b7cec161c6 fixed #14473: [native] Remove 'Record' macro to avoid conflict. (#14474)
* fixed #14473: [native] Remove 'Record' macro to avoid conflict.
2023-03-07 13:57:34 +08:00
hyde zhou 8c612a3bbb [pipeline] add native pipeline ubo uploading (#14061)
* merge v3.7.0-pipeline

* pass done

* fix const reference return type

* add uniform block buiding

* fix const cast

* fix const

* fix mtl const

* integrating native program library

* native pipeline workflow updated

* adding ubo binding

* Solve the problem of the version attribute of pass (#87)

* ubo upload added

* adding camera ubo

* add constant name

* update uniform buffer

* adding execution resources

* per pass ubo added

* fix bugs

* ubo added

* fix render pass bug

* bind set added

* adding ubo uploading

* shader binding overwrite added

* shader binding overwrite added

* add missing header

* draw updated

* ubo updated

* fix main light ubo

* pass ubo added

* lint

* fix custom pipeline window resize issue. (#88)

* fix lint

* fix assert

* remove texture1d

* fix constantMacros

* lint

* fixed: native custom pipeline graphics pipeline state leak. (#89)

* lint

* skybox added

* skip subpass input binding rewrite (#90)

* per pass descriptor set modified

* adding blit

* fix material

* fix fg get usage (#91)

* fix barrier fetch

* fix ios bug

* fix barrier

* support cc builtin overwrite

* try fix shadowMap

* refactor resources

* update blit

* add render graph binding

* fix shader bugs

* fix blit

* fix bugs

* remove unnessary barriers

* fix init

* fix addCameraQuad

* fix raster view order

---------

Co-authored-by: GengineJS <476393671@qq.com>
Co-authored-by: Zach Lee <bluesky013@126.com>
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com>
2023-02-01 17:46:34 +08:00
hyde zhou 857004bc00 [pipeline] refactor custom pipeline init (#14040) 2023-01-13 14:02:46 +08:00
hyde zhou e11bdf5775 [pipeline] update custom pipeline (#14002) 2023-01-07 12:30:44 +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
hyde zhou df9b49b539 [pipeline] update custom pipeline (#13744) 2022-12-22 19:09:48 +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
James Chen e56b4c3cb8 Fix material inspector missing elements (#13674)
* Add missing properties in EffectAsset.h for editor

* Move recordAsBool to PassUtils, IPassInfoFull::propertyIndex needs to be optional

* Add IPropertyEditorInfo struct.

* Fix macroRecordAsBool
2022-12-06 15:06:08 +08:00
江战 046a2b1378 Re-impl CC_ASSERT & CC_ASSERTF (#13588) 2022-12-05 17:12:30 +08:00
pandamicro 2486810ded Fix issue that FLOAT4 uniform validator doesn't accept quaternion (#13551) 2022-11-24 21:47:19 +08:00
pandamicro 08c7fe3956 Add pre type validator for setUniform (#13462) 2022-11-23 15:26:16 +08:00
minggo d77afc3f06 Revert "Hide destructor (#13105)" (#13121)
This reverts commit b5804b58c8.
2022-10-21 18:55:32 +08:00
minggo b5804b58c8 Hide destructor (#13105)
* hide Image destructor

* hide HttpRequest destructor

* hide TextureBufferPool destructor

* hide gfx::Buffer destructor
2022-10-20 16:35:23 +08:00
mmyduckx 57811da71a [native] type2writer:add FLOAT3 to Color case for compatiblity (#12962) 2022-10-08 10:33:42 +08:00
jk20012001 9a2dbb830d [fix] default colored texture support for effect texture cube parameters (#12697) 2022-09-07 11:49:20 +08:00
minggo d40b8739bc Merge branch 'v3.6.0' into develop_merge_v3.6 2022-07-18 10:38:14 +08:00
江战 dbe8fd35b5 Fix PassUtils parsing vec3 with single float (#12028) 2022-07-16 14:36:23 +08:00
minggo 4b8b032ad8 delete subindex function (#11667)
* delete subindex function
2022-06-23 14:53:02 +08:00
minggo f3c84376f2 remove useless log (#11653) 2022-06-23 11:50:04 +08:00
minggo f92908c37f remove uint usage (#11596)
* remove uint usage
2022-06-18 15:25:27 +08:00
James Chen b65b47c04b [v3.6][native] Cleanup code, minor changes (#11237)
* [v3.6][native] Cleanup code, minor changes
2022-05-27 09:46:04 +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
mmyduckx 204543cfd8 fix restart buffer & shader leak and add prompts (#11164)
* fix restart buffer & shader lead and add prompts
2022-05-20 16:10:40 +08:00
minggo fac5bf833a Subsystem startup shutdown (#11128)
* refactor startup/shutdown process of BuiltinResMgr
* refactor startup/shutdown process of ProgramLib
2022-05-18 11:09:55 +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
minggo 8e7669bf92 replace assert with CC_ASSERT (#10913)
* replace assert with CC_ASSERT
2022-04-29 10:18:41 +08:00
minggo 444bfe31c4 Refactor CC_NEW/CC_DELETE (#10810)
* replace CC_NEW/CC_DELETE with ccnew/delete
2022-04-21 16:39:34 +08:00
Cocos Robot bff1fbe17d [ci skip][AUTO]: Automated clang-format update: c7f0f9c103dd416e903eedda42bc1f3f9c5368cb (#10682) (#10717)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-04-11 11:11:30 +08:00
minggo cd48cf7106 Replace CCASSERT with CC_ASSERT (#10682)
* replace CCASSERT with CC_ASSEERT
2022-04-10 16:03:46 +08:00
Cocos Robot a2df4e4dbd [ci skip][AUTO]: Automated clang-format update: 771de57fc2c1edbaaf3ae94e77f9801b0379cc6c (#10469) (#10472)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-24 13:50:39 +08:00
minggo 7f4cb9e3b1 Remove string (#10469)
* replace std::string with ccstd::string
2022-03-24 11:53:10 +08:00
Cocos Robot 322cb0664b [ci skip][AUTO]: Automated clang-format update: b779f0a2e81e2dab3194eff8e850d5a8910c7c7a (#10459) (#10464)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-23 16:56:31 +08:00
minggo ccc84b06b6 replace std::unordered_map with ccstd::unordered_map (#10459)
* replace std::unordered_map with ccstd::unordered_map
2022-03-23 16:44:06 +08:00
Cocos Robot 24d84664f8 [ci skip][AUTO]: Automated clang-format update: 3de15842004cba2142ec0fecd82876d8f6a28236 (#10402) (#10424)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-21 16:04:49 +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
hyde zhou 573a1f0d7a [v3.6.0 pipeline] refactor native root.h (#10356)
* decouple native RenderPipeline
2022-03-16 16:56:18 +08:00
minggo 164d4ccc14 Rename Vector and Map (#10206)
* Vector -> RefVector
* Map -> RefMap
2022-03-02 09:56:38 +08:00
mmyduckx e52bb2bf06 add forward declaration for pipeline (#10082) 2022-02-14 09:31:00 +08:00
mmyduckx ad947efe3a add forward declaration for asset&core (#10072) 2022-02-11 14:27:33 +08:00
James Chen f6f59892af Refactor IntrusivePtr, remove reinterpret_cast (#4221)
* Refactor IntrusivePtr, remove reinterpret_cast
2022-01-26 11:57:02 +08:00
James Chen 195fa464fc Fixed using deleted Texture2D pointer. (#4178)
https://github.com/cocos-creator/3d-tasks/issues/10880
2022-01-14 20:06:24 +08:00
minggo 3ec7db4a5d Fix crash when exit (#4177)
* Device owns Sampler and TextureBarrier

* do not detele smart pointer

* destroy program lib when exit program
2022-01-14 20:06:11 +08:00
bofeng-song 07ea4d4cce remove float from IPreCompileInfoValueType & MacroValue (#4151) 2022-01-10 16:32:22 +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
Yun Hsiao Wu ea88ba33c6 codebase structure update (#3289)
* structure

* fix jsb auto binding license issue
2021-03-01 12:00:10 +08:00