Commit Graph

33 Commits

Author SHA1 Message Date
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
江战 fcb82a20d6 Add BigInt to se::Value (#3706) 2021-07-14 09:48:52 +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
minggo 028ec8443d Misc (#3683)
* improve codes:
1. remove unneeded codes
2. fix potential memory leak
2021-07-05 10:21:01 +08:00
minggo aa522396a3 CC_INLINE to inline (#3664) 2021-06-28 16:41:13 +08:00
cary 965037568c Modify the memory pool and remove the deprecated code. (#3599) 2021-06-10 09:06:27 +08:00
cary d77dbb3a53 implement scene management in native(#3584) 2021-06-02 17:22:33 +08:00
江战 a652715f5a Harmony OS support - dont merge (#3528) 2021-05-21 10:43:22 +08:00
cary 90e915f45c Optimize the performance of the typed array pool on the native. (#3443)
* Optimize the performance of the typed array pool on the native.

* update name
2021-04-22 10:30:10 +08:00
cary f281158d41 Fix object pool crash on windows. (#3430) 2021-04-19 22:11:49 +08:00
cary 59f9881e58 Optimize the performance of the memory pool. (#3414) 2021-04-19 09:37:47 +08:00
Yun Hsiao Wu e1c240f2d0 Clang-Tidy adaptations (#3379)
* gfx: CommandBuffer.draw accept DrawInfo

* clang-tidy config

* tidy adapt

* enable function name check

* better workflow
2021-04-12 09:41:28 +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 e0fdfef054 license upgrader 2021-02-05 14:08:22 +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
minggo 826babfa64 Format code (#3217) 2021-01-13 14:49:32 +08:00
cary cc6aea86fd Modify the forward rendering process and remove UIFlow. (#3117) 2020-12-24 16:09:06 +08:00
minggo ba517c8b14 Reduce JSB invoking(#2979)
* add conversion functions for gfx::Color/Rect/Viewport/Offset/Extent/TextureSubres/TextureCopy/BufferTextureCopy
* use buffer pool for BlendState/BlendTarget/DepthStencilState/RasterizerState
2020-11-05 18:16:20 +08:00
coulsonwang eb864cb29f fix additive light queue (#2941) 2020-10-23 20:52:20 +08:00
minggo 8ea91902f0 fix some warnings (#2934) 2020-10-22 11:31:14 +08:00
coulsonwang bd688923e9 fix native batched buffer (#2933)
* fix native batched buffer

* fix review
2020-10-21 13:45:51 +08:00
Yun Hsiao Wu fb791ad01b discrete descriptor set layout bindings (#2920) 2020-10-20 15:06:57 +08:00
minggo 5dc8027ef0 Minor performance improve (#2916)
* only check in debug mode

* undo unneeded modification
2020-10-16 17:53:24 +08:00
coulsonwang f490f68120 Fix instance buffer (#2911) 2020-10-15 09:54:36 +08:00
coulsonwang b504111fee sync native pipeline (#2868) 2020-10-12 15:55:02 +08:00
Yun Hsiao Wu efad97b643 array pool refactor (#2883)
* fix draw call issueing

* vk: descriptor set: default sampler only

* array pool refactor

* skip backupBuffer & device bindings

* MRT feature flag

* skip getDevice
2020-10-12 14:26:10 +08:00
minggo eabd311fa4 buffer pool store mix data type (#2817) 2020-09-24 09:57:22 +08:00
minggo c93f92fc47 shared memory supports light (#2805) 2020-09-18 14:35:32 +08:00
coulsonwang 2249df6d20 get root data (#2802) 2020-09-18 14:35:01 +08:00
minggo e114dda530 send handle from JS (#2795) 2020-09-16 16:20:07 +08:00
coulsonwang 7b42078923 hack buffer pool flag to 20 bits (#2769) 2020-09-10 11:08:14 +08:00
minggo 9d9c79012b change file path (#2733) 2020-09-10 09:51:24 +08:00