Commit Graph

735 Commits

Author SHA1 Message Date
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
江战 628d7ab39e [3.3] gen bindings in action (#3636) 2021-06-22 16:28:37 +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
江战 6e45fe683e [3.3] CI android use action (#3631) 2021-06-18 16:16:22 +08:00
江战 8378a4a856 [3.3] some little fixes (#3626) 2021-06-18 10:49:40 +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
minggo b9975b9953 Update README.mdown
modify python version on windows
2021-06-07 17:17:18 +08:00
Yun Hsiao Wu 448ea846d8 create device in JS (#3598) 2021-06-07 11:10:06 +08:00
Yun Hsiao Wu 9e0a8eaf7b vk: enable triple buffer (#3597) 2021-06-04 11:22:36 +08:00
江战 d79a586393 3.3 sevalue to native validation (#3560) 2021-06-03 18:02:53 +08:00
cary d77dbb3a53 implement scene management in native(#3584) 2021-06-02 17:22:33 +08:00
江战 770ce3816b Remove cocos2dx_files.json (#3593) 2021-06-02 15:40:53 +08:00
Yun Hsiao Wu 1ebe420662 structure adjustments (#3532) 2021-06-02 09:39:13 +08:00
minggo 9354f366e6 fix conflict 2021-05-21 14:59:08 +08:00
mmyduckx 76d15cafa4 send close event to JS (#3527) 2021-05-21 11:37:13 +08:00
minggo 030c9f95be sync v3.2 to v3.3 2021-05-21 11:31:00 +08:00
江战 a652715f5a Harmony OS support - dont merge (#3528) 2021-05-21 10:43:22 +08:00
江战 6d9139e723 fix ci (#3533) 2021-05-20 09:45:35 +08:00
minggo e58395a00f upgrade binding-generator to Clang 12 (#3514) (#3515)
and also provide a comprehensive CLI for more flexible usages outside engine
repo.

Co-authored-by: Yun Hsiao Wu <yunhsiaow@gmail.com>
2021-05-11 18:41:29 +08:00
Yun Hsiao Wu 5d55467112 upgrade binding-generator to Clang 12 (#3514)
and also provide a comprehensive CLI for more flexible usages outside engine
repo.
2021-05-11 17:42:39 +08:00