Commit Graph

59 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
jk20012001 36a52f932b fix spotlight shadow matrix, lineardepth, packing mode, selfbias error (#8483) (#3834)
* fix spotlight shadow matrix, lineardepth, selfbias error (#8483)
2021-08-17 17:27:46 +08:00
troublemaker52025 3e568df2ed fix shadow problem for v3.3.0 (#3674) 2021-07-14 09:26: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
GengineJS 62f32d93d0 fix shadowmap (#3668) 2021-06-29 18:37:40 +08:00
GengineJS 979c0d950e AABB shared data (#3655) 2021-06-28 15:31:57 +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
minggo 30db2bcbda merge v3.12 into v 3.3 2021-06-10 17:33:22 +08:00
troublemaker52025 b864e70d9d Add global descriptor set manager for v3.1.2 (#3606) 2021-06-10 09:49:16 +08:00
cary d77dbb3a53 implement scene management in native(#3584) 2021-06-02 17:22:33 +08:00
Yun Hsiao Wu 655b85b708 remove ad-hoc interfaces from device (#3498) 2021-04-29 22:05:28 +08:00
troublemaker52025 730a58687b using COLOR_HALF_FLOAT (#3496)
* using COLOR_HALF_FLOAT
2021-04-29 20:14:09 +08:00
troublemaker52025 b606a52204 fix mini game platform shadow not display for v3.1 (#3456)
* fix mini game platform shadow not display for v3.1
* only use texture half float
2021-04-23 13:50:18 +08:00
cary e9178d5f5f Fix instance count error. (#3455) 2021-04-23 09:35:03 +08:00
troublemaker52025 68a100f035 fix shadowMap merged error (#3444) 2021-04-22 09:54:22 +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
cary 59f9881e58 Optimize the performance of the memory pool. (#3414) 2021-04-19 09:37:47 +08:00
troublemaker52025 f62a4e16ae fix lightingQueue memory leak for v3.1 (#3413)
* fix lightingQueue memory leak for v3.1

* fix ci error
2021-04-16 14:45:31 +08:00
mmyduckx 5ef2ab11bf Fix more warings (#3396) 2021-04-15 09:40:29 +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
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
troublemaker52025 dfc1731177 fix-light-index-bug (#3245) 2021-01-23 09:36:46 +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
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
minggo a728537098 add license (#3165) 2020-12-29 11:25:30 +08:00
Yun Hsiao Wu 9d3d6647dd merge latest device layer (#3145) 2020-12-28 17:23:16 +08:00
cary cc6aea86fd Modify the forward rendering process and remove UIFlow. (#3117) 2020-12-24 16:09:06 +08:00
minggo affec13856 revert PR3076 (#3118) 2020-12-16 09:35:58 +08:00
troublemaker52025 e4454cb32e fix metal shadow upside down (#3076) 2020-12-12 18:19:38 +08:00
troublemaker52025 64e8a5e2c0 Solve project upgrade issues (#3077) 2020-11-30 15:29:10 +08:00
minggo f88b8e9c81 fix crash and refine codes (#3061) 2020-11-24 10:03:40 +08:00
troublemaker52025 7ec6699e1d Fix customize descriptor not bingding shadow map (#3055) 2020-11-21 22:56:04 +08:00
troublemaker52025 4cb66eac97 Refactoring shadow ubo submit for c++ (#3049) 2020-11-20 09:34:06 +08:00
coulsonwang 3956223365 fix pipeline define (#3045) 2020-11-19 09:11:37 +08:00
troublemaker52025 afd6b985a5 Fix GFXSampler no binding warning (#3024) 2020-11-12 17:04:41 +08:00
Yun Hsiao Wu 7384716c86 fix light pass index (#3017)
* fix light pass index

* vk: fix vertex attribute offset
2020-11-12 12:55:45 +08:00
coulsonwang 904e0840a3 fix instanced skinning lighting (#3012) 2020-11-11 14:05:17 +08:00
troublemaker52025 bffaf3f395 Add spot light shadow for C++ (#2978) 2020-11-11 10:15:54 +08:00
coulsonwang 8faa1aa90f reduce getPhaseID jsb call (#2995) 2020-11-09 16:23:04 +08:00
coulsonwang 0e2d7b4694 fix lighting (#2964) 2020-10-31 09:49:27 +08:00
coulsonwang 1bab55cd39 fix crash (#2947) 2020-10-27 14:47:25 +08:00