Cocos Robot
25399bc1a9
[ci skip][AUTO]: Automated clang-format update: bbb83c366fce82c1d817e53907a8cdffdccd5b41 ( #10096 ) ( #10224 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-03-02 10:18:31 +08:00
Yiwen
b2ec8b022f
select mipmap levels dynamically ( #10096 )
...
* draft
* fix some stupid bugs introduced in the lase commit
* fixed bug when init webgl's texture.
* draft
* fix some bugs
* fix some warnings
* fix undefined type cast
* For Vulkan device, query the storage feature through optimal tiling instead of linear tiling.
* fix some bugs appear when resize texture, clean the changes. all tests passed.
* remove debug codes, improve performance, correct the framebuffer size.
* make some input parameters readonly
* Make the gfx function's parameter's access priority the same as native engine
* remove uncessary members and interface for ES3, move getGLSampler into IWebGL2GPUSampler, delete WebGL2CmfFuncCreateSampler...
2022-03-02 10:15:34 +08:00
minggo
f08555248f
fix conflict
2022-01-24 17:23:03 +08:00
Yun Hsiao Wu
14a17c9d22
license upgrade ( #4210 )
2022-01-24 17:18:47 +08:00
Yun Hsiao Wu
8f8569f39e
gfx: better hashing strategies ( #3969 )
2021-10-13 16:03:58 +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
Yun Hsiao Wu
89131fad2d
GL: better subpass support ( #3887 )
...
* vk: better subpass dependency deduction
* GL: better subpass support
* uint -> uint32_t
* officially make viewport/scissor dynamic by default
* gfx: states store hashes
* gfx: defend against usages after destroy
2021-09-16 09:43:26 +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
Yun Hsiao Wu
6eedb24f9f
gfx: object id / typed id ( #3508 )
...
* unified objectID/typedID
* record command buffers for validation
* update auto fix doc
2021-05-10 15:07:31 +08:00
Yun Hsiao Wu
338f99141a
fix memory usage statistics
2021-05-08 19:03:30 +08:00
Yun Hsiao Wu
e1c240f2d0
Clang-Tidy adaptations ( #3379 )
...
* gfx: CommandBuffer.draw accept DrawInfo
* clang-tidy config
* tidy adapt
* enable function name check
* better workflow
2021-04-12 09:41:28 +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
8034bd59d8
[chore] gfx layer adjustments ( #3323 )
...
* [chore] move common routines to gfx base
* [chore] remove device pointer inside every gfx resources
* [chore] file structure
* gfx: empty backend
* [chore] device creator abstraction
2021-03-19 16:24:43 +08:00
Yun Hsiao Wu
ab32b3083e
vk: update barrier manager ref on destroy ( #3304 )
...
* vk: update barrier manager ref on destroy
2021-03-09 15:55:50 +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