zhakesi
8534fbbfdb
spine wasm version ( #15309 )
...
* spine wasm version -fix conflict
* fix build and ci test -fix conflict
* fix for code review
* support binary format
* update exernal lib
* revert license
* fix type any
* update api docs
* fix api docs
2023-06-09 15:50:32 +08:00
PP
3cb698c8aa
add more jsb interface info && fix some types ( #14628 )
...
* add jsb interface info
* mark TODO
workaround
* fix type
* remove some new ts-expect-error
* fix type in strict mode
2023-03-22 15:22:09 +08:00
zhakesi
c180ca5f50
fix spine/dragonbones error log ( #14402 )
2023-03-02 13:39:25 +08:00
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
zhakesi
3bf3132a4c
update spine api doc ( #13921 )
...
* update spine api doc
* update spine api doc part 2
* change api doc version info
* update spine api doc. revert some change will not be shown in doc
* update spine api-doc
* Add a white space between english and chinese
* Capitalized and Space character
2023-02-22 17:03:56 +08:00
pandamicro
afd22296b4
MIT license update and to new year 2023 ( #13927 )
...
* Cpp MIT license update and to date
* TS MIT license update and to date
2022-12-28 11:25:12 +08:00
minggo
bfeca12a09
Merge branch 'v3.6.3' into merge-v3.6.3
2022-12-21 17:26:22 +08:00
zhakesi
1bc1be3b15
fix spine cached color format ( #13557 )
...
* fix spine cached color format
* fix code style
2022-12-09 14:22:24 +08:00
santy-wang
a8913f5f16
Merge branch 'v3.6.2' of github.com:cocos-creator/engine into develop
2022-11-07 14:19:59 +08:00
zhakesi
089d787766
fix spine cached mode ( #13107 )
2022-10-24 10:03:04 +08:00
santy-wang
a450f100d9
fix import
2022-10-11 20:39:29 +08:00
santy-wang
91c884362d
Merge branch 'v3.6.2' of github.com:cocos-creator/engine into v3.6.1-sync
2022-10-11 20:12:14 +08:00
minggo
95a76235b6
Adjust some files ( #12910 )
...
`cocos/core` should not depend other modules, so move some files out of `cocos/core`:
- move some files from `cocos/core` to `cocos/game`
- director.ts
- splash-screen.ts
- game.ts
- move `cocos/core/root.ts` to `cocos/root.ts` as there is not better module to contain `root.ts`.
- move `cocos/core/platform/view.ts` to `cocos/ui/view.ts` as screen related logic is moved to `cocos/core/platform/screen.ts`
2022-09-28 09:34:35 +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
santy-wang
7bbad4a0a4
Merge branch 'develop' of github.com:cocos-creator/engine into v3.6.1-sync
2022-09-14 11:47:58 +08:00
zhakesi
8332386fe5
fix web spine color format rgba8 ( #12715 )
...
* fix web spine color format rgba8
* refactor some code
2022-09-14 11:08:44 +08:00
minggo
4261ccae76
move cocos/core/renderer to cocos/render-scene ( #12729 )
...
* move cocos/core/renderer to cocos/render-scene
* fix compiling error on native
2022-09-09 18:19:06 +08:00
minggo
2f10f48c15
adjust some folders ( #12712 )
...
move cocos/core/asset-manager to cocos/asset/asset-manager
move cocos/core/assets to cocos/asset/assets
merge cocos/core/builtin to cocos/asset/asset-manager
2022-09-07 18:45:54 +08:00
minggo
aba9fdb63f
Merge branch 'v3.6.1' into merge_v3.6.1
2022-09-02 20:08:18 +08:00
zhakesi
a388541901
spine/dragonbones renderdata use rgba8 color format ( #12619 )
...
* add color4b format
* render-2d adapter color format
* spine dragonbones use simple color
* rename V3F_T2F_C4B
* use attributes to init mesh buffer
* remove Vertex2DFormat
2022-09-01 21:44:19 +08:00
minggo
c5c7b987ea
move cocos/core/gfx to cocos/gfx ( #12559 )
...
* move cocos/core/gfx to cocos/gfx
2022-08-26 17:51:46 +08:00
zhakesi
b96ffd8f09
optimize function fillVertices in spine module ( #11251 )
...
* optimize function fillVertices in spine module
* use multiplication instead of division
Co-authored-by: zhakesi <zhakesi@foxmail.com >
2022-06-20 14:31:50 +08:00
pandamicro
dba83c270d
Fix multi blank lines ( #11116 )
2022-05-17 11:56:06 +08:00
zhakesi
4d426ccbd1
remove enableBatch from spine/db ( #11100 )
...
* remove enableBatch from spine/db
* add deprecated
Co-authored-by: zhakesi <zhakesi@foxmail.com >
2022-05-16 12:41:30 +08:00
Santy-Wang
ab82e1b42d
remove hidden ( #10414 )
...
* remove hidden
* fix typo
* fix unit-test
* turn on auto fix
2022-03-22 15:11:16 +08:00
zhakesi
1f4e10a0c8
fix spine/dragonbones opacity update ( #10349 )
...
* fix spine/dragonbones opacity update
* fix use ui-opacity with spine on editor
Co-authored-by: zhakesi <zhakesi@foxmail.com >
2022-03-21 19:51:34 +08:00
kenshin
c374ef59de
fix spine rendering confusion ( #10348 )
...
Re: cocos/2d-tasks#3621
Changelog:
Fix incorrect parsing of JSON boolean value.
Skips rendering slots without active bones .
2022-03-17 17:35:32 +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
pandamicro
39fb445e64
Add MeshRenderData.resize for changing both buffer size and ia size ( #9986 )
...
* Improve code
* Improve code
* Add MeshRenderData.resize for changing both buffer size and ia size
* Fix tiled map
2022-01-13 15:08:20 +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
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
zhakesi
575b2caedd
revert spine export ( #9896 )
2021-12-29 17:19:50 +08:00
zhakesi
36c13c190b
V3.4.1 issue 10573 ( #9892 )
...
* fix export spine failed.
* import spine from spine-core.ts
2021-12-29 14:23:21 +08:00
ChiaNing
99bdb07378
Revert "mesh buffer cache add ( #9728 )"
...
This reverts commit 1c0db6414a .
2021-12-03 19:46:09 +08:00
ChiaNing
3673752872
Revert "fix mesh buffer cache update bug ( #9734 )"
...
This reverts commit f1c8e2528a .
2021-12-03 19:45:55 +08:00
ChiaNing
f1c8e2528a
fix mesh buffer cache update bug ( #9734 )
2021-11-26 14:01:52 +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
ChiaNing
24fe3ff784
UI GPU dirven add ( #9378 )
...
* uniform
* uniform buffer add
* add dummy IA
* first working version
* misc & data structure optimize
* fix webGL1 bug
* rebase on 3.3
* add maxQuadPerDrawcall by device
现在每个DC能绘制的数量由设备返回的 uniform 数量上限决定
* add index
* index bug fix
* sliced ia add(Not finish)
* change mat4 to vec4
* change stride num
* new vec4PreUI finish
* misc fix
* size & anchor dirty add
* bug fix
* add UICapacityDirty
(cherry picked from commit 417e10c8d3422363d80828539b110b93ee4d3cb1)
* static buffer cache version
(cherry picked from commit 1ffe7e7943cdf9af085aeda5ca218c3442fa9119)
* static buffer update version
(cherry picked from commit 964d9cb5b3230963b2a535acac99a34cde7eb63c)
* cache localbuffer
(cherry picked from commit 641b956def64023e0d47be66bc0c0a37ef1e9791)
* fix setPosition event & fix DS release
* weak sliced & filp tiled mode add
* fix tiled y
* fix sliced bug
* ugly but work filled type add
* update effect
* filled mode effect
* shader fix
* RenderData dirty for render data update
* revert fillbuffer
* misc fix
* support label bmfont by meshBuffer
* fix sliced bug & commit Model
* fixed some render dirty flag bug
* cut code by macro.UI_GPU_DRIVEN
* cut code by UI_GPU_DRIVEN Macro on build
* cut file by UI_GPU_DRIVEN
* I-batcher interface add
* remove render queue cache
* file name change
* file name change
* after merge
* fix for v3.4
* useless remove
* fix texture rotation
* fix sliced when atlas rotation
* useless code remove
* native bind
* update effect
* fix DynamicOffsets bind bug
* PR review fix
* effect encapsulation
* change chunk
* update effect
* update shader
* remove color in fs
* move code
* fix UBO buffer bug
* fix ubo count to 10
* fix vk bind
2021-09-29 22:32:33 +08:00
zhakesi
c9f91708bf
fix spine cache mode on web platform ( #9204 )
...
* fix spine cache mode on web platform
1) traverse vertex data with wrong step.
2) use id for comparing texture instead of url
* fix ESLint error
2021-08-19 15:08:00 +08:00
mmyduckx
1173412d1a
Fix update color in editor for spine & dragonbones ( #8792 )
...
* fix update color/opactiy in editor failure
* fix update color/opactiy in editor failure
2021-06-14 16:52:41 +08:00
cary
f37099c294
Change the parameter of the math library to Readonly. ( #8765 )
...
* Change the parameter of the math library to Readonly.
* fix ci
* fix ci
* fix ci
* fix ci
* fix ci
* delete pool
2021-06-04 17:36:15 +08:00
mmyduckx
24359b0b85
fix native spine premultiliedAlpha bug ( #8396 )
...
* fix native spine premultiliedAlpha bug
* ci
2021-03-25 13:42:32 +08:00
ChiaNing
90d94fead6
api module change ( #8272 )
...
(cherry picked from commit 314ede133cd6b1873b6f71876f16947733de2c46)
2021-02-25 17:31:08 +08:00
mmyduckx
cbbb177962
Fix preMultiAlpha failture in spine/dragonbones ( #8214 )
...
* fix preMultiAlpha failture in spine/dragonbones
* fix preMultiAlpha failture in spine/dragonbones v2
* update
2021-01-27 20:35:07 +08:00
ChiaNing
e092fb051a
add spine customMaterial & set default UI depthTest False ( #8205 )
...
* add spine customMaterial & set default UI depthTest False
* update effect
2021-01-26 14:19:01 +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
Santy-Wang
ad4bff3988
Restructure Module ( #7968 )
...
* module restructure
* refine
* restructure module
* merge
* revert
* fix ci
* update import path of unit-test
* split 2d and ui
* add more module
* change audio adapter
* rename primitive
* config wechat plugin
* merge
* add category config
* merge
* merge
2020-12-24 19:07:26 +08:00
owen
f811378b7f
3.0 spine native sdk adapter ( #7999 )
2020-12-24 10:25:34 +08:00
江战
c85c6cb687
[3.0] spine/dragonbons deprecated GFXBlendFactor ( #7978 )
...
* GFXBlendFactor -> BlendFactor
2020-12-17 19:52:11 +08:00
江战
8dcc1b372f
[3.0] spine enable _premultipliedAlpha ( #7960 )
...
* fix material defines
* fix compile error
2020-12-14 18:13:20 +08:00