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
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
troublemaker52025
97ea27b812
Add Linear depth for nativeEngine in v3.1 ( #3404 )
...
* fix native-engine for linearDepth
2021-04-19 14:55:45 +08:00
minggo
d22810c7a8
Merge v302 ( #3417 )
...
* fix surface flink and size issue when change its size
2021-04-16 16:07:19 +08:00
Yun Hsiao Wu
77e6f2b0f2
pipeline: constant macros ( #3394 )
2021-04-14 10:00:46 +08:00
Yun Hsiao Wu
9593a54b76
gfx: lifecyle validations ( #3341 )
...
* gfx: lifecyle validations
* better noexcept workaround
* more validations
* device layer reflection
* fix release build
2021-03-26 16:30:09 +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
Yun Hsiao Wu
d0fb6d5281
fix format
2021-02-05 16:41:01 +08:00
Yun Hsiao Wu
e0fdfef054
license upgrader
2021-02-05 14:08:22 +08:00
lawrence-liuyue
5fc7a37cd1
Hw deferred pipeline ( #3179 )
2021-02-02 22:16:53 +08:00
cary
4c0f767d2b
Extracts the shared content of the pipeline. ( #3244 )
...
* Extracts the shared content of the pipeline.
* remove ubo in forward
2021-01-23 09:35:23 +08:00
minggo
a728537098
add license ( #3165 )
2020-12-29 11:25:30 +08:00
cary
cc6aea86fd
Modify the forward rendering process and remove UIFlow. ( #3117 )
2020-12-24 16:09:06 +08:00
troublemaker52025
7ec6699e1d
Fix customize descriptor not bingding shadow map ( #3055 )
2020-11-21 22:56:04 +08:00
troublemaker52025
4cb66eac97
Refactoring shadow ubo submit for c++ ( #3049 )
2020-11-20 09:34:06 +08:00
coulsonwang
3956223365
fix pipeline define ( #3045 )
2020-11-19 09:11:37 +08:00
Yun Hsiao Wu
fb791ad01b
discrete descriptor set layout bindings ( #2920 )
2020-10-20 15:06:57 +08:00
Yun Hsiao Wu
c6103495d0
misc fixes ( #2801 )
...
* misc fixes
* fix GLES update buffer
* pipeline sync
* fix copyBuffersToTexture
* minor
2020-09-18 18:23:21 +08:00