Commit Graph

10 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
Yun Hsiao Wu
5c88f24b3f misc gfx & fg improvements (#3703) 2021-07-13 14:07:47 +08:00
Yun Hsiao Wu
1ebe420662 structure adjustments (#3532) 2021-06-02 09:39:13 +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
56bef4aec0 GLES: framebuffer fetch 2021-05-08 19:03:30 +08:00
Yun Hsiao Wu
90f345b768 format & type fixes (#3428)
* separate script for windows

* buffer.update const qualifier

* fix ES2 MRT supprot

* vk: subpass support

* better enum operators
2021-04-19 22:23:23 +08:00
Yun Hsiao Wu
2913d86720 fix android background event for device thread (#3411) 2021-04-16 09:51:23 +08:00
Yun Hsiao Wu
77e6f2b0f2 pipeline: constant macros (#3394) 2021-04-14 10:00:46 +08:00
Yun Hsiao Wu
f5710c0679 better docs (#3392) 2021-04-12 14:49:25 +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