Commit Graph

8 Commits

Author SHA1 Message Date
bofeng-song d8bdec5162 fix android crash due to eglSurface unavailable (#10621)
* skip setRendererAvailable &  isRendererAvailable (#10482)

* fix android crash due to eglSurface unavailable
2022-04-01 14:52:46 +08:00
Yun Hsiao Wu 14a17c9d22 license upgrade (#4210) 2022-01-24 17:18:47 +08:00
Yun Hsiao Wu b213048245 fix forward pass initial layout (#4081)
* fix forward pass initial layout

* fix swapchain props not propagated back

* reset to default surface whenever binding contexts
2021-12-06 09:59:58 +08:00
Yun Hsiao Wu 34c4bf7373 draw profiler only once 2021-11-11 15:56:43 +08:00
Yun Hsiao Wu 14d0d52576 agent: sync when destroying surface 2021-11-11 15:56:43 +08:00
Yun Hsiao Wu 30437372f6 gfx: leave resize logic to the underlying backends
For there is no unified way to reliably manage the process across
backends. Right from the beginning the input information from system
event is just not reliable enough to be used as ground truth.

This also means the asynchronicity between device & render threads will break
whenever a resize event happens.
2021-11-11 15:56:43 +08:00
Yun Hsiao Wu d4441705e6 unify gfx resize event (#3875) 2021-09-09 16:00:21 +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