minggo
313c58fe33
Improve utils api doc ( #13922 )
2022-12-28 15:04:56 +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
徐兵
b2b0d09e1d
reflection probe planar reflection for native engine ( #13281 )
2022-11-14 17:37:11 +08:00
Zach Lee
699fdfad90
Feat: Expires bufferView after resizing it's source buffer. ( #12869 )
2022-09-27 11:50:37 +08:00
minggo
834cfa66af
Merge branch 'v3.6.1' into merge_v3.6.1
2022-08-23 14:13:02 +08:00
QingliWang
6a8f53b186
Add features for XR developement. ( #12413 )
...
* Change Android mainloop, add global config and template projects for XR.
* Change gfx/gles device's process flow for XR, working with other PRs, waiting.
* Change gfx/Vulkan device's process flow for XR, working with other PRs, waiting.
* Change render process for XR.
* Develop XR input and events.
* Develop 3D feature of UI widgets and raycast effect for XR.
Co-authored-by: fqamic <fqamic@vip.qq.com >
2022-08-22 16:34:45 +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
minggo
6c9203e4e3
add some comments and remove unneeded codes ( #11713 )
2022-06-27 15:31:48 +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
jk20012001
9965af4abb
add debug view mode ( #11449 )
...
* add debug view mode
* code style
* fix single mode lighting lack of gamma & tonemapping
* comment style
* move from legacyCC to render-pipeline
* fix gamma & tonemapping not matched in debug view modes
* 原生实现
* move to root
* fix CSMLayers
* pack ubo data
* fix binding
* update binding
* update shaders for debug view
* code style
* fix CI
fix fog in composite mode
* resolve conversation
* resolve conversations
* function order
* resolve conversations
2022-06-14 00:13:27 +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
李吉林
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
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
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
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