Commit Graph

758 Commits

Author SHA1 Message Date
ChiaNing 00d28992a4 remove DrawCall in DrawBatch (#4103) 2021-12-16 13:10:25 +08:00
zhakesi 812825505d fix spine jsb binding (#4079) 2021-12-06 09:54:23 +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
江战 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
江战 bf39eb506b 3.4.0 run genbindings (#3937) 2021-09-29 20:18:32 +08:00
Kun Lin 78ae4e587d Bloom (#3934)
* Bloom

* Fix for code review
2021-09-29 11:44:31 +08:00
江战 b24c278f88 remove password authentication (#3932) 2021-09-28 15:03:19 +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
timlyeee ad048dff55 Change Windows Simulator from X86 to X64 (#3866)
* change simulator version from x86 to x64
* Fix some bugs for x64 version simulator
2021-09-07 09:58:52 +08:00
mmyduckx ae02dfc02e remove old icon format in cmake (#3856)
* remove icon in cmake

* add camke config for AppIcon
2021-09-01 15:20:02 +08:00
mmyduckx f049a58ae2 update icon for all platforms and Appsimulator (#3853) 2021-08-31 19:46:25 +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 27a48968e7 ES2: fix uniform array upload & half float texture (#3823) 2021-08-12 15:29:45 +08:00
timlyeee 8fa3d5b8d6 Fix simulator restart issue (#3814)
* Fix simulator restart issue
* fix conversion error
2021-08-10 13:52:02 +08:00
timlyeee b9ed0af4fa Fix glslang errors and Edit-box errors (#3802)
* Update cmake list for dynamic library update

* as glslang and tbb become dynamic library, the cmake should copy dll from glslang folder too.
* "gulp gen simulator" command will automatically generate by user's comupter so sometime it will generate x64 version's simulator. no it's update to  generate Win32 version
* Edit-Box was using wrong parameters GWL_WNDPROC, so x64 version will hit an error. details below:https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setwindowlongptra

* small optimize gulp

* change config

* Update cmake list for dynamic library update

* as glslang and tbb become dynamic library, the cmake should copy dll from glslang folder too.
* "gulp gen simulator" command will automatically generate by user's comupter so sometime it will generate x64 version's simulator. no it's update to  generate Win32 version
* Edit-Box was using wrong parameters GWL_WNDPROC, so x64 version will hit an error. details below:https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setwindowlongptra

* add glslang header

* Revert "Update cmake list for dynamic library update"

This reverts commit 5eceb132c2411d7e479f6744e33048fabaafe780.

* fix rebase error
2021-08-05 17:22:46 +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
mmyduckx 7686705eeb remove jsb_module-register.cpp from native (#3776) 2021-08-05 16:14:53 +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
mmyduckx 9e9c1a2b3e Fix appSimulator crash when closing on mac (#3787) 2021-07-30 11:59:29 +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
Yun Hsiao Wu 5c88f24b3f misc gfx & fg improvements (#3703) 2021-07-13 14:07:47 +08:00
GengineJS 5a3a43d0ab Implement native Baked Skinning Model (#3675) 2021-07-01 16:03:16 +08:00
江战 751bbe2071 support uint8_t* for arraybuffer (#3677) 2021-07-01 14:51:06 +08:00
GengineJS 979c0d950e AABB shared data (#3655) 2021-06-28 15:31:57 +08:00
江战 4761dee42c 3.3 generate-pr.sh remove var (#3649) 2021-06-24 15:37:01 +08:00
江战 8ebfa027a4 fix diff (#3648) 2021-06-24 15:26:14 +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