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
444bfe31c4
Refactor CC_NEW/CC_DELETE ( #10810 )
...
* replace CC_NEW/CC_DELETE with ccnew/delete
2022-04-21 16:39:34 +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
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
71288fcf7a
[ci skip][AUTO]: Automated clang-format update: aed8a54418a115b3e3ec8c3d69be3498817a0043 ( #10387 ) ( #10412 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-03-21 13:47:58 +08:00
李吉林
8b611affa2
V3.6.0 font debug profiler ( #10387 )
...
* add Font&DebugRender&Profiler
* add profiler for metal
* fix profiler review problem
2022-03-21 11:41:54 +08:00
Yun Hsiao Wu
40b80138e0
Merge remote-tracking branch 'origin/v3.6.0' into v3.6.0
2022-02-16 16:14:32 +08:00
troublemaker52025
76af77d9b8
fix shadow merge error for v3.6.0 ( #10073 )
...
* fix shadow merge error for v3.6.0
* update
* fix ci error
* fix ci error 2
* fix ci error
* fix ci error 3
2022-02-16 12:12:45 +08:00
Yun Hsiao Wu
efbb7c880b
resolve conflicts
2022-02-16 10:47:38 +08:00
mmyduckx
e52bb2bf06
add forward declaration for pipeline ( #10082 )
2022-02-14 09:31:00 +08:00
minggo
0567b413c0
fix compiling error
2022-02-09 11:11:10 +08:00
minggo
e1822484de
Merge branch 'v3.5.0' into v3.6_merge_v3.5
2022-02-08 17:48:25 +08:00
minggo
7f24f34b22
Merge branch 'v3.5.0' into v3.6_merge_v3.5.0
2022-01-25 19:52:06 +08:00
Yiwen
8e81f9cfdb
add a new interface to query format feature info ( #4169 )
...
* create a seperated branch to solve the Issue 8203
* Add format feature for query
* fix bugs and add formatFeature info for metal backend.
* 1. fix some bugs; 2. correct some condition judgements; 3. remove some uncessary comments;
* fix a bug of textureExclusive, fix some typos.
* clean the code, correct some formatFeatures.
* fix bugs in metal backend, fix bugs found on windows.
* Use a proper log funciton in DeviceValidator. Fix code format.
* fix perfect-forwarding in CondVar interface
2022-01-25 19:02:33 +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
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
troublemaker52025
7bf2fc0fba
merge valid punctual light culling for v3.4.0 ( #4048 )
...
* merge valid punctual light culling for v3.4.0
2021-11-18 11:18:02 +08:00
Yun Hsiao Wu
a297dea9b6
fix cluster demo on vk
2021-11-11 15:56:43 +08:00
troublemaker52025
e6b4ba89fb
Using float texture function for v3.4.0 ( #4002 )
2021-10-22 15:37:28 +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
troublemaker52025
a9d6d73425
fix close window crash for v3.4.0 ( #3954 )
2021-10-08 15:45:06 +08:00
troublemaker52025
666b8cb0c0
fix multi-light source rendering translucent material for v3.4.0 ( #3910 )
...
* fix merge error
* update
* update ds to globalDS
* safe destroy
* fix ci error
* fix ci error
2021-09-28 18:00:17 +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
troublemaker52025
b419fa958c
Culling performance optimization for v3.4.0 ( #3909 )
...
* matShadowViewInv is matShadowTrans
2021-09-23 18:00:26 +08:00
江战
5074a5a826
V3.4.0 usec++14 ( #3898 )
...
This reverts commit fff4cc8fc94fb9b1a8424a2b89e9966184c6c4ce.
2021-09-18 13:53:58 +08:00
江战
1bac46bb23
Use c++14 by default ( #3880 )
2021-09-13 10:41:27 +08:00
troublemaker52025
cc9f23ce25
fix no shadow scene error for v3.3.1 ( #3879 )
2021-09-10 14:26:44 +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
jk20012001
36a52f932b
fix spotlight shadow matrix, lineardepth, packing mode, selfbias error ( #8483 ) ( #3834 )
...
* fix spotlight shadow matrix, lineardepth, selfbias error (#8483 )
2021-08-17 17:27:46 +08:00
troublemaker52025
3e568df2ed
fix shadow problem for v3.3.0 ( #3674 )
2021-07-14 09:26:23 +08:00
minggo
43c288196e
Merge v3.1.2 ( #3691 )
...
* add jsb binding for v3.1.2 (#3611 )
* update (#3615 )
* optimize cleanTracks method (#3620 )
* Fix setMaterial memory leak (#3622 )
* fix RenderAdditiveLightQueue memory leaks for v3.1.2 (#3616 )
* fix shadows GFXBuffer memory leaks for v3.1.2 (#3630 )
* [ci skip][AUTO]: updating jsbinding automatically: dea52c7b (#3633 )
Co-authored-by: cocos-robot <engine-deploy@cocos.com >
* fix erase shared body (#3635 )
* Native PCF change sync to native-engine for v3.1.2 (#3652 )
* support getAABB and getBoundingShpere (#3563 ) (#3671 )
* fix compiling error
Co-authored-by: troublemaker52025 <troublemaker52025@outlook.com >
Co-authored-by: mmyduckx <308303735@qq.com >
Co-authored-by: wangyuzhi233 <78699242+wangyuzhi233@users.noreply.github.com >
Co-authored-by: Cocos Robot <48829427+cocos-robot@users.noreply.github.com >
Co-authored-by: cocos-robot <engine-deploy@cocos.com >
Co-authored-by: jiaxin.lai <goodlaijiaxin@qq.com >
2021-07-13 09:43:25 +08:00
Yun Hsiao Wu
d7db4dc817
gfx: resolve attachments ( #3684 )
2021-07-06 14:02:59 +08:00
minggo
2e364edd24
merge v3.2 to v3.3
2021-06-22 17:38:07 +08:00
Zeqiang Li
839ed8e24f
shadow renderpass reuse logic ( #3605 )
2021-06-10 09:49:33 +08:00
cary
f406185c87
Merge SSPR to v3.3. ( #3601 )
...
* support SSPR by hw
Co-authored-by: dddpppccc <291274416@qq.com >
2021-06-09 15:31:42 +08:00
cary
d77dbb3a53
implement scene management in native( #3584 )
2021-06-02 17:22:33 +08:00
troublemaker52025
f24e3281cf
dirty shadow map when size changed for v3.3 ( #3529 )
2021-05-21 17:15:58 +08:00
Yun Hsiao Wu
655b85b708
remove ad-hoc interfaces from device ( #3498 )
2021-04-29 22:05:28 +08:00
troublemaker52025
730a58687b
using COLOR_HALF_FLOAT ( #3496 )
...
* using COLOR_HALF_FLOAT
2021-04-29 20:14:09 +08:00
troublemaker52025
d13d27ac63
Fix shadow map texture memory leaks for v3.1-release ( #3470 )
2021-04-26 09:44:42 +08:00
troublemaker52025
b606a52204
fix mini game platform shadow not display for v3.1 ( #3456 )
...
* fix mini game platform shadow not display for v3.1
* only use texture half float
2021-04-23 13:50:18 +08:00
troublemaker52025
68a100f035
fix shadowMap merged error ( #3444 )
2021-04-22 09:54:22 +08:00
GengineJS
c61e064ee1
[Feature] Optimize the shadow collect process of shadowMap ( #3422 )
2021-04-19 19:02:45 +08:00
troublemaker52025
97ea27b812
Add Linear depth for nativeEngine in v3.1 ( #3404 )
...
* fix native-engine for linearDepth
2021-04-19 14:55:45 +08:00
troublemaker52025
e59d7b4c98
fix nativeEngine shadow effect not display for v3.1 ( #3403 )
...
* fix nativeEngine shadow effect not display for v3.1
2021-04-15 09:42:12 +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
Yun Hsiao Wu
defdc8d5b0
Merge branch 'v3.1' of https://github.com/cocos-creator/engine-native into device-proof
2021-02-07 10:33:25 +08:00