Commit Graph

4 Commits

Author SHA1 Message Date
zhakesi dc91a469ae use native middleware buffer (#12233)
* use native middleware buffer

* fix clang-tidy

* fix clang-tidy

* set useLinkData as meshBuffer's property

* refactoring some code

* set 2d.ini

* fix word component

* fix clip middleware2d

* ...

* function attributes to getAttributes
2022-07-28 19:00:30 +08:00
James Chen ab733d5644 [v3.6.0] Fix some potential memory issues (#12045)
* Fix deleting IntrusivePtr _pipeline object in Rot.cpp.

* Remove unused code.

* Avoid nullptr dereference in SceneCulling.cpp

* Fix memory leaks for some objective-c code.

* [dragonbones] Avoid extra memory allocation and copy in CCFactory.cpp

* [dragonbones] DragonBonesData::binary needed to be 'freed' rather than 'delete'd.

* [dragonbones] Fix using delete to release memory allocated by 'new[]' in SlotColorTimelineState.

* Remove variable srcOffset & dstOffset in Mesh::merge
2022-07-18 16:39:26 +08:00
Santy-Wang 996f137724 fix gfx buffer memory usage (#12037) 2022-07-16 17:08:19 +08:00
Zhang mingzhen b32830a3e8 V3.6.0 batcher2d to native (#11592) 2022-07-08 17:10:48 +08:00