Cocos Robot
b199d94e80
[ci skip][AUTO]: Automated clang-format update: ec29c5a897ca14592268b172bab60ea3cd37f5a0 ( #10541 ) ( #10549 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-03-28 18:45:36 +08:00
minggo
e58dccebbd
remove CoreStd.h ( #10541 )
...
* remove CoreStd.h
2022-03-28 18:35:01 +08:00
minggo
7f4cb9e3b1
Remove string ( #10469 )
...
* replace std::string with ccstd::string
2022-03-24 11:53:10 +08:00
李吉林
6c935352dd
geometry renderer refactor ( #10444 )
2022-03-22 17:44:39 +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
李吉林
8b611affa2
V3.6.0 font debug profiler ( #10387 )
...
* add Font&DebugRender&Profiler
* add profiler for metal
* fix profiler review problem
2022-03-21 11:41:54 +08:00
hyde zhou
978ff4706d
Pipeline removed from PipelineSceneData ( #10297 )
2022-03-10 11:22:52 +08:00
hyde zhou
7e68488a76
shadingScale moved from PipelineSceneData to Pipeline ( #10292 )
2022-03-10 09:57:59 +08:00
hyde zhou
02e3738302
[pipeline] refactor RenderPipeline and PipelineSceneData interface ( #10238 )
...
* move interface onGlobalPipelineStateChanged from PipelineSceneData to Pipeline
2022-03-04 16:43:29 +08:00
hyde zhou
675dc0c853
V3.6.0 pipeline decouple GlobalDescriptorSetManager from RenderPipeline ( #10227 )
2022-03-03 11:31:20 +08:00
mmyduckx
e52bb2bf06
add forward declaration for pipeline ( #10082 )
2022-02-14 09:31:00 +08:00
minggo
e1822484de
Merge branch 'v3.5.0' into v3.6_merge_v3.5
2022-02-08 17:48:25 +08:00
James Chen
f6f59892af
Refactor IntrusivePtr, remove reinterpret_cast ( #4221 )
...
* Refactor IntrusivePtr, remove reinterpret_cast
2022-01-26 11:57:02 +08:00
minggo
7f24f34b22
Merge branch 'v3.5.0' into v3.6_merge_v3.5.0
2022-01-25 19:52:06 +08:00
Yiwen
8e81f9cfdb
add a new interface to query format feature info ( #4169 )
...
* create a seperated branch to solve the Issue 8203
* Add format feature for query
* fix bugs and add formatFeature info for metal backend.
* 1. fix some bugs; 2. correct some condition judgements; 3. remove some uncessary comments;
* fix a bug of textureExclusive, fix some typos.
* clean the code, correct some formatFeatures.
* fix bugs in metal backend, fix bugs found on windows.
* Use a proper log funciton in DeviceValidator. Fix code format.
* fix perfect-forwarding in CondVar interface
2022-01-25 19:02:33 +08:00
Yun Hsiao Wu
14a17c9d22
license upgrade ( #4210 )
2022-01-24 17:18:47 +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
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
c0bdd3c0d8
Merge branch 'v3.4.1' into merge_v3.4.1
...
Conflicts:
cocos/bindings/event/EventDispatcher.cpp
cocos/platform/android/jni/JniCocosActivity.cpp
cocos/platform/apple/JsbBridge.mm
cocos/platform/java/jni/JniCocosOrientationHelper.cpp
cocos/platform/win32/CanvasRenderingContext2D-win32.cpp
2022-01-07 18:36:14 +08:00
jk20012001
db9b17a45e
Fix #10538 : Android+WebGL PS struct variables has mediump precision ( #4120 )
2021-12-24 11:01:58 +08:00
李吉林
b8e909a2b7
add geometry renderer ( #4086 )
...
* add geometry renderer
* fix clang-tidy
2021-12-07 18:19:03 +08:00
Yun Hsiao Wu
34c4bf7373
draw profiler only once
2021-11-11 15:56:43 +08:00
Yun Hsiao Wu
70f01edc0d
fix fg gc bug
2021-11-11 15:56:43 +08:00
Yun Hsiao Wu
a297dea9b6
fix cluster demo on vk
2021-11-11 15:56:43 +08:00
Yun Hsiao Wu
03aed7783f
fg.gc at pipeline destroy
2021-11-11 15:56:43 +08:00
GengineJS
2aa0db788b
Solve the problem of batched buffer memory leak ( #4023 )
...
* Solve the problem of batched buffer memory leak
* update batchedbuffer
2021-11-01 18:28:24 +08:00
lawrence-liuyue
55017b51be
Sspr envmap ( #4021 )
...
* sspr use envmap
* sspr use envmap update
* Update LightingStage.cpp
* DeferredPipeline: enable main light ShadowMap
* position reconstruction in reflector pass
* sspr denoise envmap
* use envmap in sspr when envmap is enabled
2021-11-01 18:15:17 +08:00
GengineJS
ea219cc323
fbo scale > 1, profiler misalignment problem and bloom viewport setti… ( #4001 )
...
* fbo scale > 1, profiler misalignment problem and bloom viewport setting error problem
* To optimize the pipeline sampler
* Change renderArea to static
* update renderarea
2021-10-22 19:19:57 +08:00
Yun Hsiao Wu
dbcb157efb
misc gfx fixes ( #3991 )
...
* better hashing strat
* gfx: unify states hash
* vk: upload texture in multiple chunks if needed
* gfx: states lifecycle management
2021-10-19 14:14:46 +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
jk20012001
33974aeaef
Revert clear color linear conversion in HDR ( #3979 )
2021-10-13 16:27:13 +08:00
Yun Hsiao Wu
8f8569f39e
gfx: better hashing strategies ( #3969 )
2021-10-13 16:03:58 +08:00
GengineJS
a1d63f56ec
Pipeline custom zoom fbo size ( #3964 )
...
* ForwardPipeline custom zoom fbo size
* DeferredPipeline custom zoom fbo size
2021-10-12 14:48:50 +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
lawrence-liuyue
42bddf6ce4
Enable Subpass in deferred pipeline ( #3942 )
...
* enable subpass in deferred pipeline
* subpass bug fix
* Update GbufferStage.cpp
* Update GbufferStage.cpp
* Update LightingStage.cpp
2021-10-03 17:22:46 +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
Yun Hsiao Wu
27e5a5630f
fix orientation change ( #3940 )
2021-09-29 14:13:16 +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
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
troublemaker52025
a2e3831839
fix instance vb memory leak for v3.3.0 ( #3695 )
2021-07-13 11:02:36 +08:00
minggo
43c288196e
Merge v3.1.2 ( #3691 )
...
* add jsb binding for v3.1.2 (#3611 )
* update (#3615 )
* optimize cleanTracks method (#3620 )
* Fix setMaterial memory leak (#3622 )
* fix RenderAdditiveLightQueue memory leaks for v3.1.2 (#3616 )
* fix shadows GFXBuffer memory leaks for v3.1.2 (#3630 )
* [ci skip][AUTO]: updating jsbinding automatically: dea52c7b (#3633 )
Co-authored-by: cocos-robot <engine-deploy@cocos.com >
* fix erase shared body (#3635 )
* Native PCF change sync to native-engine for v3.1.2 (#3652 )
* support getAABB and getBoundingShpere (#3563 ) (#3671 )
* fix compiling error
Co-authored-by: troublemaker52025 <troublemaker52025@outlook.com >
Co-authored-by: mmyduckx <308303735@qq.com >
Co-authored-by: wangyuzhi233 <78699242+wangyuzhi233@users.noreply.github.com >
Co-authored-by: Cocos Robot <48829427+cocos-robot@users.noreply.github.com >
Co-authored-by: cocos-robot <engine-deploy@cocos.com >
Co-authored-by: jiaxin.lai <goodlaijiaxin@qq.com >
2021-07-13 09:43:25 +08:00
minggo
30db2bcbda
merge v3.12 into v 3.3
2021-06-10 17:33:22 +08:00
troublemaker52025
b864e70d9d
Add global descriptor set manager for v3.1.2 ( #3606 )
2021-06-10 09:49:16 +08:00
cary
f406185c87
Merge SSPR to v3.3. ( #3601 )
...
* support SSPR by hw
Co-authored-by: dddpppccc <291274416@qq.com >
2021-06-09 15:31:42 +08:00
cary
d77dbb3a53
implement scene management in native( #3584 )
2021-06-02 17:22:33 +08:00
江战
8e2799c945
Fix pipeline destroy ( #3486 )
...
revert bad part in #3479
2021-04-28 21:32:15 +08:00
江战
2068998372
[bugfix] Pipeline use after free ( #3479 )
2021-04-28 15:18:59 +08:00