pandamicro
baafb1f4d3
Revert "V3.5.1 no window ( #11016 )" ( #11071 )
...
This reverts commit bd1c1e0088 .
2022-05-14 10:20:44 +08:00
yangchao
bd1c1e0088
V3.5.1 no window ( #11016 )
2022-05-12 09:43:46 +08:00
yangchao
e9e47b9dba
do not create window in server mode ( #10161 )
...
* add no window impl
* add empty win impl file
2022-02-24 14:41:04 +08:00
Yun Hsiao Wu
198034ec2c
refactor access type array to access flags ( #10103 )
2022-02-16 09:56:46 +08:00
Yun Hsiao Wu
14a17c9d22
license upgrade ( #4210 )
2022-01-24 17:18:47 +08:00
Yun Hsiao Wu
5524b5c5d4
nx adaptation framework ( #4050 )
2021-12-14 15:04:57 +08:00
minggo
ac7418f1c1
fix conflict
2021-11-30 10:48:30 +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
2984594f96
gfx: onAcquire callback ( #4038 )
2021-11-11 10:15:26 +08:00
李吉林
8d96e25cd6
add no wait query for vk ( #4010 )
...
* add no wait query for vk
* rename resetQuery and completeQuery
* fix warning
* add forWait for query
* rename to vkPool
2021-10-28 18:21:06 +08:00
Yun Hsiao Wu
ed77f18027
misc fixes ( #4013 )
...
* sampler wrap mode validation
* fg: fewer hashing per frame
* better interface names for query pool
* auto update fbo after rt resize
so that the framegraph reuse logic can work
2021-10-28 09:45:38 +08:00
李吉林
859974a4ca
V3.4.0 metal occlusion query ( #3993 )
...
* add occlusion query for metal and defer
Co-authored-by: lijilin <jilin.li@cocos.com >
2021-10-19 18:26:49 +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
Yun Hsiao Wu
8f8569f39e
gfx: better hashing strategies ( #3969 )
2021-10-13 16:03:58 +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
ref-ptr
d7181c8dc2
Add api to copy texture to cpu memory ( #3710 )
2021-07-15 10:26:50 +08:00
Yun Hsiao Wu
d7db4dc817
gfx: resolve attachments ( #3684 )
2021-07-06 14:02:59 +08:00
Yun Hsiao Wu
b2fe7ba5c9
gfx: sRGB texture support ( #3619 )
2021-06-17 18:10:06 +08:00
Zeqiang Li
219ec21abf
remove nativeSize() interface ( #3590 )
2021-06-09 09:54:55 +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
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
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
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