Yun Hsiao Wu
361e7149d7
UI: do most of the update before device sync ( #7565 )
2020-10-21 10:33:40 +08:00
Knox
ebe243f065
improve canvas fit design resolution code ( #7549 )
...
* improve canvas fit design resolution code
* refine code
* refine code
* refine code
* rm code
2020-10-20 18:14:07 +08:00
CocosRobot
0384ee1d64
[ci skip][AUTO]: updating jsbinding automatically ( #2931 )
2020-10-20 16:37:05 +08:00
吴智明
d5d772556c
3d gfx upgrade gradle ( #2928 )
...
* upgrade gradle version and instant app version
Signed-off-by: wuzhiming <wuzhiming.chukong@gmail.com >
* upgrade gradle config
Signed-off-by: wuzhiming <wuzhiming.chukong@gmail.com >
* fix project path
Signed-off-by: wuzhiming <wuzhiming.chukong@gmail.com >
2020-10-20 15:09:05 +08:00
Yun Hsiao Wu
d61330ee03
discrete descriptor set layout bindings ( #7536 )
...
* allow discrete descriptor set layout bindings
* specialize local DS layout
* fix binding indices mapping
* fix shadows
* UI: update buffer after device.acquire
* update shadow phase name
* ext blend minmax support
* fix splash screen on native
2020-10-20 15:08:17 +08:00
Yun Hsiao Wu
fb791ad01b
discrete descriptor set layout bindings ( #2920 )
2020-10-20 15:06:57 +08:00
Yun Hsiao Wu
19ba9138d5
vk: move wait fence to acquire time ( #2922 )
...
* vk: move wait fence to acquire time
2020-10-20 15:06:20 +08:00
Knox
17a8f8b54e
update default prefab ScollView.prefab ( #7562 )
2020-10-20 14:40:55 +08:00
minggo
48ea00bbae
Simplify codes ( #2927 )
...
* simplify codes
* format codes
2020-10-20 13:41:53 +08:00
minggo
8819954eda
remove unneeded files ( #2926 )
2020-10-20 11:27:18 +08:00
minggo
8ef6765cf7
fix event name ( #2925 )
2020-10-20 09:55:21 +08:00
minggo
e605f34bd6
dispatch memory warning event to JS ( #2924 )
2020-10-20 09:48:46 +08:00
Jare Guo
c6fa350e62
should not disable strictFunctionTypes, sync changes from jareguo/engine#4
2020-10-19 17:45:33 +08:00
江战
c9474c3299
fix android res path on win32 ( #2921 )
2020-10-19 16:24:50 +08:00
minggo
f5b1b6204f
fix url ( #2923 )
2020-10-19 16:24:30 +08:00
PP
baf39c51e6
migrate audio bug fix on 2D && support audio clone and AudioManager ( #7192 )
...
* try set web audio volume immediately
* fix web audio can't play after unpluging earphones
update
update
* support audio clone
destroy clip on ended when playing one shot
rename var
audio clone
* support audio manager
* update details
* Revert "update details"
This reverts commit 68b1245974d1f904f2698a50c2f33e438e101b23.
* Revert "support audio manager"
This reverts commit b21e3405cefc07729fb7c913ecac50402cf9c857.
* Revert "support audio clone"
This reverts commit 041744c8885a6b3bae6e7ca1fd96a3056360d286.
* rename var
rename
* support multiple playing for Dom Audio
* support multiple backend Audio Manager
* update
* move restart playing logic into player
* update maxAudioChannel
* details
2020-10-19 14:47:30 +08:00
Jare Guo
54021a9bb0
Update PR
2020-10-19 12:02:48 +08:00
Leslie Leigh (李的序)
114746ec50
Remove es5 cc class ( #7504 )
...
* Remove empty comments
* Remove CCClass() style class declaration
* Optimize
2020-10-19 11:51:37 +08:00
minggo
a05cc3d443
fix some warnings ( #2919 )
2020-10-19 10:48:23 +08:00
coulsonwang
fb8cebbbfd
fix metal blit buffer ( #2918 )
2020-10-19 10:00:40 +08:00
Jare Guo
da6ec26b52
fix sync instantiate-jit ( #7550 )
...
* Refine type define
* Fix TypedArray instantiation in Prefab (sync commit 0361c4eb4fe09021b8cecb8d2122fa05220e68fa)
* resign instantiate-jit #5114
2020-10-16 23:41:58 +08:00
coulsonwang
0f0cac425f
fix metal supported depthstencil format ( #2917 )
2020-10-16 18:40:07 +08:00
minggo
5dc8027ef0
Minor performance improve ( #2916 )
...
* only check in debug mode
* undo unneeded modification
2020-10-16 17:53:24 +08:00
minggo
0cccd2c30f
use valid egl swapper interval ( #2914 )
2020-10-16 17:37:22 +08:00
CocosRobot
241f2e3d88
[ci skip][AUTO]: updating jsbinding automatically ( #2915 )
2020-10-16 17:20:05 +08:00
minggo
855b162475
return dirty status for bind functions ( #2913 )
2020-10-16 17:07:54 +08:00
minggo
46d6a21a87
invoke native update only it is dirty ( #7546 )
2020-10-16 17:07:33 +08:00
jiaxin.lai
5589030fc5
tweaks ( #7544 )
2020-10-16 14:00:44 +08:00
ChiaNing
eaaece1bf5
ui batch marge for stencil ( #7540 )
2020-10-16 14:00:22 +08:00
cary
adee4e410b
Fix the problem of skybox black in the editor on mac. ( #7539 )
2020-10-16 13:54:53 +08:00
Myway
fd6cfb3b47
Fix terrain receive shadow and load layer texture ( #7543 )
...
* fix terrain receive shadow
* fix load layer texture
Co-authored-by: Myway3D1 <404793124@qq.com >
2020-10-16 13:50:18 +08:00
Jare Guo
2cdc3d1b8b
Refine EngineErrorMap and sync 2D changes ( #7542 )
...
* refine Color.toCSS/toHex (sync #6216 #6207 )
* refine component.resetInEditor (sync #6244 )
* Revert "Improve error maps (#5527 )"
This reverts commit 224cea23ab .
# Conflicts:
# EngineErrorMap.md
# cocos/core/assets/sprite-frame.ts
* Revert "Component rename for new standard and 2d compatibility (#7103 )"
This reverts commit 3240dba206 .
# Conflicts:
# EngineErrorMap.md
* Remove some old deprecations (sync #6271 )
2020-10-16 10:55:32 +08:00
黄森斌
91dd63d12b
component in prefab node add __prefab attr ( #7521 )
...
* prefab component add __prefab.fileId
* Editor add CompPrefabInfo to a new component
* do not create legacyCC._CompPrefabInfo
2020-10-15 23:06:27 +08:00
Myway
40f053f31e
fix terrain receive shadow ( #7535 )
...
Co-authored-by: Myway3D1 <404793124@qq.com >
2020-10-15 17:29:12 +08:00
Jare Guo
a0a992de5d
remove asserts from addChild & sync 2D changes ( #7479 )
...
* remove asserts from addChild
* expose js._registeredClassIds & js._registeredClassNames (sync #3174 )
To unload scripts dynamically.
Also revert part of changes from https://github.com/cocos-creator/engine/pull/3204/files#diff-cabe5229c3c6e31339220008e54fe853L421
* remove unused code (sync #3174 )
* minor tweak (sync #3421 )
* should not invoke component if destroy() called before node activating (sync #3430 )
* node should removed and destroyed with scene (sync #3456 #3483 )
* fix WebGL detection on Android browsers (sync #3510 )
* remove redundant right shift for bitwise operation (sync #3754 )
* fix label blur when using dark font color (sync #3949 )
* refine tooltip of Block Input Event (sync #4053 )
* fix IE/Edge exception when output log/warn before engine initialization(sync #4447 , #4500 )
* sync class, attribute (#4689 , #4712 , #4781 , #4712 )
* fix loading unknown texture format (sync #4820 )
* prefer toLowerCase to toLocaleLowerCase + sync #5114
* optimize bezier calculation (sync #5155 )
* fix potential memory leak in scene-editor (sync #5643 )
* fix _posDirty error of Mask on native platform (sync #6168 )
2020-10-15 17:28:14 +08:00
jiaxin.lai
ce7569cbe7
correct ammo kinematic object ( #7534 )
2020-10-15 16:53:44 +08:00
troublemaker52025
82cc28847b
add terrain shadow ( #7500 )
...
* add terrain shadow
* update
* update
* update
* delete temp source code
* Optimize the auto shadow
* shadow 和 0 号对齐
* add reciveshadow control
* cancel
* fix shadow effect display error
* update
* use 1.0, doesnt use 1 in glsl
* update effects
* change bbMin && bbMax use Number.MAX_VALUE && Number.MIN_VALUE
* update
* update
2020-10-15 16:48:44 +08:00
yinkaile
538ef92cb2
refine export pipeline ( #7507 )
...
* refine export pipeline
* export memory-pool
2020-10-15 15:54:57 +08:00
coulsonwang
af31f258ee
fix sphere invalid buffer pool handle ( #7529 )
2020-10-15 10:29:44 +08:00
coulsonwang
934b18cd10
fix native instanced buffer ( #7528 )
2020-10-15 10:19:11 +08:00
CocosRobot
3bd8b9b01a
[ci skip][AUTO]: updating jsbinding automatically ( #2912 )
2020-10-15 10:02:43 +08:00
minggo
977a1a30e4
add helper function to record JSB function invoking information ( #2910 )
2020-10-15 09:55:44 +08:00
coulsonwang
f490f68120
Fix instance buffer ( #2911 )
2020-10-15 09:54:36 +08:00
JoneLau
69e65b848a
adjust the Graphics structure to support continuous data filling ( #7524 )
...
* Revert "adjust the Graphics structure to support continuous data filling (#7523 )"
This reverts commit b86f3ccec1 .
* adjust the Graphics structure to support continuous data filling (#7359 )
2020-10-14 22:35:54 +08:00
minggo
918fde3a13
Enum class type ( #2909 )
2020-10-14 17:57:39 +08:00
CocosRobot
f63d664cae
[ci skip][AUTO]: updating jsbinding automatically ( #2908 )
2020-10-14 15:53:44 +08:00
minggo
d25dd22e77
do not bind gfx enum class ( #2907 )
2020-10-14 15:41:13 +08:00
minggo
17493631e9
initialize again before being reused ( #7527 )
2020-10-14 15:16:11 +08:00
minggo
0effee8613
Gfx bind ( #2905 )
...
* bind FenceInfo
* the same sequence as JS
* rename SubPass in binding codes
* make the same sequence as JS
* remove unneeded space
2020-10-14 15:14:22 +08:00
minggo
ed8ba14882
Clip gfx ( #7526 )
...
* clip fence.ts
* clip render-pass.ts
* clip queue.ts
* clip descriptor-set.ts, pipeline-layout.ts and descriptor-set-layout.ts
* clip framebuffer.ts
* clip framebuffer.ts
* remove unneeded codes
* remove unneeded codes
2020-10-14 14:33:15 +08:00