Santy-Wang
a6ffd14c23
optimize decorator performance ( #10323 )
...
* optimize decorator performance
* refine
* debug
* delete useless code
* add ccclass
* add freeze
2022-03-16 18:16:21 +08:00
Cocos Robot
cd6b22312a
[ci skip][AUTO]: Automated clang-format update: 28eb614cf3ba9a0eae9404d84073010e82279726 ( #10344 ) ( #10358 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-03-16 16:35:01 +08:00
timlyeee
b9353eb18c
only free for native ( #10369 )
2022-03-16 16:31:04 +08:00
fish9167
82cd89d260
Update native-compile-platforms.yml ( #10362 )
...
* Update native-compile-platforms.yml
更新 windows 镜像版本
限制任务触发条件(native 目录下有文件修改才会触发该任务)
* Update automation_labels.yml
组织名称修改
* change Visual Studio version
修改 Visual Studio 版本(2017-->2019)
* Update native-simulator.yml
更新 windows 镜像版本
限制任务触发条件(native 目录下有文件修改才会触发该任务)
2022-03-16 16:00:23 +08:00
Zhang mingzhen
9c37363b69
use approx instead of === ( #10357 )
...
* use approx instead of ===
* remove rebundant as
2022-03-16 13:39:11 +08:00
Leslie Leigh (李的序)
02138a9e72
Export Value in animation namespace ( #10360 )
2022-03-16 13:38:04 +08:00
qiuguohua
1a90cd9013
Windows platform handles multiple events at once ( #10344 )
...
* The windows platform handles multiple events at once
2022-03-16 10:33:37 +08:00
qiuguohua
eb3a863a28
Replace addPermanentRegisterCallback with addRegisterCallback. ( #10350 )
2022-03-16 10:32:47 +08:00
kenshin
e4743d6373
avoid spine and dragon crash. ( #10314 )
2022-03-15 18:40:50 +08:00
pandamicro
8281503c4d
Merge pull request #10346 from cocos/v3.4.2
...
Optimize memory occupation of RealCurve, CurveRange (#10328 )
2022-03-15 18:09:08 +08:00
Zhang mingzhen
8d3c975116
Rich text v align v3.5 #9984 new ( #10340 )
...
* add vertical alignment attribute
(cherry picked from commit fc4013e4016203c9ff13c3fb55ab24d8f6afdd82)
* set vertical alignment
(cherry picked from commit 60afa526e215c6e599560683427701baf42595c8)
* distinguish hAlign and vAlign
(cherry picked from commit 010e097b5c862a8373e860f01c1104b6396f81ba)
* use as instead of instanceof
* reorder attributes
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2022-03-15 16:27:30 +08:00
jk20012001
766b7efb2a
Fix : #11580 create new light source intensity display type unknown ( #10324 )
2022-03-15 14:32:14 +08:00
jk20012001
6e4d4a30ac
code style for surface shader ( #10326 )
2022-03-15 14:31:41 +08:00
zhakesi
9a4cf3784e
fix spine in native platform can not get animation name ( #10303 )
2022-03-15 11:02:07 +08:00
Leslie Leigh (李的序)
c6eb388e6a
Optimize memory occupation of RealCurve, CurveRange ( #10328 )
...
* Optimize memory occupation of RealCurve, CurveRange
* Fix type
2022-03-15 10:03:46 +08:00
jk20012001
d6cc1a4094
deferred shading code revert to 3.4.2 ( #10339 )
...
* deferred shading code revert to 3.4.2
* code style
2022-03-14 20:11:47 +08:00
jk20012001
48e45ce2d7
fix compiling error with merged code ( #10332 )
...
* fix compiling error with merged code
* code style
2022-03-14 17:53:06 +08:00
黄森斌
396dca5ce1
modify diffuseMap property visible ( #10333 )
2022-03-14 17:00:02 +08:00
mmyduckx
14653478a5
fix ios icon res lost ( #10336 )
2022-03-14 16:51:15 +08:00
Leslie Leigh (李的序)
c40f51a860
Fix skinned mesh morph rendering ( #10318 )
2022-03-14 16:19:06 +08:00
Zhang mingzhen
8d0108807e
Rich Text Optimization ( #9601 )
...
* split long string into short pieces
* Add '\n' toughly, to be optimized.
* Unified offset of rendering label of ttf and bmfont
* remove chinese or redundant explanations
* step1.optimize truncate long string
* step2: add details
* optimization of tough switching line
* 1. add condition if maxWdith is over 2048.
2. add a ErrorOffset to avoid a little characters will overstep these designed lines.
* remove log
* remove rebundant code and rename the method
* resolve bug: complete english words are truncated
* revert "remove annotations"
* Revert "Unified offset of rendering label of ttf and bmfont"
This reverts commit 37d6a57d820ad5be09a90510526e85e8cca77c5a.
* optimize split algorithm
* consider one char step condition (for chinese characters)
* update conditions causing many bugs
* remove rebundant code
* add two optimizations
1. split with '\n' earlier, excute the method less;
2. when the left string size is less than 2048, the method can finish.
* remove annotated code
* resolve confict
* add internal annotation
* replace "internal" by "engineInternal"
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2022-03-10 16:21:47 +08:00
zhakesi
8561d5e686
fix dragonbones/spine sockets transform ( #10260 )
2022-03-10 16:18:28 +08:00
Leslie Leigh (李的序)
93b856b98e
Make animation module optional ( #10257 )
2022-03-10 11:55:11 +08:00
Yun Hsiao Wu
df6465c723
remove debug code ( #10293 )
...
they use overly-strict memory orders, which is not good to keep around
anyways
2022-03-10 09:42:26 +08:00
Yun Hsiao Wu
a291000259
update default content ( #10273 )
2022-03-09 18:23:43 +08:00
Zhang mingzhen
b2e497adc5
update richtext truncation condition (new) ( #10252 )
...
* update richtext truncation condition
(cherry picked from commit 585eab687a039e5e6caa76ac465b4285f3711710)
* remove rebundant condition
(cherry picked from commit a04bef01fbe8ff61ae3aebc1daf8fe5bda2d58cf)
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2022-03-09 16:09:00 +08:00
ChiaNing
0027a64f8d
add auto atlas unit test ( #10247 )
2022-03-09 10:15:12 +08:00
Leslie Leigh (李的序)
e86ee1a247
@disallowAnimation should not imply visible ( #10262 )
2022-03-08 16:27:30 +08:00
pandamicro
a80f700a17
Merge pull request #10258 from holycanvas/v3.5.0-merge
...
sync v3.4.2
2022-03-08 11:39:03 +08:00
santy-wang
10349e567d
Merge branch 'v3.4.2' of https://gitlab.cocos.net/publics/engine into v3.5.0
2022-03-08 10:21:39 +08:00
timlyeee
bb62e41c40
fix crash when app jump to camera ( #10255 )
2022-03-08 09:42:23 +08:00
徐兵
62f06c6ef7
Optimized Delete Skybox Environment Map ( #10248 )
2022-03-06 21:15:33 +08:00
SijieWang
d54dd94650
[Optimize] git update external ( #10242 )
...
* [Optimize] git update external
* review code
Co-authored-by: Sijie <devhacker520@hotmail.com >
2022-03-04 17:42:02 +08:00
ChiaNing
cb721f1d81
fix atlas bug when spriteframe is null ( #10239 )
2022-03-04 11:57:15 +08:00
zhakesi
d70256b7b5
avoid middileware-2d copping buffer from native to js ( #10235 )
...
* avoid middileware-2d copping buffer from native to js
* remove redundant function
2022-03-04 11:48:51 +08:00
troublemaker52025
273fa0162e
Change planar shadow func name v3.5.0 ( #10174 )
...
* change planarShadow func name for v3.5.0
* update
* Modify semantics
* delete @range slide
2022-03-03 17:53:00 +08:00
ChiaNing
9f1a230018
fix merge batches bug when multi canvas ( #10232 )
2022-03-03 11:07:39 +08:00
ChiaNing
bd89a7bc1a
protect when texture insert to atlas ( #10214 )
2022-03-03 10:01:24 +08:00
timlyeee
65fcf6c0b4
Return aabb objects back to pool ( #10230 )
2022-03-03 09:45:42 +08:00
黄森斌
4f05432c23
Displayorder is removed from the edit template and is taken over completely by the decorator ( #10165 )
2022-03-02 21:14:37 +08:00
PP
36df8185ca
cache system info on ByteDance platform ( #10218 )
2022-03-02 19:58:40 +08:00
bofeng-song
65e89c2094
fix translucent problem due to SurfaceView‘s limit ( #10228 )
2022-03-02 17:47:27 +08:00
timlyeee
c91db1f369
Fix ios device display effect ( #10184 )
...
* Fix ios device display effect
2022-03-02 10:27:51 +08:00
Cocos Robot
25399bc1a9
[ci skip][AUTO]: Automated clang-format update: bbb83c366fce82c1d817e53907a8cdffdccd5b41 ( #10096 ) ( #10224 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-03-02 10:18:31 +08:00
Cocos Robot
2cfc659779
[ci skip][AUTO]: Automated clang-format update: dc993f3861cb486d66fd4de1de2bf861b0d97b96 ( #10211 ) ( #10222 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-03-02 10:17:46 +08:00
Cocos Robot
54cfb9f897
[ci skip][AUTO]: Automated genbindings update: dc993f3861cb486d66fd4de1de2bf861b0d97b96 ( #10211 ) ( #10223 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-03-02 10:17:32 +08:00
Yiwen
b2ec8b022f
select mipmap levels dynamically ( #10096 )
...
* draft
* fix some stupid bugs introduced in the lase commit
* fixed bug when init webgl's texture.
* draft
* fix some bugs
* fix some warnings
* fix undefined type cast
* For Vulkan device, query the storage feature through optimal tiling instead of linear tiling.
* fix some bugs appear when resize texture, clean the changes. all tests passed.
* remove debug codes, improve performance, correct the framebuffer size.
* make some input parameters readonly
* Make the gfx function's parameter's access priority the same as native engine
* remove uncessary members and interface for ES3, move getGLSampler into IWebGL2GPUSampler, delete WebGL2CmfFuncCreateSampler...
2022-03-02 10:15:34 +08:00
bofeng-song
141128f148
refine context2d, reduce call from native to js ( #10211 )
...
* reduce c++ callback to js
2022-03-02 09:56:00 +08:00
James Chen
35bb7dd261
Update .gitignore to ignore native/external dir ( #10216 )
2022-03-01 18:36:54 +08:00
jk20012001
e6f156c841
fix unnecessary include for surface shader ( #10220 )
2022-03-01 18:21:32 +08:00