Commit Graph

340 Commits

Author SHA1 Message Date
bofeng-song
d8bdec5162 fix android crash due to eglSurface unavailable (#10621)
* skip setRendererAvailable &  isRendererAvailable (#10482)

* fix android crash due to eglSurface unavailable
2022-04-01 14:52:46 +08:00
Zeqiang Li
fac0f58a71 skip getraw (#10429) 2022-03-22 11:16:27 +08:00
Yun Hsiao Wu
198034ec2c refactor access type array to access flags (#10103) 2022-02-16 09:56:46 +08:00
minggo
ac2045b0e0 Merge branch 'v3.5.0' into v3.4.0 2021-12-22 10:31:27 +08:00
ChiaNing
00d28992a4 remove DrawCall in DrawBatch (#4103) 2021-12-16 13:10:25 +08:00
Yun Hsiao Wu
5524b5c5d4 nx adaptation framework (#4050) 2021-12-14 15:04:57 +08:00
李吉林
b8e909a2b7 add geometry renderer (#4086)
* add geometry renderer

* fix clang-tidy
2021-12-07 18:19:03 +08:00
minggo
0db30a6523 merge develop 2021-12-07 15:26:33 +08:00
zhakesi
812825505d fix spine jsb binding (#4079) 2021-12-06 09:54:23 +08:00
minggo
ac7418f1c1 fix conflict 2021-11-30 10:48:30 +08:00
李吉林
005fe503c7 add octree setting (#4059)
* add octree setting
2021-11-23 13:33:55 +08:00
GengineJS
8386790150 Restore part of pipeline code (#4040) 2021-11-10 15:37:29 +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
江战
90e6860e2f add skip_public_fields (#3987) 2021-10-14 09:48:03 +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
Kun Lin
528b9b0b99 Update bloom (#3970)
* Update bloom

* Remove bloom pass for UI camera
2021-10-13 16:59:31 +08:00
Yun Hsiao Wu
134914b53d fix buffer/texture info js binding (#3981) 2021-10-13 16:57:05 +08:00
Yun Hsiao Wu
8f8569f39e gfx: better hashing strategies (#3969) 2021-10-13 16:03:58 +08:00
jk20012001
4c94f2ca56 Support HDR/LDR Light Sources v3.4.0 (#3951)
* Support HDR/LDR Light Sources

* Fix ClangTidy error

* Fix name style error

* Synchronize naming for HDR

* Fix name style and compiling errors

* Remove fpScale, make deferred and forward uniform

* Fix diffusemap binding error

Co-authored-by: pandamicro <lphuabin@gmail.com>
2021-10-12 10:47:28 +08:00
Yun Hsiao Wu
5e282a9ce5 fg: use hashmap in resource allocators (#3962)
...to handle hash collisions gracefully.
2021-10-11 15:28:03 +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
ChiaNing
017f12c863 Add drawCall to UI batch (#3912)
* Add drawCall to UI batch

* fix DynamicOffsets bind bug

* remove uiphase in forward

* debug remove

* fix VK device _caps
2021-09-29 22:32:54 +08:00
Kun Lin
78ae4e587d Bloom (#3934)
* Bloom

* Fix for code review
2021-09-29 11:44:31 +08:00
minggo
c0fa3af246 Fxaa (#3928)
* Adaptation fxaa

Co-authored-by: zhengxiangkui <476393671@qq.com>
2021-09-28 11:05:55 +08:00
江战
17a101227a fix path (#3927) 2021-09-27 20:50:01 +08:00
江战
5074a5a826 V3.4.0 usec++14 (#3898)
This reverts commit fff4cc8fc94fb9b1a8424a2b89e9966184c6c4ce.
2021-09-18 13:53:58 +08:00
李吉林
fa210fa955 add octree scene manager (#3891)
* add octree scene manager
Co-authored-by: lijilin <jilin.li@cocos.com>
2021-09-17 11:20:05 +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
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
GengineJS
7becb0aecc update scene.ini (#3794) 2021-08-03 13:55:01 +08:00
GengineJS
d4a7f06068 Fix the incorrect ModelBounds of BakedSkinningModel (#3791) 2021-08-02 17:06:35 +08:00
GengineJS
3e0e111b72 Fixed physX rotation not working (#3774) 2021-07-29 18:30:28 +08:00
GengineJS
01c576e735 Native worldTransform synchronization (#3764) 2021-07-26 15:21:27 +08:00
GengineJS
274bb09165 Modify the sharing method of node changeFlag (#3746) 2021-07-21 00:12:23 +08:00
江战
aa009ac26b 3.3 js message queue (#3731) 2021-07-16 15:20:23 +08:00
mmyduckx
f60399744d fix db getSlot() cannot get offset (#3720) 2021-07-16 10:23:56 +08:00
ref-ptr
d7181c8dc2 Add api to copy texture to cpu memory (#3710) 2021-07-15 10:26:50 +08:00
GengineJS
5a3a43d0ab Implement native Baked Skinning Model (#3675) 2021-07-01 16:03:16 +08:00
GengineJS
979c0d950e AABB shared data (#3655) 2021-06-28 15:31:57 +08:00
江战
e28ee35ee3 3.3 fix canvas api (#3647) 2021-06-24 15:15:18 +08:00
minggo
25a1b0ecd1 Merge pull request #3639 from minggo/merge_v3.2
Merge v3.2
2021-06-24 10:09:42 +08:00
minggo
2ebe3260b4 fix clang tidy 2021-06-24 09:34:19 +08:00
cary
37d9e44def Optimize the synchronization of Pass. (#3628) 2021-06-23 13:39:50 +08:00
GengineJS
b8f54069c0 [Add] Native scene object update function (#3638) 2021-06-22 16:41:13 +08:00
minggo
c98a1251a0 Revert "[add] Native scene object update function (#3602)" (#3634)
This reverts commit 8cc944277f.
2021-06-18 18:12:50 +08:00
GengineJS
8cc944277f [add] Native scene object update function (#3602) 2021-06-18 17:34:06 +08:00
troublemaker52025
28434cda6a Add jsb binding v3.3 (#3613) 2021-06-12 22:07:18 +08:00
Yun Hsiao Wu
5c9fe80859 upgrade binding generator to python 3.x (#3614) 2021-06-12 22:04:58 +08:00
cary
965037568c Modify the memory pool and remove the deprecated code. (#3599) 2021-06-10 09:06:27 +08:00
Zeqiang Li
219ec21abf remove nativeSize() interface (#3590) 2021-06-09 09:54:55 +08:00