bofeng-song
91d50b2782
fix TextureCub's isRGBE can not overrided ( #10307 )
2022-03-11 11:49:42 +08:00
hyde zhou
7e68488a76
shadingScale moved from PipelineSceneData to Pipeline ( #10292 )
2022-03-10 09:57:59 +08:00
hyde zhou
f622c7b8b5
[pipeline] custom pipeline update ( #10250 )
...
* add layouts
* fix eslint error
* rendergraph creates device resources
* restore resourceGraph
* resource graph updated
* add scene interface
* layout graph updated
* stop use IntrusivePtr<gfx::Swapchain>
Co-authored-by: zxx43 <zxx43@hotmail.com >
Co-authored-by: GengineJS <476393671@qq.com >
2022-03-08 09:50:11 +08:00
hyde zhou
86ef5443e6
V3.6.0 pipeline ( #10146 )
...
* add custom render pipeline
* adding render pipeline jsb
* turn off clang-format
* tojs ini generation added
* adding render pipeline interface
* add interface
* refactoring interface
* add math
* format
* adding jsb
* revert include rule
* jsb added
* interface updated
* inheritance added
* remove dependency
* fix cleanPath namespace
* impl moved to render::impl
* remove remove_cvref_t
* enum renamed
* expects ensures renamed
* parameter name changed
* member name format changed
* impl cleaned
* functions renamed
* clang-format on
* impl cleaned
* overloaded renamed
* make range renamed
* VertexOverloaded renamed
* fix sevalue_to_native, use function specialization
* remove nodiscard
* Pipeline Builders renamed
* fix js enum naming bug
* add web pipeline
* add auto generation guard
* add descriptor interface
* fix layout name
* add DescriptorHierarchy
* LayoutGraphData renamed
* impl updated
* fix initialization
* fix member initialization
* fix GraphImpl this->
* this-> removed
* this-> removed
* Tag type renamed
* add license
* fix tag init
* rename
* layout graph renamed
* layout graph updated
* cntr updated
* adding descriptor hierarchy
* add present pass
* update jsb
* add layout graph
* change setter inheritance
* fix web-pipeline diamond inheritance problem
* cleanup
* change namespace
* adding layout graph
* add external resource type
* add factory
* adding native pipeline
* custom pipeline added
* adding UuidGraph
* uuid graph added
* adding pipeline runtime
* add uuid contains, rename addressable
* pipeline interface changed
* rendergraph completes filtering and dependencies
* Change the residency judgment
* RenderTexture changed to RenderWindow
* adding PipelineRuntime
* adding pipeline wrapper
* fix link error
* remove createPipelineRuntime
Co-authored-by: GengineJS <476393671@qq.com >
2022-03-02 13:41:15 +08:00
James Chen
f20c80e850
Remove __jsb_CCPrivateData_class and its relevant code. ( #10190 )
...
* Remove __jsb_CCPrivateData_class and its relevant code.
2022-02-28 09:56:22 +08:00
hyde zhou
94516f5343
V3.6.0 pipeline ( #10131 )
2022-02-22 09:58:51 +08:00
Yun Hsiao Wu
40b80138e0
Merge remote-tracking branch 'origin/v3.6.0' into v3.6.0
2022-02-16 16:14:32 +08:00
troublemaker52025
76af77d9b8
fix shadow merge error for v3.6.0 ( #10073 )
...
* fix shadow merge error for v3.6.0
* update
* fix ci error
* fix ci error 2
* fix ci error
* fix ci error 3
2022-02-16 12:12:45 +08:00
Yun Hsiao Wu
efbb7c880b
resolve conflicts
2022-02-16 10:47:38 +08:00
bofeng-song
7e2fce85f9
sychronize engine to native ( #10099 )
...
* sychronize engine to native according to https://github.com/cocos-creator/engine/pull/10041
2022-02-15 10:09:53 +08:00
徐兵
5f5a66a6f0
skybox optimization ( #4234 )
...
* skybox optimization
Co-authored-by: xubingbing <bingbing.xu@cocos.com >
2022-02-08 15:27:07 +08:00
James Chen
b5e0a34300
Bind BuiltinResMgr to JS. ( #4233 )
...
* findClass should find nativeObj 's real type at first.
* Only use cpp version of BuiltinResMgr now.
* Bind BuiltinResMgr to JS.
2022-02-08 10:45:24 +08:00
bofeng-song
661925d420
fix AmbientInfo public field can not export ( #4188 )
2022-01-18 10:00:12 +08:00
bofeng-song
d579a97c8b
add _skycolor, _skyIllum, _groundAlbedo for editor ( #4183 )
2022-01-17 13:53:26 +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
cdb02a37a0
fix TextureCube crash & skybox not work ( #4171 )
2022-01-14 13:38:12 +08:00
bofeng-song
1a4a6ad5f2
fix todo: ( #4149 )
...
1. only support convert integer string to integer
2. fix fogInfo sevalue_to_native of jsb_conversions_spec.cpp
3. fix ShadowsInfo sevalue_to_native of jsb_conversions_spec.cpp
4. add leak field of FogInfo & Shadows at scene.ini
5. fix todo of SkeletalAnimationUtils.h
2022-01-11 16:51:47 +08:00
James Chen
88c35244ca
Fix asset.addRef/decRef ( #4143 )
2022-01-08 13:40:30 +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
minggo
ac2045b0e0
Merge branch 'v3.5.0' into v3.4.0
2021-12-22 10:31:27 +08:00
ChiaNing
00d28992a4
remove DrawCall in DrawBatch ( #4103 )
2021-12-16 13:10:25 +08:00
Yun Hsiao Wu
5524b5c5d4
nx adaptation framework ( #4050 )
2021-12-14 15:04:57 +08:00
李吉林
b8e909a2b7
add geometry renderer ( #4086 )
...
* add geometry renderer
* fix clang-tidy
2021-12-07 18:19:03 +08:00
minggo
0db30a6523
merge develop
2021-12-07 15:26:33 +08:00
zhakesi
812825505d
fix spine jsb binding ( #4079 )
2021-12-06 09:54:23 +08:00
minggo
ac7418f1c1
fix conflict
2021-11-30 10:48:30 +08:00
李吉林
005fe503c7
add octree setting ( #4059 )
...
* add octree setting
2021-11-23 13:33:55 +08:00
GengineJS
8386790150
Restore part of pipeline code ( #4040 )
2021-11-10 15:37:29 +08:00
qiuguohua
eeb9d5c689
Merge the code of v3.3.1 platform adaptation layer into the development branch ( #3958 )
...
* 1、Merge platform adaptation layer code into the development branch
2、It passed the test in windows and ohos system
* 1、Merge platform adaptation layer code into the development branch
2、It passed the test in windows and ohos system
* 1、Fix github compile windows error
* 1、Fix github compile windows error
* 1. Adjust the code format;
2. Fix js automatic generation binding
3. Adjust github CI compilation
* 1. Adjust the code format;
2. Fix js automatic generation binding
3. Adjust github CI compilation
* Solve mac and ios compilation failure
* Fix the problem of compilation of Windows-side simulator
* 1. Adapt the simulator to a new adaptation layer;
2. Fix the compilation warning of ios, and the implicit conversion failed;
3. Fix the mac compilation error, due to the problem of adding the link identification -all_load;
* 1.Add the isDisplayStats and setDisplayStats method to the screen interface
* Fix clang-tidy compilation warning
* Fix clang-tidy compilation warning
* Repair the emulator, compatible with mac and win
* 1、Repair detailed errors, including name modification and calling method modification
2、Delete redundant files in the template directory
3、Change the vibrate interface to vibrator
4、Fix word spelling errors
* Rename interfaces to modules
* Replace CC_ASSERT with CCASSERT
* Replace CC_ASSERT with CCASSERT
Co-authored-by: qiuguohua <>
2021-10-27 10:51:02 +08:00
江战
90e6860e2f
add skip_public_fields ( #3987 )
2021-10-14 09:48:03 +08:00
李吉林
bed27fcccf
V3.4.0 occlusion query2 ( #3975 )
...
* occlusion query
Co-authored-by: lijilin <jilin.li@cocos.com >
2021-10-13 18:21:03 +08:00
Kun Lin
528b9b0b99
Update bloom ( #3970 )
...
* Update bloom
* Remove bloom pass for UI camera
2021-10-13 16:59:31 +08:00
Yun Hsiao Wu
134914b53d
fix buffer/texture info js binding ( #3981 )
2021-10-13 16:57:05 +08:00
Yun Hsiao Wu
8f8569f39e
gfx: better hashing strategies ( #3969 )
2021-10-13 16:03:58 +08:00
jk20012001
4c94f2ca56
Support HDR/LDR Light Sources v3.4.0 ( #3951 )
...
* Support HDR/LDR Light Sources
* Fix ClangTidy error
* Fix name style error
* Synchronize naming for HDR
* Fix name style and compiling errors
* Remove fpScale, make deferred and forward uniform
* Fix diffusemap binding error
Co-authored-by: pandamicro <lphuabin@gmail.com >
2021-10-12 10:47:28 +08:00
Yun Hsiao Wu
5e282a9ce5
fg: use hashmap in resource allocators ( #3962 )
...
...to handle hash collisions gracefully.
2021-10-11 15:28:03 +08:00
DolaMay
1aed070f8f
cluster native v340 code ( #3923 )
...
* cluster native v340 code
* pclint errors and review comments correct
* compile errors
* clang tidy bug fix
* cluster add enable and disable api
* add marco to switch cluster feature
* Code review: simplify fg read logic
2021-09-30 10:16:50 +08:00
ChiaNing
017f12c863
Add drawCall to UI batch ( #3912 )
...
* Add drawCall to UI batch
* fix DynamicOffsets bind bug
* remove uiphase in forward
* debug remove
* fix VK device _caps
2021-09-29 22:32:54 +08:00
Kun Lin
78ae4e587d
Bloom ( #3934 )
...
* Bloom
* Fix for code review
2021-09-29 11:44:31 +08:00
minggo
c0fa3af246
Fxaa ( #3928 )
...
* Adaptation fxaa
Co-authored-by: zhengxiangkui <476393671@qq.com >
2021-09-28 11:05:55 +08:00
江战
17a101227a
fix path ( #3927 )
2021-09-27 20:50:01 +08:00
江战
5074a5a826
V3.4.0 usec++14 ( #3898 )
...
This reverts commit fff4cc8fc94fb9b1a8424a2b89e9966184c6c4ce.
2021-09-18 13:53:58 +08:00
李吉林
fa210fa955
add octree scene manager ( #3891 )
...
* add octree scene manager
Co-authored-by: lijilin <jilin.li@cocos.com >
2021-09-17 11:20:05 +08:00
Yun Hsiao Wu
da2f03ff73
gfx: swapchain refactor ( #3751 )
...
* gfx: swapchain
* acquire/release/surface on swapchain
* fix swapchain texture creation
* acquire/present back on device
* formats are swapchain-specific
* swapchain: vk works
* enable device agent
* format fix
* update gfxdef
* fix enum decl
* pipeline adapt
* minor
* vk: compress attr locations directly in SPIR-V
* gles3 adjust
* InputAssembler owns an DrawInfo
* gles2 adapt
* texture keep track of its hash
* device cached states
* format
* glslang finalize
* buffer view adapt
* fg: subpass support
* minor
* 3.4 adapt
* profiler adapt
* buffer update frequency detection
* minor
* base commit
* swapchain works on metal
* spirv
* mtltexture issue
* remote test code
* depthtexture
* revert ifdef USE_METAL
* ios swapchain header
* fix some triple buffer issues
* resize accept surface transform
Co-authored-by: Zeqiang Li <Zeqiang-li@outlook.com >
2021-08-31 19:40:32 +08:00
lawrence-liuyue
bd98d04639
Framegraph ( #3713 )
...
* framegraph, port from dpc
* enable frame graph in deferred pipeline
* apply framegraph in deferred pipeline, compile completed
* apply framegraph in deferred pipeline, compile completed
* debug framegraph
* debug sspr
debug sspr
* debug sspr
debug sspr
* port from liuhang
* apply uiphase
* fix CI bugs
* Delete jsb_pipeline_auto.cpp
* Delete jsb_pipeline_auto.h
* Revert "Delete jsb_pipeline_auto.h"
This reverts commit 224b1df83d3d69e65846ff2ca11ce8b804205c84.
* Revert "Delete jsb_pipeline_auto.cpp"
This reverts commit 16cb80ac7a7c5196c711261edd537555eff42da1.
* jsb_pipeline_auto
* fix clangtidy
* fix clangtidy
* fix clang-tidy
* fix clang-tidy
* add comments in Deferredpipeline.h
* Update pipeline.ini
* add transparent pass, add depth in postprocesspass
* fix compile error in mac/android
* Update LightingStage.cpp
* fix render tager bugs
* delete useless code
* fix clang-tidy
* fix viewport bugs in gles
2021-08-05 16:23:59 +08:00
GengineJS
7becb0aecc
update scene.ini ( #3794 )
2021-08-03 13:55:01 +08:00
GengineJS
d4a7f06068
Fix the incorrect ModelBounds of BakedSkinningModel ( #3791 )
2021-08-02 17:06:35 +08:00
GengineJS
3e0e111b72
Fixed physX rotation not working ( #3774 )
2021-07-29 18:30:28 +08:00
GengineJS
01c576e735
Native worldTransform synchronization ( #3764 )
2021-07-26 15:21:27 +08:00
GengineJS
274bb09165
Modify the sharing method of node changeFlag ( #3746 )
2021-07-21 00:12:23 +08:00