Commit Graph

51 Commits

Author SHA1 Message Date
troublemaker52025 1256656efd deferred tone-mapping and fog with float output in custom pipeline (#15968) 2023-08-16 15:16:43 +08:00
Zach Lee fa0a4fefef fix Native Pipeline with render texture. (#15913)
* fix shader block memory overwrite issue.

* fix Native Pipeline with render texture.
2023-08-11 10:10:04 +08:00
hyde zhou a541d35bfd Develop pipeline merge (#15374) 2023-06-08 16:31:51 +08:00
Jiujiang Liu 3898cf3d47 fix getUniform API bug (#15333)
Co-authored-by: James Chen <dumganhar@gmail.com>
2023-06-07 15:24:35 +08:00
李吉林 5ead7c61de delete batching (#14957)
* delete batching
2023-05-04 12:46:12 +08:00
minggo bcc581dfd7 Merge branch 'v3.7.3' into develop_merge_v3.7.3 2023-03-24 10:57:28 +08:00
江战 cfb0b74c4e Fix pass properties order in native editor (#14468)
* fix pass properties order in native editor
2023-03-14 10:26:00 +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
Zach Lee 773a09d855 fixed GLES2 DepthStencil renderbuffer binding issue. && BufferView alignment issue. (#14424) 2023-03-02 00:14:59 +08:00
Zach Lee 4672d7aad6 [fix]: Material UBO did not update when material asset configs with default value.(#14360) (#14361) 2023-02-27 11:54:49 +08:00
hyde zhou 848f5e4ac4 fix batch2d init bug (#14140) 2023-02-03 17:58:43 +08:00
hyde zhou 97b1c40941 [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 18:04:12 +08:00
hyde zhou 52bccdf738 [pipeline] refactor custom pipeline init (#14040) 2023-02-01 18:00:52 +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
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 08c7fe3956 Add pre type validator for setUniform (#13462) 2022-11-23 15:26:16 +08:00
jk20012001 ce2e7616e8 [fix] compiling error (#12709) 2022-09-07 17:45:02 +08:00
jk20012001 9a2dbb830d [fix] default colored texture support for effect texture cube parameters (#12697) 2022-09-07 11:49:20 +08:00
ChiaNing 985f4fd94c Fix pass hash when blend change (#12294)
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-08-02 16:05:24 +08:00
Yiwen 8ecfdeaf66 Correct the logic to obtain the batching scheme. (#12094) 2022-07-21 11:41:44 +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
minggo f58b01ea15 use hash combine in Pass.cpp to improve performance (#12024) 2022-07-15 22:35:28 +08:00
James Chen cb4b0014ed Fix crash if closing app in surface shader test case. (#11896) 2022-07-08 19:19:35 +08:00
minggo 926b58e546 use uint32_t for index (#11516)
* use uint32_t for index
2022-06-15 15:57:33 +08:00
minggo 12218f027b fix crash if reset texture property of a Material (#11461)
* fix crash if reset texture property of a Material
2022-06-10 20:51:20 +08:00
James Chen 8f8924c3f4 fixed #10929: Hash computation in native engine causes loss of precision, use 32 bits hash for all platforms (#11179)
* fixed #10929: Hash computation in native engine causes loss of precision. Force use 32 bits hash for all platforms.

* More uint64_t -> ccstd:hash_t

* Some uint64_t -> uint32_t in SkeletalAnimationUtils.h/.cpp

* operator() return ccstd::hash_t now and add some comments.

* size_t -> ccstd::hash_t in StringPool.h, Font.h/.cpp
2022-05-25 13:54:57 +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
James Chen 48f7c674cc boost_hash_range return size_t which is 64bit on 64bit devices, so need to cast it to uint64_t. (#11137) 2022-05-18 17:22:46 +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
bofeng-song 719315add2 fix editor to do (#10827) 2022-04-22 09:51:16 +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
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 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
bofeng-song 48d8baf3ac implement logic of debug.ts (#10070)
* implement logic of debug.ts
2022-02-10 15:32:51 +08:00
bofeng-song 0952f8f838 fix todo (#4225)
* fix todo
2022-01-26 17:54:27 +08:00
bofeng-song cb4c26b2b8 pass.cpp & SkeletalAnimationUtils.cpp synchronize with ts logic for EDITOR (#4205) 2022-01-24 18:33:58 +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
cary 1773750aa0 Change the sync of native pass to message queue. (#3785) 2021-07-30 10:14:58 +08:00
江战 4d2d4d82b5 3.3 some optimization (#3765) 2021-07-27 13:40:02 +08:00
cary 37d9e44def Optimize the synchronization of Pass. (#3628) 2021-06-23 13:39:50 +08:00
GengineJS b8f54069c0 [Add] Native scene object update function (#3638) 2021-06-22 16:41:13 +08:00
minggo c98a1251a0 Revert "[add] Native scene object update function (#3602)" (#3634)
This reverts commit 8cc944277f.
2021-06-18 18:12:50 +08:00
GengineJS 8cc944277f [add] Native scene object update function (#3602) 2021-06-18 17:34:06 +08:00