zhakesi
fed044e8fb
optimize opacity update ( #9679 )
...
* optimize opacity update
* remove _cacheAlpha
* modify code style
* Update cocos/core/scene-graph/node-ui-properties.ts
* Update cocos/core/scene-graph/node-ui-properties.ts
* 1. supplement unit test case
2. supplement default dirty parameter
(cherry picked from commit 7e62d265ffbc8566e92bfcc10c1f9eb68e081487)
Co-authored-by: Santy-Wang <wh19930829@qq.com >
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2021-11-19 17:35:19 +08:00
ChiaNing
cbc142f89c
fix label memory leak when destroy ( #9677 )
...
* fix label memory leak when destroy
* function move
2021-11-17 17:15:19 +08:00
ChiaNing
4a60f0a513
fix image Stencil bug ( #9478 )
2021-10-14 10:30:01 +08:00
ChiaNing
c7e432e50b
fix trim bug ( #9451 )
2021-10-14 10:29:36 +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
ChiaNing
a7716e4347
fix Fix label outline artifact on web platforms ( #9307 )
2021-09-09 15:32:19 +08:00
ChiaNing
2f861cd38d
fix mesh Buffer vertexCount Bug ( #9155 )
2021-08-09 18:29:16 +08:00
Santy-Wang
9d23637f06
delete useless code ( #8601 )
...
* delete useless code
* refine format and fix typo
2021-07-09 14:38:04 +08:00
ChiaNing
cbf7090542
sprite fillbuffer cache & sprite misc change when set spf ( #8876 )
...
* sprite fillbuffer cache & sprite misc change when set spf
* misc fix
* remove Rect Dirty & add uiTransformDirty
* remove getHash
2021-06-25 13:57:24 +08:00
zxx43
e1f5d7393a
V3.1.2 optimization #7487 ( #8743 )
...
* optimize fillBuffers & updateWorldTransform
* modify _updateWorldAlpha & invalidateChildren
* 3d should consider parent rotation, so use the Vec3.transformMat4 function
* remove if check null
* remove if check
2021-06-02 11:25:40 +08:00
ChiaNing
587c40dc31
add char mode warn when size too big & sprite dirty bug ( #8595 )
...
* add char mode warn when size too big & sprite dirty bug
* update
2021-04-29 16:38:25 +08:00
ChiaNing
122c354bfd
fix label alpha bug ( #8572 )
2021-04-28 10:27:09 +08:00
ChiaNing
00aca35ef2
fix some deprecated value warn ( #8553 )
2021-04-25 21:08:58 +08:00
ChiaNing
d86feb9eae
name change ( #8554 )
2021-04-25 21:08:33 +08:00
ChiaNing
f1735ee251
fix ui opacity bug on some type ( #8549 )
2021-04-25 20:27:29 +08:00
Yun Hsiao Wu
8d2c784fb4
fix text fill style ( #8499 )
2021-04-20 16:32:23 +08:00
ChiaNing
edfaa4ad64
UI opacity Refactoring ( #8384 )
...
* UI opacity Refactoring
* add dirty flag
* fix bmfont
* change for update
2021-04-16 19:03:41 +08:00
ChiaNing
00b304674b
Fix label artifact on web platforms ( #8442 )
...
* Fix label artifact on web platforms
* update for one
* add notice
2021-04-14 13:32:45 +08:00
ChiaNing
24e9e573f0
fix richText maxWidth bug ( #8345 )
...
* fix richText maxWidth bug
* add notice
2021-03-11 19:12:47 +08:00
zhefeng.zhang
29bc42e0ba
sync pr 7501 & 7914 ( #7915 )
...
* sync pr 7501 & 7914
* fixed when use two tiled sprite
* 解决冲突
* Revert "解决冲突"
This reverts commit 8cd4cd9c2d4de17910ae34c98d8b309e0a3c1763.
* refine code
* refine cod
* 资源下载任务创建统一使用create接口 (#8266 )
* upload
* upload
* correction code
* Revert "correction code"
This reverts commit b794b5a54f73b92e79bd97c8ec3f3ba98784f62b.
* refine code
Co-authored-by: QinSheng <1053128593@qq.com >
2021-03-03 15:00:34 +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
Leslie Leigh (李的序)
9bd9baac12
Eslint autofix all ( #8108 )
...
* Eslint autofix all
* Manual fix
2021-01-09 11:41:10 +08:00
ChiaNing
0a6a007c0f
add canvas pool length settings ( #8093 )
...
* add canvas pool length settings
* name change
2021-01-07 14:13:06 +08:00
李学武
8e7d11f66d
_nodeContentSize should copy value ( #8043 )
...
Co-authored-by: lixuewu <lixuewu@17paipai.com >
2021-01-06 15:35:16 +08:00
JoneLau
cc84d2af46
activate model before drawing to avoid the user from filling the data without the node being activated ( #8053 )
2020-12-30 19:51:57 +08:00
pandamicro
b6c2ae7db9
Refactor Graphics impl.getRenderData to getRenderDataList ( #8042 )
2020-12-29 11:45:31 +08:00
JoneLau
47334c9c84
fix the problem that mask data is delayed to be updated by one frame ( #8039 )
...
* fix the problem that mask data is delayed to be updated by one frame
* fix ci
2020-12-29 10:29:48 +08:00
ChiaNing
b85a367309
fix label bug (update UV when texture change) ( #8041 )
...
* fix label bug (update UV when texture change)
* Circular reference fix
2020-12-28 20:41:22 +08:00
ChiaNing
66555423da
ui pass refactoring ( #8024 )
...
* ui pass refactoring
* native fix & blend hash update
* doc update
2020-12-26 18:42:14 +08:00
ChiaNing
4461eb1d12
DynamicAtlas support ( #8017 )
...
* DynamicAtlas support
* CI fix
2020-12-26 14:28:30 +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