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
Zach Lee
699fdfad90
Feat: Expires bufferView after resizing it's source buffer. ( #12869 )
2022-09-27 11:50:37 +08:00
Yiwen
8b4d8ebc45
Fix pipeline dangling ptr ( #12369 )
...
* fix the dangling ptr problem in pipeline. Dont rely on the destroy order of jsb, it's not stable and any assumption on destruction order will introduce potential error.
2022-08-16 13:47:42 +08:00
Yiwen
e40b92972e
fix the bug that game will crash on exit when using deferred pipeline ( #12216 )
2022-07-28 10:52:02 +08:00
jk20012001
402cf1602a
code style: rename spotlightingmap->spotshadowmap ( #11800 )
2022-07-01 16:17:52 +08:00
James Chen
174ba0eff2
Add macros: CC_USE_GEOMETRY_RENDERER and CC_USE_DEBUG_RENDERER to control these debugging features. ( #11740 )
2022-06-30 10:25:02 +08:00
hyde zhou
cedc01c575
use uint32_t instead of uint ( #11598 )
...
* use uint32_t instead of uint
2022-06-18 18:47:45 +08:00
李吉林
1e34d3551a
V3.6.0 geometry compatibility ( #11393 )
...
* compatibility for geometry renderer
* add deprecated.ts
* add empty implementation in web-pipeline
* ts lint
2022-06-08 11:11:10 +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
444bfe31c4
Refactor CC_NEW/CC_DELETE ( #10810 )
...
* replace CC_NEW/CC_DELETE with ccnew/delete
2022-04-21 16:39:34 +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
hyde zhou
02e3738302
[pipeline] refactor RenderPipeline and PipelineSceneData interface ( #10238 )
...
* move interface onGlobalPipelineStateChanged from PipelineSceneData to Pipeline
2022-03-04 16:43:29 +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
mmyduckx
e52bb2bf06
add forward declaration for pipeline ( #10082 )
2022-02-14 09:31:00 +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
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
DolaMay
5321d81d95
Position Delete & Normal Compress: V3.4.1 native ( #4135 )
...
* fix cluster check bugs
* Position Delete & Normal Compress
2022-01-07 22:56:18 +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
qiuguohua
063a79df84
Sync v3.4 to develop ( #270 )
...
* [ci] compile ios verbose (#3978 )
* [v3.4.0] [ci] compile ios verbose (#3974
* Merge the code of v3.3.1 platform adaptation layer into the development branch (#3958 )
* 1、Merge platform adaptation layer code into the development branch
2、It passed the test in windows and ohos system
* 1、Merge platform adaptation layer code into the development branch
2、It passed the test in windows and ohos system
* 1、Fix github compile windows error
* 1、Fix github compile windows error
* 1. Adjust the code format;
2. Fix js automatic generation binding
3. Adjust github CI compilation
* 1. Adjust the code format;
2. Fix js automatic generation binding
3. Adjust github CI compilation
* Solve mac and ios compilation failure
* Fix the problem of compilation of Windows-side simulator
* 1. Adapt the simulator to a new adaptation layer;
2. Fix the compilation warning of ios, and the implicit conversion failed;
3. Fix the mac compilation error, due to the problem of adding the link identification -all_load;
* 1.Add the isDisplayStats and setDisplayStats method to the screen interface
* Fix clang-tidy compilation warning
* Fix clang-tidy compilation warning
* Repair the emulator, compatible with mac and win
* 1、Repair detailed errors, including name modification and calling method modification
2、Delete redundant files in the template directory
3、Change the vibrate interface to vibrator
4、Fix word spelling errors
* Rename interfaces to modules
* Replace CC_ASSERT with CCASSERT
* Replace CC_ASSERT with CCASSERT
Co-authored-by: qiuguohua <>
* Remove all_flag in IOS (#4014 )
* gfx: onAcquire callback (#4038 )
* Solve the conflict between cocos/platform and template
Co-authored-by: minggo <nudtzxm@gmail.com >
Co-authored-by: 江战 <40414978+PatriceJiang@users.noreply.github.com >
Co-authored-by: Yun Hsiao Wu <yunhsiaow@gmail.com >
2021-11-30 10:13:49 +08:00
Yun Hsiao Wu
34c4bf7373
draw profiler only once
2021-11-11 15:56:43 +08:00
Yun Hsiao Wu
a297dea9b6
fix cluster demo on vk
2021-11-11 15:56:43 +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
GengineJS
ea219cc323
fbo scale > 1, profiler misalignment problem and bloom viewport setti… ( #4001 )
...
* fbo scale > 1, profiler misalignment problem and bloom viewport setting error problem
* To optimize the pipeline sampler
* Change renderArea to static
* update renderarea
2021-10-22 19:19:57 +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
3296cef8f4
fix deferred pipe ( #3955 )
2021-10-08 14:08:50 +08:00
DolaMay
1aed070f8f
cluster native v340 code ( #3923 )
...
* cluster native v340 code
* pclint errors and review comments correct
* compile errors
* clang tidy bug fix
* cluster add enable and disable api
* add marco to switch cluster feature
* Code review: simplify fg read logic
2021-09-30 10:16:50 +08:00
minggo
c0fa3af246
Fxaa ( #3928 )
...
* Adaptation fxaa
Co-authored-by: zhengxiangkui <476393671@qq.com >
2021-09-28 11:05:55 +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
2134db8c4e
fix fg exec storage ( #3865 )
...
* fix swapchain resize
* fix fg exec storage
2021-09-06 15:28:57 +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
minggo
d261e62ecc
merge v3.3.0 and fix conflict
2021-08-13 22:28:13 +08:00
Yun Hsiao Wu
2056271bac
misc pipeline fixes ( #3811 )
2021-08-10 09:49:18 +08:00
lawrence-liuyue
bd98d04639
Framegraph ( #3713 )
...
* framegraph, port from dpc
* enable frame graph in deferred pipeline
* apply framegraph in deferred pipeline, compile completed
* apply framegraph in deferred pipeline, compile completed
* debug framegraph
* debug sspr
debug sspr
* debug sspr
debug sspr
* port from liuhang
* apply uiphase
* fix CI bugs
* Delete jsb_pipeline_auto.cpp
* Delete jsb_pipeline_auto.h
* Revert "Delete jsb_pipeline_auto.h"
This reverts commit 224b1df83d3d69e65846ff2ca11ce8b804205c84.
* Revert "Delete jsb_pipeline_auto.cpp"
This reverts commit 16cb80ac7a7c5196c711261edd537555eff42da1.
* jsb_pipeline_auto
* fix clangtidy
* fix clangtidy
* fix clang-tidy
* fix clang-tidy
* add comments in Deferredpipeline.h
* Update pipeline.ini
* add transparent pass, add depth in postprocesspass
* fix compile error in mac/android
* Update LightingStage.cpp
* fix render tager bugs
* delete useless code
* fix clang-tidy
* fix viewport bugs in gles
2021-08-05 16:23:59 +08:00
Zeqiang Li
785839843c
leaks when quit ( #3755 )
2021-07-23 09:34:06 +08:00
cary
6f95ccf9ea
Fix the rendering bug of vulkan backend for Android platform. ( #3753 )
2021-07-22 09:46:53 +08:00
Zeqiang Li
7a3cfdeab2
fix deferred pipeline crash on mac ( #3745 )
2021-07-20 17:38:01 +08:00
江战
aa009ac26b
3.3 js message queue ( #3731 )
2021-07-16 15:20:23 +08:00
cary
5b9211b0d4
Fix some issues of deferred pipeline. ( #3716 )
2021-07-14 17:10:13 +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
ref-ptr
001bd64fff
CameraUBO和GlobalUBO更新机制替换为Buffer::update的memcpy ( #3629 )
2021-06-18 17:51:04 +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
cary
9041eabd06
Fix the problem that 3D model are not displayed on vulkan. ( #3483 )
2021-04-28 17:11:30 +08:00