Commit Graph

1513 Commits

Author SHA1 Message Date
JoneLau e267479e41 optimized layout (#7970)
* optimized layout

* type If none, do nothing
2020-12-18 14:08:21 +08:00
troublemaker52025 d0e7e6d9a4 Canvas split Camera (#7955)
* revert

* fix eslint ci

* fix ci

* update

* update
2020-12-18 11:12:53 +08:00
Knox 695473c503 add Size to animation bound target (#7972) 2020-12-16 14:36:24 +08:00
PP e737190f54 optimize code in sys.ts (#7966)
* remove platform  related code in sys.ts

* remove browserType for minigame
2020-12-16 13:48:22 +08:00
Leslie Leigh (李的序) a3207d6bcb Suppress no-initializer warns if the property is declared to have object type (#7917)
* Suppress no-initializer warns if the property is declared to have object type

* Use 'default' in

* Update

* Revert

* Revert

* Update
2020-12-15 17:23:41 +08:00
troublemaker52025 c94b0b5aba Optimize transparent shadows (#7918)
* Optimize transparent shadows

* use eslint

* update
2020-12-15 13:54:36 +08:00
PP 0a836ac458 optimize sys info init && move in runtime adapters (#7920)
* optimize sys info init in adapters

update

* update sys init

update sys

* fix sys access

* optimize isWebIOS14OrIPadOS14Env

* update

* update

* update QTT adapter

* update sys.capacities

update sys

* update common && qtt

* add downloadFile to job module

* update engine-adapter

* update DeviceMotionEvent  adaption

* remove legacy qtt

* add link-sure adaption

* fix some bug

* update vivo adaption && fs-utils

* remove legacy link-sure

* remove dom-adapter

* remove HTMLCanvas appended to document

* update vivo

* support COCOS_PLAY

* update adapters to platforms

* remove test code

* add OPPO adapter

* add huawei adapter

* remove test code

* rename folder oppo-mini-game

* rename  folder huawei-quick-game

* rename folder vivo-mini-game
2020-12-15 11:54:13 +08:00
江战 8dcc1b372f [3.0] spine enable _premultipliedAlpha (#7960)
* fix material defines

* fix compile error
2020-12-14 18:13:20 +08:00
minggo 1277eb0288 change gfx backend initialization order (#7958)
iOS/macOS do not check gles2
android/windows check gles3 first
2020-12-14 14:13:48 +08:00
yeshao2069 d77bb856da [sync to 3.0]fix : when destory node, 'this._siblingIndex' is not update (#7938)
* fix : when destory node, 'this._siblingIndex' is not update

* update parent._updateSiblingIndex

update parent._updateSiblingIndex
2020-12-14 13:55:05 +08:00
Leslie Leigh (李的序) e96001082b Fix unwanted import specifier (#7952) 2020-12-12 13:03:40 +08:00
Santy-Wang 5d482f0e68 revert part of #7665 (#7939)
* refine image asset auto releasing

* refine
2020-12-12 11:34:34 +08:00
Yun Hsiao Wu 74ef228587 tsc issue workaound (#7950) 2020-12-12 10:38:23 +08:00
echoooooo 1f8b1ce142 feat: add Node.setRotationFromEuler(val: Vec3) overload (#7945) 2020-12-11 19:44:56 +08:00
Myway 4864b59c09 Update world bound when terrain height updated (#7921) 2020-12-11 10:16:02 +08:00
Jare Guo c10676df3c remove onBatchRestored & prefab._synced flag (sync #7163 #7271) (#7803) 2020-12-09 10:42:16 +08:00
Leslie Leigh (李的序) b8a56aba6a Override dynamic-serialize in production build (#7844) 2020-12-07 14:50:13 +08:00
zheng han 4d9bf6b43f fix systemEvent.on type check (#7924) 2020-12-07 13:35:44 +08:00
Santy-Wang 3be28fb3ce Revert "Optimize build time constants implementation (#7882)" (#7927)
This reverts commit 6f57c3ad8f.
2020-12-07 13:32:50 +08:00
cary c959a8d5eb Fix memory leap of particle system on vulkan. (#7887)
* Fix memory leap of particle system on vulkan.

* modify event name
2020-12-04 18:01:38 +08:00
Leslie Leigh (李的序) 6f57c3ad8f Optimize build time constants implementation (#7882) 2020-12-04 15:06:54 +08:00
Yun Hsiao Wu aaa2fe5abf fix local binding generation (#7879) 2020-12-04 15:05:59 +08:00
troublemaker52025 15de826b6d Optimization shadowUBO update and descriptorSet binding (#7904)
* Optimization-shadowUBO-and-descriptorset
2020-12-04 11:56:18 +08:00
Santy-Wang f90bdaaf57 fix issue of CLEANUP_IMAGE_CACHE (#7888)
* fix issue of CLEANUP_IMAGE_CACHE

* refine
2020-12-03 19:50:17 +08:00
Santy-Wang 9b80386b0c add some note about get and release (#7897) 2020-12-03 13:55:50 +08:00
troublemaker52025 6d72ccfcd9 remove shader unnecessary references (#7893) 2020-12-03 13:37:23 +08:00
troublemaker52025 b1adbfba20 fix shadow light effect error (#7876) 2020-11-30 16:29:22 +08:00
troublemaker52025 56ed7be9a5 Solve project upgrade issues (#7875) 2020-11-30 16:25:29 +08:00
troublemaker52025 14ba8c027f fix editor no shadow (#7874) 2020-11-26 14:15:17 +08:00
JoneLau be1f309b55 fixed graphics data submission problem (#7870) 2020-11-25 21:57:16 +08:00
cary b8ed581767 getUniformLocation compatible with WeChat platform (#7869) 2020-11-25 21:18:59 +08:00
ChiaNing 2cad4d7f32 baidu compress texture fix (#7872) 2020-11-25 21:18:39 +08:00
Santy-Wang cd5605c3eb only release non-gc asset in editor (#7871)
* only release non-gc asset in editor

* refine

* refine
2020-11-25 21:16:01 +08:00
Santy-Wang dcff8700c4 initialize asset even if some depend asset is missing (#7866) 2020-11-25 17:43:20 +08:00
Yun Hsiao Wu 29b6aded0d unified local DS layout (#7862)
* unified local DS layout

* minor
2020-11-25 14:02:14 +08:00
ChiaNing 974a943ae4 canvas default clean color change (#7852) 2020-11-25 09:45:18 +08:00
cary 4b9afa440e Fix the display error of the mask scene. (#7861) 2020-11-25 09:42:42 +08:00
troublemaker52025 adbf91270a fix planar shadow local ds layout (#7854) 2020-11-24 19:20:20 +08:00
minggo 98c2fb3158 fix device resolution (#7856)
* fix device resolution

* only use device resolution on native
2020-11-24 18:24:51 +08:00
cary 9fef80571f Separate the runtime data of the effect in program-lib. (#7842)
* Separate the runtime data of the effect in program-lib.

* add space
2020-11-24 10:23:59 +08:00
troublemaker52025 6a555ad1a9 fix shadow binding error (#7848) 2020-11-23 17:44:45 +08:00
Santy-Wang 9160abd320 hide fallback effect in editor (#7840)
* hide fallback effect in editor

* refine
2020-11-23 11:06:46 +08:00
troublemaker52025 1848010664 Fix customize descriptor not bingding shadow map (#7836)
* fix Multiple light sources not bingding globle CC_SHADOW_MAP

* update
2020-11-20 16:18:10 +08:00
troublemaker52025 e4e5ba72a0 Refactoring shadow ubo submit (#7824)
* refactorning shadow UBO submit

* update

* update

* add destory()

* Conflict effects resolution

* fix planar shadow shader error  &&  fix CC_ShadowMap no bounding error

* update
2020-11-20 09:34:15 +08:00
cary 2480d26cf2 Fix shadow map not binding. (#7829) 2020-11-20 09:31:38 +08:00
江战 1acfbd1c70 [3.0] add DragonBones (#7831) 2020-11-20 09:31:07 +08:00
Jare Guo dc2a731c7e Cocos Creator 3D -> Cocos Creator (#7823) 2020-11-19 19:14:30 +08:00
cary b266d9ef03 Modify the initialization of scene global. (#7513)
* Modify the initialization of scene global.

* delete type of fog

* fix render error

* merge upstream 3d

* modify fog chunk

* commit effect
2020-11-19 18:08:32 +08:00
Leslie Leigh (李的序) 16cc7569eb Introduce the EXPORT_TO_GLOBAL (#7820)
* Introduce the `EXPORT_TO_GLOBAL`

* Bump version
2020-11-19 15:54:33 +08:00
江战 ea12c6ca6d [3.0] bugfix: spriteframe support flip X & flip Y (#7788)
* spriteframe support flip X & flip Y

* rename properties & reduce garbage objects while cloning
2020-11-19 15:00:11 +08:00