Zach Lee
ceb7e4ae9d
feature: custom gfx command(VK) ( #14797 )
2023-04-18 10:23:43 +08:00
Zach Lee
bfe9d90051
VRS && Compute Shader Support ( #14728 )
2023-04-10 12:57:35 +08:00
pandamicro
afd22296b4
MIT license update and to new year 2023 ( #13927 )
...
* Cpp MIT license update and to date
* TS MIT license update and to date
2022-12-28 11:25:12 +08:00
bofeng-song
7c8492c668
remove unneeded code, gameActivity has been ensured the render lifecycle ( #11897 )
2022-07-08 18:20:38 +08:00
minggo
54fc7be53f
do not use align malloc ( #11844 )
...
c++17 supports create an aligned struct
2022-07-05 14:30:12 +08:00
minggo
02a1eb0f55
Use raw pointer ( #11804 )
...
* Revert "use IntrusivePtr to share object (#11729 )"
This reverts commit 8caec59711 .
* Framebuffer uses weak reference
* make doDestroy reentency
2022-07-04 10:20:07 +08:00
minggo
8caec59711
use IntrusivePtr to share object ( #11729 )
2022-06-28 18:01:47 +08:00
Zeqiang Li
c61a02f807
3.6.0 barrier interface ( #11571 )
...
* gfx pipelinebarrier interface
2022-06-22 16:49:50 +08:00
minggo
271cc5cf23
Remove some format rule ( #10919 )
...
* remove some rules
* format all codes with new format rule
2022-05-04 13:09:24 +08:00
李吉林
3457292707
refactor exit process ( #10880 )
...
* refactor exit process
* add override
* fix geometry-renderer missing in deferred pipeline
* invoke destroy directly
* fix ESLint error
* add -misc-static-assert for clang-tidy
2022-04-27 14:59:23 +08:00
minggo
84c27e7f71
Merge branch 'v3.5.0' into v3.6.0_merge_v3.5
2022-04-24 13:41:27 +08:00
minggo
444bfe31c4
Refactor CC_NEW/CC_DELETE ( #10810 )
...
* replace CC_NEW/CC_DELETE with ccnew/delete
2022-04-21 16:39:34 +08:00
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
minggo
a6bf766170
Merge branch 'v3.5.0' into v3.6_merge_v3.5
2022-03-29 18:26:40 +08:00
minggo
e58dccebbd
remove CoreStd.h ( #10541 )
...
* remove CoreStd.h
2022-03-28 18:35:01 +08:00
Yun Hsiao Wu
7aaac3c6b7
bypass job system creation if possible ( #10308 )
2022-03-21 11:23:21 +08:00
minggo
aca0a1bccb
Remove memory management ( #10125 )
...
* remove NedPooling
* remove Jealloc
* remove some macros
* move memory related macros into Memory.h
* delete MemTrack
2022-02-22 18:12:48 +08:00
Yun Hsiao Wu
efbb7c880b
resolve conflicts
2022-02-16 10:47:38 +08:00
Yun Hsiao Wu
198034ec2c
refactor access type array to access flags ( #10103 )
2022-02-16 09:56:46 +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
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
oahcy
5379e6ef35
引擎适配linux平台 ( #4035 )
2021-11-29 17:17:15 +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
李吉林
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
minggo
e14fd73506
fix compling error and review
2021-09-24 14:09:30 +08:00
minggo
ea980f509c
merge v3.3.2
2021-09-24 12:38:10 +08:00
江战
5074a5a826
V3.4.0 usec++14 ( #3898 )
...
This reverts commit fff4cc8fc94fb9b1a8424a2b89e9966184c6c4ce.
2021-09-18 13:53: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
江战
1bac46bb23
Use c++14 by default ( #3880 )
2021-09-13 10:41:27 +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
Yun Hsiao Wu
d64ab8d03b
fix command buffer agent ( #3766 )
2021-07-26 17:08:42 +08:00
Yun Hsiao Wu
5c88f24b3f
misc gfx & fg improvements ( #3703 )
2021-07-13 14:07:47 +08:00
Zeqiang Li
63ca1034a9
reduce persistent memory ( #3662 )
2021-07-09 16:00:42 +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
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