zhakesi
b708bc6726
fix to set sockets node transform ahead of effect of physics system ( #14162 )
...
* fix to set sockets node transform ahead of effect of physics system
* fix spine cached with socket nodes
2023-03-01 18:28:00 +08:00
江战
f6854cd16e
native introduce jsb.window ( #13816 )
2022-12-16 13:50:59 +08:00
zhakesi
d79b84d41c
fix dragonbones in editor running with native engine ( #13754 )
...
* fix dragonbones in editor running with native engine
* add native ccfactory function getDragonBonesDataByUUID
2022-12-09 11:04:21 +08:00
zhakesi
222608bfd1
fix native dragonbones component not init ui contentSize ( #13678 )
2022-12-08 11:33:02 +08:00
zhakesi
011a71f732
optimize spine/dragonbones material update ( #13416 )
...
* optimize spine/dragonbones material update
* add material assets depends for dragonbones
2022-11-18 10:15:40 +08:00
zhakesi
0985cbe03e
fix spine/dragonbones begin-schedule ( #13370 )
...
* fix beginSchedule when spine component with no onEnable called.
* fix dragonbones beginSchedule
2022-11-18 10:12:51 +08:00
zhakesi
c7761e5c19
middleware2d components rendering in native mode ( #12788 )
...
* middleware2d components rendering in native mode
* support spine/dragonbones set enable batch
* support spine rendering in batching mode
* get batcher2d instance from root
* process about with type conversion
* fix some code style
* use material hash to merge draw batch
* deal with fill z
* fix dragonbones fill z
* remove some code no used any more
* refactoring some code
* modify some code
* add free memory
* fix clang-tidy
* delete mesh-buffer-layout in destructor
* byte alignment
2022-09-20 13:31:33 +08:00
zhakesi
a6909e876f
fix spine tint ( #12263 )
2022-07-29 11:12:17 +08:00
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
ChiaNing
c538fd6d18
change Renderable2d name ( #12213 )
...
* change Renderable2d name
* misc
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-07-27 14:25:14 +08:00
Santy-Wang
07facb9bf1
optimize memory ( #12157 )
2022-07-23 15:28:25 +08:00
Zhang mingzhen
12625f09d8
RenderDrawInfo code sorting ( #12055 )
...
* remove blendHash and DrawInfoAttrLayout
* remove code in cpp
* remove blend hash in ts
* remove blendhash of middleware in ts
* remove rebundant code
* remove stencilStage in drawinfo
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2022-07-19 13:35:54 +08:00
ChiaNing
eeb210d55b
fix ui render custom material bug ( #11989 )
...
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-07-14 17:28:27 +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
zhakesi
40769330da
fix spine/dragonbones drawinfo clear ( #11919 )
...
* fix spine/dragonbones drawinfo clear
* fix clang tidy
2022-07-11 16:18:14 +08:00
Zhang mingzhen
b32830a3e8
V3.6.0 batcher2d to native ( #11592 )
2022-07-08 17:10:48 +08:00
zhakesi
89621a8084
optimize spine use local mode in native ( #11225 )
...
Co-authored-by: zhakesi <zhakesi@foxmail.com >
2022-05-29 13:46:05 +08:00
minggo
a6bf766170
Merge branch 'v3.5.0' into v3.6_merge_v3.5
2022-03-29 18:26:40 +08:00
zhakesi
8561d5e686
fix dragonbones/spine sockets transform ( #10260 )
2022-03-10 16:18:28 +08:00
minggo
73c303f556
Merge branch 'v3.5.0' into merge_v3.5.0
2022-03-08 14:53:00 +08:00
pandamicro
50a43e18e4
Shared vb accessor for spine ( #10077 )
...
* Robust updateOpacity in batcher & cleanup code
* Support Batcher2D commitIA
* Support customized buffer size for StaticVBAccessor
* Reorganize RenderData logic and prepare spine refactor
* spine realTimeTraverse using dedicated accessor
* Support spine clipping
* Fix updateOpacity in batcher 2d
* Support Spine cache mode
* Fix ci
* Use different accessor for tint spine
* Update effect
* Fix native spine and dagonbones IA range issue
* Fix spine tint accessor registartion
* Revert darkColor default value
* Fix spine accessor switching issue and render data init issue
* Shared vb accessor for dragonbones (#44 )
* Shared vb accessor for dragonbones
* fix code style
* add explanation why need resize render data in realTimeTraverse
Co-authored-by: zhakesi <liqiao@cocos.com >
2022-02-18 15:24:59 +08:00
santy-wang
41fe64b097
Merge branch 'v3.5.0' of https://gitlab.cocos.net/publics/engine into v3.6.0
2022-01-24 17:45:05 +08:00
zhakesi
cff5293a45
V3.4.1 local db ( #10031 )
...
* fix db can not move in editor
* fix db native mode
2022-01-21 19:00:04 +08:00
ChiaNing
2f1d6ae04e
request IA by pool ( #9967 )
...
* request IA by pool
* change to use RecyclePool
* fix reset
* ia Start fix
* fix DB
2022-01-12 15:29:55 +08:00
minggo
e80251eae6
Codes for native ( #9920 )
2022-01-11 17:30:18 +08:00
pandamicro
bd3c30fd4c
BufferAccessor refactor for Batcher2D ( #9802 )
...
* VB cache add(only simple)
* sliced add
* after rebase
* Extract BufferAccessor from MeshBuffer
* Refactor for linear buffer accessor
* Support simple sprite
* Fix initialization issues
* Fix simple sprite rendering
* Rough adaptation
* tweaks
* Fix LinearBufferAccessor's appendBuffers
* Cleanup mesh buffer codes
* Reorganize ia allocation
* Middleware adaptation & Particle 2d adaptation (#31 )
* Middleware adaptation
* particle-2d adaptation
* Initial implementation of static vb accessor
* Complete static vb accessor
* Improve static vb accessor
* Ensure MeshBuffer.byteOffset
* Fix record batch process in static vb accessor
* Fix vb reset
* simple & simple label add (#32 )
* Meshbuffer static length (#33 )
* set ib only first time
* Meshbuffer static length
* Some name refactor
* remove RenderData.vData
* Improve buffer update logics
* Use appendIndices in fillBuffers
* The quickest version(simple & label can render) (#34 )
* Revert "Use appendIndices in fillBuffers"
This reverts commit 0600e26f7eee277c820c3097b1f48f79fcf60890.
* the quickest version
* pass renderScene
* batch
* change batcher update
Co-authored-by: pandamicro <lphuabin@gmail.com >
* Move ia record logic from accessor to batcher
* Make vertexFormat sourced from render data
* sliced & bar-filled (#35 )
* radial-filled & tiled & label (#36 )
* radial-filled & tiled
* bmfont & char label
* function change
* name change
* Remove uvDirty
fixes
Fix uv update for sprite
* Reduce mesh buffer setDirty
* uv fix
* Format label
* Refactor color and cascade opacity mechanism
* Fix empty render data or chunk absent issue
* fix some uv (#37 )
* Fix non stop allocation issue in static vb accessor
* fix bmfont richText & remove uiComponent (#38 )
* fix bmfont uv
* fix richText & remove ui Component
* Fix mesh render data batching
* Small fix
* Update for spine
* Formatting jsb spine and editor
* middle ware & particle 2d (#39 )
* motion-streak
* dragon Bones add
* tiled map unsafe change
* particle-2d add
* function name change
* some function change (#40 )
* Fix RenderData pool usage
* Fix merge issue
* fix misc bug (#41 )
* Native adaptation for spine and dragonbones with MeshRenderData
* misc fix (#42 )
* Improvements
* Fix ci and improvements
Co-authored-by: ChiaNing <sun.cloud.mo@gmail.com >
2022-01-07 15:43:04 +08:00
ChiaNing
99bdb07378
Revert "mesh buffer cache add ( #9728 )"
...
This reverts commit 1c0db6414a .
2021-12-03 19:46:09 +08:00
ChiaNing
1c0db6414a
mesh buffer cache add ( #9728 )
...
* UI MeshBuffer Cache add
* support hierarchy changed event
* notify upper
* use Dirty by Hierarchy Changed
* PR fix
* Fix CI
* fix CI
* support hierarchy changed event & function name change
* function name change
* comment add
* type change
Co-authored-by: santy-wang <wh19930829@qq.com >
2021-11-25 21:25:16 +08:00
mmyduckx
ec7a87afa3
add spine&db system && optimize system priority ( #8866 )
...
* add spine&db system && optimize system priority
* refine spine/db system
* fix misspelling
* refine
* remove errorID
* remove errorID
2021-06-29 16:59:52 +08:00
santy-wang
c5dd05fbf1
Merge branch 'v3.1.2' of github.com:cocos-creator/engine into v3.3-merge
2021-06-28 14:40:34 +08:00
mmyduckx
4d3418484a
fix native spine slot bug ( #8859 )
2021-06-22 15:57:49 +08:00
mmyduckx
a224d5384b
fix remove imageAsset._texture usage for db/spine ( #8742 )
2021-06-01 14:25:11 +08:00
mmyduckx
93491a40f2
remove ImageAsset._texture usage for spine & dragonbones ( #8658 )
...
* change spine texture only to use texture2d
* remove ImageAsset._texture usage
2021-05-24 15:01:48 +08:00
mmyduckx
19bae97854
fix native dragonbones bug ( #8343 )
2021-03-10 17:31:00 +08:00
mmyduckx
5df2f13fe5
Fix native node active ( #8323 )
...
* fix native node active bug
* comment remove
2021-03-04 17:27:47 +08:00
mmyduckx
0513d8bf2a
fix native spine/dragonbones node move bug & node active bug ( #8265 )
...
* Revert "Fix node move (#8177 )" and Fix node move bug
* refine jsb
* fix node active bug
2021-02-23 19:53:11 +08:00
mmyduckx
093cee855e
Fix node move ( #8177 )
...
* Fix node-move bug in 2d-rendering-in-3d testcase
* Fix node-move bug in 2d-rendering-in-3d testcase (update)
* Fix node-move bug in 2d-rendering-in-3d testcase v2
2021-01-23 10:41:48 +08:00
pandamicro
c6dad8c494
Merge render scene and improve naming for 2d render ( #8142 )
...
* format and tweek
* Refactor renderer: UI to 2D naming
* refactor root.ui to root.batcher2D
* Refactor UIBatchView to BatchView2D
* Fix issues
* Merge UI render scene to main render scene
* Improve camera scene check in forward pipeline
* Fix eslint ci
* skip js files
2021-01-15 11:43:09 +08:00
cary
1c2ae0231e
Fix unused buffer upload and buffer memory leap. ( #8074 )
...
* Fix unused buffer upload and buffer memory leap.
* fix release error
* fix ci
* add dirty reset
* fix window declaration
* delete byteoffset reset
2021-01-12 15:37:39 +08:00
Santy-Wang
45b452d392
refine 3.0 dragon-bones native sdk ( #8035 )
2020-12-28 16:19:07 +08:00