hyde zhou
6cbad38241
pipeline changes after v3.7.3 ( #14998 )
2023-05-10 17:46:45 +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
Yiwen
b741bd3dd5
fix the validation errors about renderpass and swapchain ( #11945 )
...
* fix the valication error that framebuffer mismatch renderpass
2022-07-19 14:46:21 +08:00
Yiwen
00bd0f514d
Fix vk validation warning ( #11884 )
...
* fix vk offset alignment and es ds reset
2022-07-08 10:13:43 +08:00
Zeqiang Li
c61a02f807
3.6.0 barrier interface ( #11571 )
...
* gfx pipelinebarrier interface
2022-06-22 16:49:50 +08:00
Yiwen
65db37c6fe
fix pvrtc format info ( #11371 )
...
* fix pvrtc format info
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com >
2022-06-14 14:00:44 +08:00
James Chen
8f8924c3f4
fixed #10929 : Hash computation in native engine causes loss of precision, use 32 bits hash for all platforms ( #11179 )
...
* fixed #10929 : Hash computation in native engine causes loss of precision. Force use 32 bits hash for all platforms.
* More uint64_t -> ccstd:hash_t
* Some uint64_t -> uint32_t in SkeletalAnimationUtils.h/.cpp
* operator() return ccstd::hash_t now and add some comments.
* size_t -> ccstd::hash_t in StringPool.h, Font.h/.cpp
2022-05-25 13:54:57 +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
minggo
84c27e7f71
Merge branch 'v3.5.0' into v3.6.0_merge_v3.5
2022-04-24 13:41:27 +08:00
timlyeee
65a05558c2
check the existence of depthStencilTexture first. ( #10777 )
...
If exist, hash combine
2022-04-20 17:56:20 +08:00
timlyeee
72bd01f273
Combine hash with validator/agent ( #10753 )
...
While the texture is destroyed, the old validator is destroyed and new validator inited.
But framebuffer validator maintains the old one as hash is the same, so when it start the validation check, the old texture validator jumped out and assertion failed.
2022-04-14 21:37:16 +08:00
minggo
a6bf766170
Merge branch 'v3.5.0' into v3.6_merge_v3.5
2022-03-29 18:26:40 +08:00
Cocos Robot
df50878b14
[ci skip][AUTO]: Automated clang-format update: 735860a2aa285979c890bad6356b14afeff13db5 ( #10560 ) ( #10570 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-03-29 16:40:20 +08:00
minggo
1a9d49e4c6
replace std::list/std::array with ccstd::list/ccstd::array ( #10560 )
...
* replace std::list/std::array with ccstd::list/ccstd::array
2022-03-29 16:36:53 +08:00
minggo
e58dccebbd
remove CoreStd.h ( #10541 )
...
* remove CoreStd.h
2022-03-28 18:35:01 +08:00
Cocos Robot
30b7591b28
[ci skip][AUTO]: Automated clang-format update: 508dd40734e2e9e59a002f0f79482bf2831ad5d9 ( #10359 ) ( #10378 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-03-17 11:08:26 +08:00
Zeqiang Li
6cdaf450e3
fix crash by incorrect hash ---- autotest ( #10359 )
...
* fxi crash by incorrect hash
2022-03-17 10:12:51 +08:00
Yun Hsiao Wu
1d41e392d1
Merge remote-tracking branch 'origin/v3.5.0' into v3.6.0
2022-02-16 15:44:34 +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
7f24f34b22
Merge branch 'v3.5.0' into v3.6_merge_v3.5.0
2022-01-25 19:52:06 +08:00
Yun Hsiao Wu
14a17c9d22
license upgrade ( #4210 )
2022-01-24 17:18:47 +08:00
minggo
5410a48a58
Implement more logic in native ( #4131 )
...
Co-authored-by: bofeng.song <bofeng.song@chukong-inc.com >
Co-authored-by: dumganhar <dumganhar@gmail.com >
Co-authored-by: mmyduckx <308303735@qq.com >
Co-authored-by: Patrice Jiang <397136899@qq.com >
Co-authored-by: 江战 <40414978+PatriceJiang@users.noreply.github.com >
2022-01-07 18:39:40 +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
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
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
ea88ba33c6
codebase structure update ( #3289 )
...
* structure
* fix jsb auto binding license issue
2021-03-01 12:00:10 +08:00