Commit Graph

6 Commits

Author SHA1 Message Date
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
Yun Hsiao Wu 5c88f24b3f misc gfx & fg improvements (#3703) 2021-07-13 14:07:47 +08:00
minggo 028ec8443d Misc (#3683)
* improve codes:
1. remove unneeded codes
2. fix potential memory leak
2021-07-05 10:21:01 +08:00
Yun Hsiao Wu a42be36e36 gfx: validator (#3337)
* gfx: validator

* replace c-style casts

regexes used:
(?<!>)\(\(([\w\s\*]+?)\)([\w\[\]\->.:]+)\)
\[\(\w+\)(Feature::\w+)\]
2021-03-22 16:15:31 +08:00
Yun Hsiao Wu 6b197934ff basic framegraph (#3303) 2021-03-11 11:15:09 +08:00