hyde zhou
8dfcbabeb0
[V3.6.0 gfx] auto barrier added ( #12118 )
...
auto barrier added.
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com >
2022-07-21 23:21:23 +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
Yiwen
cca281e483
fix copybufferstotexture ( #11860 )
...
* fix copybufferstotexture
2022-07-05 22:24:23 +08:00
Yiwen
84e09c9e42
add the support to upload subregions from buffers to texture ( #11276 )
...
* Add copy buffer to texture
2022-06-20 17:23:00 +08:00
James Chen
b65b47c04b
[v3.6][native] Cleanup code, minor changes ( #11237 )
...
* [v3.6][native] Cleanup code, minor changes
2022-05-27 09:46:04 +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
minggo
444bfe31c4
Refactor CC_NEW/CC_DELETE ( #10810 )
...
* replace CC_NEW/CC_DELETE with ccnew/delete
2022-04-21 16:39:34 +08:00
hyde zhou
019d35b22e
[V3.5.0 deferred pipeline] fix vulkan crash problem ( #10809 )
...
* disable post-process alpha blend
* effects updated
* effects updated
* vk fix added
* disable gles3 fbf
* fix typo
* format and add comments
* add TODO
* fix TODO
2022-04-20 18:26:48 +08:00
minggo
cd48cf7106
Replace CCASSERT with CC_ASSERT ( #10682 )
...
* replace CCASSERT with CC_ASSEERT
2022-04-10 16:03:46 +08:00
minggo
e58dccebbd
remove CoreStd.h ( #10541 )
...
* remove CoreStd.h
2022-03-28 18:35:01 +08:00
minggo
ee5636c573
Replace map with unordered_map ( #10501 )
...
* replace ccstd::map with ccstd::unordered_map
2022-03-28 11:49:17 +08:00
minggo
ccc84b06b6
replace std::unordered_map with ccstd::unordered_map ( #10459 )
...
* replace std::unordered_map with ccstd::unordered_map
2022-03-23 16:44:06 +08:00
Cocos Robot
568b9b9910
[ci skip][AUTO]: Automated clang-format update: b5915aa03b753a6e67f09d03980608e3cdce2887 ( #10442 ) ( #10448 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-03-22 18:12:49 +08:00
minggo
4ef2fdea21
repalce std::map with ccstd::map ( #10442 )
2022-03-22 18:05:31 +08:00
Cocos Robot
d3b752a2cd
[ci skip][AUTO]: Automated clang-format update: e59d6899c77798ee22b464ef7f9f43853bcd2fd8 ( #10427 ) ( #10441 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-03-22 15:55:36 +08:00
minggo
2379892c02
Unify stl ( #10427 )
...
* replace std::deque and std::queue
* replace std::unordered_set
* replace std::queue, std::deque and std::unordered_set
2022-03-22 14:00:36 +08:00
Cocos Robot
24d84664f8
[ci skip][AUTO]: Automated clang-format update: 3de15842004cba2142ec0fecd82876d8f6a28236 ( #10402 ) ( #10424 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-03-21 16:04:49 +08:00
minggo
34bf14269c
unify stl ( #10402 )
...
* add ccstd::vector
* replace cc::vector with ccstd::vector
* replace std::vector with ccstd::vector
* do not include <vector>
2022-03-21 15:55:02 +08:00
Cocos Robot
c3f2f4a1cb
[ci skip][AUTO]: Automated clang-format update: 3b49861e5f ( #10261 ) ( #10267 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-03-09 13:38:22 +08:00
Cocos Robot
25399bc1a9
[ci skip][AUTO]: Automated clang-format update: bbb83c366fce82c1d817e53907a8cdffdccd5b41 ( #10096 ) ( #10224 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-03-02 10:18:31 +08:00
Yiwen
b2ec8b022f
select mipmap levels dynamically ( #10096 )
...
* draft
* fix some stupid bugs introduced in the lase commit
* fixed bug when init webgl's texture.
* draft
* fix some bugs
* fix some warnings
* fix undefined type cast
* For Vulkan device, query the storage feature through optimal tiling instead of linear tiling.
* fix some bugs appear when resize texture, clean the changes. all tests passed.
* remove debug codes, improve performance, correct the framebuffer size.
* make some input parameters readonly
* Make the gfx function's parameter's access priority the same as native engine
* remove uncessary members and interface for ES3, move getGLSampler into IWebGL2GPUSampler, delete WebGL2CmfFuncCreateSampler...
2022-03-02 10:15:34 +08:00
Yun Hsiao Wu
5dab5da5bf
vk: fix android 12 crash ( #10158 )
2022-02-23 11:23:17 +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
minggo
1552345596
Merge branch 'v3.4.2' into v3.5.0_merge_v3.4.2
...
Conflicts:
cocos/platform/android/jni/JniCocosActivity.cpp
cocos/platform/apple/JsbBridgeWrapper.mm
cocos/platform/ohos/jni/JniCocosAbility.cpp
cocos/renderer/gfx-metal/MTLCommandBuffer.mm
external/config.json
2022-01-24 15:01:01 +08:00
Yun Hsiao Wu
a360e4390a
gfx: refactor binding mappings ( #4195 )
...
* gfx: refactor binding mappings
* fg: fix scissor merge
* fix genbindings on PyYAML 6.0+
2022-01-21 09:43:55 +08:00
DolaMay
b9babc391c
Fix Lighting stage feedback loop ( #4157 )
...
* fix cluster check bugs
* Position Delete & Normal Compress
* Fix Lighting stage feedback loop
2022-01-12 14:36:49 +08:00
minggo
ac2045b0e0
Merge branch 'v3.5.0' into v3.4.0
2021-12-22 10:31:27 +08:00
Yun Hsiao Wu
5524b5c5d4
nx adaptation framework ( #4050 )
2021-12-14 15:04:57 +08:00
Yun Hsiao Wu
bf97459a92
fix attachment layout for partial clear ( #4097 )
2021-12-09 18:32:55 +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
Yun Hsiao Wu
e630581de0
fix swapchain framebuffer rebuild ( #4056 )
2021-11-19 15:21:19 +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
Yun Hsiao Wu
0e713cb6a4
render area affects viewport only ( #3992 )
...
* more validations
* render area affects viewport only
2021-10-19 18:26:13 +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
江战
b5a846de86
save ( #3944 )
2021-09-30 09:09:26 +08:00
Yun Hsiao Wu
27e5a5630f
fix orientation change ( #3940 )
2021-09-29 14:13:16 +08:00
Yun Hsiao Wu
23a9d75bee
fg: present with move if possible ( #3919 )
...
* fg: present with move if possible
* fix ia state cache
2021-09-26 17:37:28 +08:00
江战
5074a5a826
V3.4.0 usec++14 ( #3898 )
...
This reverts commit fff4cc8fc94fb9b1a8424a2b89e9966184c6c4ce.
2021-09-18 13:53:58 +08:00
Yun Hsiao Wu
3d1b6f9835
misc fixes ( #3895 )
2021-09-17 11:42:19 +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
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
Yun Hsiao Wu
2056271bac
misc pipeline fixes ( #3811 )
2021-08-10 09:49:18 +08:00
Kun Lin
1fa3f8df51
Fix for sampleCounts calculation ( #3734 )
...
Fix the bug that the sampleCounts is wrong when the renderpass only has color attachment
2021-07-19 12:47:11 +08:00