Commit Graph

17466 Commits

Author SHA1 Message Date
jk20012001 0c19b9a883 fix define syntax error (#9870)
* fix define syntax error

* fix toon shader syntax error
2021-12-24 17:36:47 +08:00
Greg1129 4462b96617 issue 10384 memory leak fix (#4115)
* issue 10384 memory leak fix
2021-12-24 14:39:12 +08:00
troublemaker52025 c418fa8893 fix shadow queue performance for v3.4.1 (#4119)
* fix shadow queue performance for v3.4.1
2021-12-24 14:38:36 +08:00
jk20012001 db9b17a45e Fix #10538: Android+WebGL PS struct variables has mediump precision (#4120) 2021-12-24 11:01:58 +08:00
jk20012001 eb883997a1 Fix #10538: Android+WebGL PS struct variables has mediump precision (#9863)
* Fix #10538: Android+WebGL PS struct variables has mediump precision

* update compiled shaders

* review modification

* update compiled shaders
2021-12-24 11:01:54 +08:00
Zhang mingzhen 0624fb1d2e Mask not work with spine v3.4.1 (#9864)
* add condition spine preRenderComponent validation before autoMergeBatches

(cherry picked from commit 04fcebde46ec264c0f09e6afdcba54ae6935a1fc)

* add explanations

(cherry picked from commit 72f8439cfdeda28d4f9b944b4f3d5640bbd05fb3)

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2021-12-23 18:59:26 +08:00
troublemaker52025 bc7afddd4a fix shadow queue perfprmance for v3.4.1 (#9862)
* fix shadow queue perfprmance for v3.4.1

* update
2021-12-23 17:22:30 +08:00
jk20012001 c1146b813c Fix skeleton model receive shadow macro error and toon shadow display errors (#9836)
* 修复骨骼模型接受阴影的开关无效 及 toon shadow计算的错误

* toon精确判断背光面及强制所有面接受阴影

* toon使用参数来调节接受阴影的区域
2021-12-23 17:18:34 +08:00
PP 1f58fbff6c cache systemInfo on Cocos Play platform (#9856)
* cache systemInfo on Cocos Play platform

* resize swapChain
2021-12-23 11:40:00 +08:00
SijieWang eb3b2e3757 Update effect (#9858)
Co-authored-by: Sijie <devhacker520@hotmail.com>
2021-12-22 17:01:20 +08:00
Yiwen acb3fce607 Add extra steps to the destroy functions to update the cached resources. (#9854)
* Add extra steps to the destroy functions to update the cached resources.
This will make sure that the resources in device.stateCache is valid.

* unbind a resource before destroying it

* remove unnecessary non-null assertion

* update the state after the destruction to make the process robust
2021-12-22 16:06:22 +08:00
pandamicro decf7e92fa Merge pull request #9853 from holycanvas/v3.5.0-sync
sync v3.4.1
2021-12-22 16:01:31 +08:00
PP cc01fad918 support internal interface filter (#9797)
* support interface filter

* publish build-engine@4.2.20-beta.1

* update

* fix other type of statement

* publish @cocos/build-engine 4.2.20

* update lock

* remove `@internal` from constructor documentation

* change to internal_cc tag

* support target tag in interface-filter

* publish  4.2.21-beta.1

* remove `@private_cc` tag

* remove public internal interface

* remove public internal getter setter

* remove public declare internal property

* update

* remove `__editorExtrasTag__`

* remove public internal interface on `js`

* pulish @cocos/build-engine 4.2.21-beta.2

* change tag to `@deprecated_to_user`

* support `@deprecated_to_user`

* publish 4.2.21-beta.3

* finish change request

* change to marked_as_engine_private

* publish 4.2.21-beta.5
2021-12-22 12:55:45 +08:00
minggo 38b03565f1 Merge pull request #4117 from cocos-creator/v3.4.0
V3.4.0
2021-12-22 10:54:15 +08:00
minggo ac2045b0e0 Merge branch 'v3.5.0' into v3.4.0 2021-12-22 10:31:27 +08:00
santy-wang 5899123ce0 Merge branch 'v3.4.1' of https://gitlab.cocos.net/publics/engine into v3.5.0 2021-12-22 10:31:17 +08:00
Yun Hsiao Wu 92797e1efa disable multi_draw extension on mobile (#9835) 2021-12-21 17:53:05 +08:00
zxx43 7ece432cbc Improve gpu particle performance (#9847)
* improve gpu particle performance

* fix eslint error
2021-12-21 17:50:34 +08:00
PP 10634ea544 resctrict DPR on Web platform (#9850) 2021-12-21 17:21:25 +08:00
Zhang mingzhen de78f6c7a8 optimization: set same value attribute v3.5 (#9744)
* return process when same value attributes are assigned

* add warn log in ErrorMap

* optimize upper character

* remove warn when same texture is assigned

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2021-12-21 17:20:41 +08:00
Zhang mingzhen bb55156164 add decorator “serializable” (#9848)
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2021-12-21 16:29:47 +08:00
江战 ff533953ab allow tick() in background (#4083) 2021-12-21 15:50:45 +08:00
李吉林 303c3ee478 safely destroy the geometry data (#9849) 2021-12-21 15:21:33 +08:00
Zeqiang Li 4b1422a7f3 event init & mem align (#4116) 2021-12-21 11:08:11 +08:00
xubing 2ef43a2bb2 repair UseHDR button& Skybox HDR status (#9843)
Co-authored-by: xubingbing <bingbing.xu@cocos.com>
2021-12-20 16:34:37 +08:00
timlyeee c489a8a254 Remove origin code for twice call to java method. (#4114)
* remove use of cc::Device::getDeviceOrientation(), which will call java method again rather than jint rotation.
* Use switch and change it to cc::Device::Orientation, because ROTATION only defined on Android and OHOS.
2021-12-20 15:01:18 +08:00
minggo d37730e82c Merge pull request #4113 from cocos-creator/v3.4.0
Correct visibility type (#4111)
2021-12-20 10:57:25 +08:00
Cocos Robot f6e22b52da [ci skip][AUTO]: Automated genbindings update: 6fc87e9f802187bcabcc24b4c0e00b79abd27412 (#4109) (#4112)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2021-12-20 10:46:14 +08:00
troublemaker52025 4e231f4232 updateLightingmap sync to native-engine for v3.4.1 (#4109)
* updateLightingmap sync to native-engine for v3.4.1
2021-12-20 10:34:23 +08:00
troublemaker52025 773bf57c61 updateLightingmap sync to native-engine for v3.4.1 (#9828)
* updateLightingmap sync to native-engine for v3.4.1

* update

* merge JSB binding
2021-12-20 10:32:57 +08:00
pandamicro 95554092bc Merge pull request #9839 from cocos-creator/v3.4.0
Merge v3.4.0 official
2021-12-19 16:25:15 +08:00
pandamicro 03484abb9b Correct visibility type (#4111) 2021-12-18 18:14:57 +08:00
zhakesi 24b08a6d4c fix pixels offset (#9829) 2021-12-17 14:01:09 +08:00
pandamicro 3a63726b19 Merge pull request #9834 from holycanvas/v3.5.0-sync
sync v3.4.1
2021-12-17 13:32:06 +08:00
zxx43 65843b787f add burst restart (#9832) 2021-12-17 13:24:18 +08:00
袁炜海 f7922ccb33 feat: add assets document link (#9823) 2021-12-17 13:23:03 +08:00
santy-wang ff45004a93 build effect 2021-12-17 11:23:56 +08:00
santy-wang fd7ddb2477 bump version 2021-12-17 11:21:13 +08:00
Myway a8e5c2286c fix terrain _updateHeight texcoord error (#9809) 2021-12-17 11:17:33 +08:00
santy-wang 2355247db0 Merge branch 'v3.4.1' of github.com:cocos-creator/engine into v3.5.0 2021-12-17 11:06:22 +08:00
ChiaNing 07a78f4a55 add profiler reset (#9806) 2021-12-17 10:56:16 +08:00
PP b11686b4dc compability for undefined game frame (#9830) 2021-12-16 19:18:16 +08:00
minggo e39502640a Merge pull request #4108 from cocos-creator/v3.4.0
Merge V3.4.0
2021-12-16 17:07:54 +08:00
江战 df01dd026a close uv_handle_t (#4106) 2021-12-16 15:27:11 +08:00
pandamicro d2c42d02c6 Merge branch 'v3.4.0' into v3.4.1
# Conflicts:
#	cocos/core/builtin/effects.ts
#	cocos/core/builtin/shader-sources/glsl1.ts
2021-12-16 14:51:39 +08:00
minggo 989351e2f8 Update config.json (#4105) 2021-12-16 14:03:22 +08:00
minggo 7d71483d95 Update config.json (#4107) 2021-12-16 13:41:52 +08:00
pandamicro 8c2f07fb86 change default alpha blend params (#9784) (#9825)
Co-authored-by: zxx43 <zxx43@hotmail.com>
2021-12-16 13:41:21 +08:00
minggo 7b48873011 Update config.json (#4104) 2021-12-16 13:40:37 +08:00
ChiaNing 5a02e89225 remove DrawCall in DrawBatch (#9824) 2021-12-16 13:10:26 +08:00