James Chen
f644e78e5c
[v3.6.0] Refactor native Batcher2d lifecycle ( #12011 )
2022-07-15 14:17:33 +08:00
Santy-Wang
945e715a9c
restructure life cycle ( #11971 )
...
* restructure life cycle
* fix bugs
* optimize
* remove some code
* refine
* fix dragonbone custom material
* fix particle crash
* changed to CCAssert
Co-authored-by: liqiao <liqiao@cocos.com >
2022-07-14 16:33:30 +08:00
Zhang mingzhen
05bde85ed7
V3.6.0 batcher2d code sorting ( #11943 )
...
* parentOpacity move to RenderEntity
(cherry picked from commit f1d9b5cb55c1912bd61ba490ec46ce7108097556)
* parentOpacity remove from entity and put into funtion parameters
* unify dynamic and static handle process
* reform entity shared buffer structure
* modify default value of struct
* set drawinfo type for spine/dragonbones
* remove legacy method
* reform color .type as uint8 from float
* CI fix
* remove static-cast
* CI fix
* CI fix
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
Co-authored-by: liqiao <liqiao@cocos.com >
2022-07-13 15:48:31 +08:00
ChiaNing
d13ebb2fdb
Mask image-stencil change ( #11932 )
...
* Mask image-stencil change
* CI fix
* size change
* event change
* event change
* event
* mask type change to native
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-07-12 13:36:50 +08:00
Zhang mingzhen
731d703648
Mask to native bug fix ( #11913 )
...
* mask inverted bug fix
(cherry picked from commit dc695c992983042ca7af3ac91051db40049dfbd1)
* sync customMaterial for commitIA of middleware in native
* fix CI
* remove abundant mask code
* add nolint
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2022-07-11 13:43:56 +08:00
James Chen
89c49d782a
[v3.6] Fix memory leak of memop::Pool::destroy and refactor it. ( #11908 )
2022-07-09 15:06:52 +08:00
Zhang mingzhen
0560b566df
V3.6.0 batcher2d mask to native ( #11905 )
...
* native mask 1
* native rect mask part2
(cherry picked from commit 363c6a545302c15bbbd33285c172855e667c308d)
* fix code specification
* mask fillPass parameters
* fix mistake
* fillpass material condition
* mask to native generate batch
* revert wrong remove
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2022-07-09 00:57:25 +08:00
Zhang mingzhen
b32830a3e8
V3.6.0 batcher2d to native ( #11592 )
2022-07-08 17:10:48 +08:00