zhakesi
ef9392829c
remove uimeshbuffer sync to native floatsPerVertex ( #12722 )
2022-09-09 10:55:50 +08:00
ChiaNing
482b20ea47
Mask Refactoring ( #12636 )
...
* first version mask
* image stencil material fix
* misc fix
* type change fix
* export fix
* some native code
* native fix
* use less remove
* remove isForMask
* material change
* delate sprite frame
* use less remove
* misc fix
* ci
* mate updte
* de
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-09-02 10:17:44 +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
Zhang mingzhen
0410f097e1
particle local mode on native ( #12624 )
...
* particle local mode on native
* remove rebundant code
* when positionType changes, update entity data
* move to onEnable
* rename as renderTransform
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2022-09-01 11:35:19 +08:00
Leslie Leigh (李的序)
ebb775bfde
Fix spine typing 3.6.x ( #12402 )
...
* Fix spine typing 3.6
* Update
* Fix
* Publish
2022-08-31 14:17:44 +08:00
ChiaNing
febb0d9bf9
change render entity enable default value ( #12488 )
...
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-08-22 10:56:10 +08:00
Zhang mingzhen
7bbce32970
static drawinfo should be reset when flushing assembler ( #12333 )
...
* static drawinfo should be reset when flushing assembler
* add reset drawinfo method
* revert mistake
* fix mistakes
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2022-08-04 22:14:23 +08:00
ChiaNing
e19fe7ec9d
fix batch bind ( #12312 )
...
* fix batch bind
* fix
* remove
* Update cocos/core/root.jsb.ts
* Update cocos/core/root.jsb.ts
* Update cocos/core/root.jsb.ts
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
Co-authored-by: Santy-Wang <wh19930829@qq.com >
2022-08-04 10:30:20 +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
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
Santy-Wang
52cd47fa08
optimize frame animation performance ( #12209 )
...
* optimize frame animation performance
* refine code
2022-07-27 10:21:13 +08:00
zhakesi
b3e151c0af
fix swap accessor not change buffer ( #12204 )
2022-07-27 10:03:07 +08:00
ChiaNing
310525e358
fix ui Model proxy memory leak ( #12184 )
2022-07-26 15:37:46 +08:00
Santy-Wang
9c092e7b77
optimize code of batcher2D ( #12166 )
...
* optimize code of batcher2D
* fix bugs
* no lint
* no lint
* no lint
* fix ci
2022-07-25 15:56:40 +08:00
Santy-Wang
07facb9bf1
optimize memory ( #12157 )
2022-07-23 15:28:25 +08:00
zhakesi
e18e900162
support spine/dragonbones use local native batcher2d ( #12141 )
...
* support spine/dragonbones use local native batcher2d
* avoid tiled map use local
* render-entity add set use local
* modify some code
Co-authored-by: zhakesi <zhakesi@foxmail.com >
2022-07-22 12:54:15 +08:00
Santy-Wang
2ae2d94b93
optimize performance ( #12080 )
...
* optimize performance
* fix binding
* fix bugs
* fix bugs
* fix crash
* remove useless func
* fix ci
* fix ci
* fix ci
2022-07-21 11:50:43 +08:00
ChiaNing
d9c93a57c7
remove blend state on fillPass function ( #12068 )
...
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-07-19 17:18:38 +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
zhakesi
51d999e0e6
native batcher2d tiled-map addUserNode complete ( #12059 )
2022-07-19 10:53:42 +08:00
Zhang mingzhen
1fd70ef5e7
UIOpacity and UIRenderer recursion bug ( #12015 )
...
* optimize JSB sync in every frame
* opacity bug, enabled doesn't sync to native
* UIOpacity and UIRenderer recursion
* avoid parameters are undefined
* resolve circular dependency
* exclude UIMeshRenderer in setEntityColorDirtyRecursively
* exclude UIMeshRenderer in UIOpacity setEntityLocalOpacityDirtyRecursively
* blend hash should put into passdirty
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2022-07-18 15:42:02 +08:00
Santy-Wang
56c26db7f5
optimize renderEntity and renderDrawInfo padding ( #12042 )
...
* adjust padding
* optimize padding
* use default constructor
2022-07-18 11:48:04 +08:00
ChiaNing
6b64c7e8da
Remove custom Material flag ( #12021 )
...
* Remove custom Material flag
* remove commit model material
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-07-16 09:36:32 +08:00
zhakesi
775d2b43cc
set buffer size for middleware ( #12013 )
2022-07-15 14:21:55 +08:00
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
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
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
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
Santy-Wang
7bc135e1c7
adjust initialization process ( #11143 )
...
* adjust init process
* fix bugs
* restructure
* tweak
* delete useless code
* fix ci
* support more platform and fix some bugs
* mark internal
* tweak
* add docs
* add docs and little adjustment
* fix bugs
* adjust decorator execute order
fix mesh error
* fix bugs
* revert some change
* revert auto-generated code
* revert auto-generated code
2022-07-03 21:16:09 +08:00
pandamicro
8864f2f4c7
Merge remote-tracking branch 'cocos-for-editor/v3.5.2' into merge3.5
...
# Conflicts:
# cocos/core/components/renderer.ts
# cocos/core/global-exports.ts
# cocos/core/renderer/core/render-scene.ts
# cocos/core/renderer/core/render-window.ts
# cocos/core/renderer/scene/index.ts
# cocos/core/root.ts
# cocos/core/scene-graph/scene-globals.ts
# package.json
2022-06-09 15:20:30 +08:00
pandamicro
27b19b6f6b
Add api doc for vertex format ( #11394 )
2022-06-07 22:58:50 +08:00
minggo
7814949998
Merge branch 'v3.5.1' into v3.6.0_merge_v3.5.1
2022-05-24 11:53:57 +08:00
pandamicro
dba83c270d
Fix multi blank lines ( #11116 )
2022-05-17 11:56:06 +08:00
ChiaNing
045e6430cb
add base-Renderer and separate & rename renderableComp ( #10903 )
...
* add base-Renderer and separate & rename renderableComp
* rename
* some fix
* misc fix
* format change
* file name change & api doc add
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-05-09 17:44:56 +08:00
ChiaNing
031a8f6cf7
ui api doc change ( #10980 )
...
* ui api doc change
* fix
2022-05-06 19:58:30 +08:00
ChiaNing
28b6503087
fix some ui api doc ( #10969 )
...
* fix some ui api doc
* update
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-05-06 19:22:34 +08:00
Leslie Leigh (李的序)
5fd18f942b
Fix missed links ( #10938 )
2022-05-06 10:10:36 +08:00
ChiaNing
36d90793a8
fix meshBuffer checkCapacity bug ( #10910 )
...
* fix meshBuffer checkCapacity bug
* add test
2022-04-28 14:31:21 +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
ChiaNing
968ab9d71a
fix some api doc ( #10868 )
...
* fix some api doc
* add misc
2022-04-25 21:15:19 +08:00
ChiaNing
6ce58a2eb0
API Doc link change ( #10845 )
2022-04-25 10:30:52 +08:00
minggo
84c27e7f71
Merge branch 'v3.5.0' into v3.6.0_merge_v3.5
2022-04-24 13:41:27 +08:00
pandamicro
f15932c146
Minor module refactor in core/renderer/ ( #10643 )
...
* Move render-scene and native-scene
* Minor changes
2022-04-08 13:06:30 +08:00
minggo
a6bf766170
Merge branch 'v3.5.0' into v3.6_merge_v3.5
2022-03-29 18:26:40 +08:00
Zhang mingzhen
f7c2559944
Chunk renderdata reform v3.6 ( #10329 )
...
* reform chunk & renderdata
* add some optimizations
* update eslint
* add optimizations
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2022-03-23 11:21:33 +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