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
ac7418f1c1
fix conflict
2021-11-30 10:48:30 +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
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
qiuguohua
eeb9d5c689
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 <>
2021-10-27 10:51:02 +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
minggo
c0fa3af246
Fxaa ( #3928 )
...
* Adaptation fxaa
Co-authored-by: zhengxiangkui <476393671@qq.com >
2021-09-28 11:05:55 +08:00
GengineJS
01b186e575
ForwardPipeline docking with FrameGraph ( #3893 )
...
* ForwardPipeline docking with FrameGraph
* update
* Fix the problem that ui does not display
* Modify Rect writing
2021-09-18 10:52:00 +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
江战
aa009ac26b
3.3 js message queue ( #3731 )
2021-07-16 15:20: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
ref-ptr
001bd64fff
CameraUBO和GlobalUBO更新机制替换为Buffer::update的memcpy ( #3629 )
2021-06-18 17:51:04 +08:00
cary
d77dbb3a53
implement scene management in native( #3584 )
2021-06-02 17:22:33 +08:00
GengineJS
c1302a3fcc
[Feature] change deferred quad calculation ( #3463 )
...
* [Feature] Deferred rt adaptor
* [Feature] change deferred quad calculation
* Replaced with the swap
* [Remove] Removed pipeline offscreen judgment
2021-04-25 16:17: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
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
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
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
Yun Hsiao Wu
d0fb6d5281
fix format
2021-02-05 16:41:01 +08:00
minggo
18d3aa40a7
fix merge error
2021-02-05 16:28:35 +08:00
Yun Hsiao Wu
e0fdfef054
license upgrader
2021-02-05 14:08:22 +08:00
minggo
28d170cd9e
merge 3.0
2021-02-05 10:50:55 +08:00
Yun Hsiao Wu
60969b42a4
Merge remote-tracking branch 'origin/v3.1' into device-proof
2021-02-03 17:25:33 +08:00
Yun Hsiao Wu
8c96bfa860
editor adapt
2021-02-03 16:38:40 +08:00
lawrence-liuyue
5fc7a37cd1
Hw deferred pipeline ( #3179 )
2021-02-02 22:16:53 +08:00
Zeqiang Li
32a7a48920
fix rendering issue caused by depthattachment's StoreAction ( #3272 )
2021-02-01 18:40:51 +08:00
pandamicro
ec5401aed9
Merge remote-tracking branch 'origin/v3.1' into device-proof
...
# Conflicts:
# CMakeLists.txt
# cocos/cocos2d.h
# cocos/platform/ios/Application-ios.mm
# cocos/platform/ios/View.h
# cocos/platform/mac/Application-mac.mm
# cocos/renderer/core/gfx/GFXDevice.h
# cocos/renderer/gfx-metal/MTLCommandBuffer.h
# cocos/renderer/gfx-metal/MTLCommandBuffer.mm
# cocos/renderer/gfx-metal/MTLContext.mm
# cocos/renderer/gfx-metal/MTLDevice.h
# cocos/renderer/gfx-metal/MTLDevice.mm
# cocos/renderer/gfx-metal/MTLFence.h
# cocos/renderer/gfx-metal/MTLFence.mm
# cocos/renderer/gfx-metal/MTLQueue.h
# cocos/renderer/gfx-metal/MTLQueue.mm
# cocos/renderer/gfx-metal/MTLUtils.mm
# cocos/renderer/gfx-vulkan/VKGPUObjects.h
# templates/template-link/common/CMakeLists.txt
# tools/tojs/metal.ini
2021-01-28 19:50:53 +08:00
Yun Hsiao Wu
1c1406eab6
vk: more synchronization fixes ( #3263 )
2021-01-28 16:38:18 +08:00
cary
4c0f767d2b
Extracts the shared content of the pipeline. ( #3244 )
...
* Extracts the shared content of the pipeline.
* remove ubo in forward
2021-01-23 09:35:23 +08:00
Yun Hsiao Wu
4c7119c9b4
interface adjust
2021-01-11 17:12:44 +08:00
cary
24808a3f5a
Fix crash on metal and planar shadow. ( #3187 )
...
* Fix crash on metal and planar shadow.
2021-01-11 11:47:20 +08:00
Yun Hsiao Wu
5172361865
fix global UBO update ( #3198 )
2021-01-10 13:20:28 +08:00
minggo
a728537098
add license ( #3165 )
2020-12-29 11:25:30 +08:00
cary
ab9705b350
Disable store of depthStencilAttachement. ( #3149 )
2020-12-26 10:51:38 +08:00
cary
cc6aea86fd
Modify the forward rendering process and remove UIFlow. ( #3117 )
2020-12-24 16:09:06 +08:00
troublemaker52025
780b3697a0
Optimization-shadowUBO-and-descriptorset ( #3095 )
2020-12-04 11:55:40 +08:00
troublemaker52025
64e8a5e2c0
Solve project upgrade issues ( #3077 )
2020-11-30 15:29:10 +08:00
troublemaker52025
d50792878e
fix shadow incomplete display ( #3068 )
2020-11-24 21:16:41 +08:00
minggo
f88b8e9c81
fix crash and refine codes ( #3061 )
2020-11-24 10:03:40 +08:00