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
c5c7b987ea
move cocos/core/gfx to cocos/gfx ( #12559 )
...
* move cocos/core/gfx to cocos/gfx
2022-08-26 17:51:46 +08:00
ChiaNing
f8fb03e9af
remove blend state on ui render ( #12228 )
...
* remove blend state on ui render
* tiledGourp updateBlendFunc hack
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-07-29 11:54:28 +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
23de9188ba
V3.5 docs ( #10898 )
...
* adjust api docs and delete useless annotation
* delete useless annotation
2022-04-27 15:22:22 +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
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
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
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
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
stanleyljl
4fd3d77bbd
RenderTexture implements from TextureBase ( #9003 )
...
* RenderTexture implements from TextureBase
* delete constructor
Co-authored-by: lijilin <jilin.li@cocos.com >
2021-07-19 17:36:48 +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
ChiaNing
90d94fead6
api module change ( #8272 )
...
(cherry picked from commit 314ede133cd6b1873b6f71876f16947733de2c46)
2021-02-25 17:31:08 +08:00
mmyduckx
910c6233cb
move dragonbones lib files to npm ( #8232 )
...
* move dragonbones lib files to npm
* mend
* update package-lock.json
* Fix CI
Co-authored-by: SB <leslieleigh@outlook.com >
2021-01-28 15:39:35 +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
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
45b452d392
refine 3.0 dragon-bones native sdk ( #8035 )
2020-12-28 16:19:07 +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
江战
1bff13636c
[3.0] rename dragonbones to dragon-bones ( #7984 )
...
* rename dragonbones -> dragon-bones
* add files
2020-12-18 18:29:03 +08:00