Commit Graph

11461 Commits

Author SHA1 Message Date
Zhang mingzhen 6601d1d2de Label string setter optimization (#9880)
* remove rebundant onDisable

* update label.string.setter and add unit test case

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2021-12-28 11:27:58 +08:00
Yun Hsiao Wu 437b5c3d81 material.copy accepts overrides (#9881) 2021-12-28 11:12:24 +08:00
fish9167 5ffe5aee23 Add GitHub Action (#9872)
* Add GitHub Action

Add GitHub Action: run test cases

* Update run_test_cases.yml

* Update run_test_cases.yml

* Update run_test_cases.yml

* Update run_test_cases.yml

* Update run_test_cases.yml

* Update run_test_cases.yml

* Update run_test_cases.yml

* Update run_test_cases.yml

retry github action

* Update run_test_cases.yml

updata npm

* Update run_test_cases.yml

* Update run_test_cases.yml

* Update run_test_cases.yml

* Update run_test_cases.yml

retry github action

* Update run_test_cases.yml
2021-12-28 11:08:31 +08:00
PP 3a3f1ea151 fix set frame rate on runtime (#9874) 2021-12-27 14:35:18 +08:00
minggo 4680589de7 detach from scene before destroying Model/Light (#9869) 2021-12-27 10:42:26 +08:00
ChiaNing 36a078e7cb Revert "Add extra steps to the destroy functions to update the cached resources. (#9854)" (#9873)
This reverts commit acb3fce607.

Co-authored-by: Yiwen <15225434259xue@gmail.com>
2021-12-24 19:26:02 +08:00
jk20012001 0c19b9a883 fix define syntax error (#9870)
* fix define syntax error

* fix toon shader syntax error
2021-12-24 17:36:47 +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
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
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 bb55156164 add decorator “serializable” (#9848)
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2021-12-21 16:29:47 +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
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
zxx43 65843b787f add burst restart (#9832) 2021-12-17 13:24:18 +08:00
Myway a8e5c2286c fix terrain _updateHeight texcoord error (#9809) 2021-12-17 11:17:33 +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
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
pandamicro 8c2f07fb86 change default alpha blend params (#9784) (#9825)
Co-authored-by: zxx43 <zxx43@hotmail.com>
2021-12-16 13:41:21 +08:00
ChiaNing 5a02e89225 remove DrawCall in DrawBatch (#9824) 2021-12-16 13:10:26 +08:00
jk20012001 c33317470a update compiled shaders (#9822)
* update compiled shader

* Fix #10433: 打开safari webgl1 ddx ddy指令的扩展 (#9820)
2021-12-15 16:57:45 +08:00
Santy-Wang 8c9ce57304 bump engine version (#9818) 2021-12-15 16:39:43 +08:00
jk20012001 497769947f Fix #10433: 打开safari webgl1 ddx ddy指令的扩展 (#9820) 2021-12-15 16:37:59 +08:00
zhakesi 3a165fb7d3 fix natvie gc function (#9810) 2021-12-14 14:02:34 +08:00
Zeqiang Li 581ac9fe3b append effect.ts (#9808)
* fix crash on mtk chip

* append effect.ts

* append glsl
2021-12-13 19:02:20 +08:00
Zeqiang Li 249af30b54 fix crash on mtk chip (#9807) 2021-12-13 18:27:13 +08:00
ChiaNing 34b1b70431 fix bmfont line width bug (#9793)
* fix bmfont line width bug

* Fix CI

* fix CI
2021-12-13 16:25:23 +08:00
kenshin 385bf0e3dc Fix particle display anomaly. (#9795) 2021-12-13 15:39:14 +08:00
zheng han d835b0bc99 fix prefabInstance creation under mounted children (#9804) 2021-12-13 15:32:09 +08:00
zheng han 85e321819e fix __prefab copy (#9792)
known eslint issue in `instantiate.ts`
2021-12-13 15:30:21 +08:00
媛媛 ba1c5ecdc8 fix image save meta (#9799) 2021-12-13 15:19:42 +08:00
pandamicro 487afb9c9f Upgrade internal asset meta (#9800) 2021-12-11 16:50:14 +08:00
troublemaker52025 afe53d9d71 fix shadowMap sampler accuracy loss for v3.4.0 (#9794) 2021-12-10 18:16:05 +08:00
jk20012001 c8aeb5908f Add scene panel component help url and item tooltips (#9783)
* 增加场景面板help和tooltips

* 增加场景面板help和tooltips

* update tooltips

* Apply suggestions from code review

Co-authored-by: yufang.wu <2435731537@qq.com>

* Apply suggestions from code review

Co-authored-by: yufang.wu <2435731537@qq.com>

Co-authored-by: yufang.wu <2435731537@qq.com>
2021-12-09 18:58:22 +08:00
PP 9821be2b68 fix the same name of branches for interface check (#9789)
* fix the same name of branches for interface check

* update

* fix rebase
2021-12-09 16:16:12 +08:00
Zeqiang Li c6ddec684a fix webgl2.0 context lost when launched (#9788) 2021-12-09 15:52:42 +08:00
PP be64b26899 fix rebase branch on interface check CI (#9786)
* fix rebase branch on interface check CI

* remove package-lock.json

* add running state

* Revert "add running state"

This reverts commit 49cb1689313f567598788d1516b5818f301a59ba.
2021-12-09 15:34:40 +08:00
Leslie Leigh (李的序) b4ec6c576e Fix AnimationGraph.disconnect() (#9785)
* Fix AnimationGraph.disconnect()

* Update comment
2021-12-09 15:29:19 +08:00
Yun Hsiao Wu 810dbc7e29 fix int block init (#9781) 2021-12-08 12:50:44 +08:00
Leslie Leigh (李的序) 080053bc33 Empty tracks shall not take effect (#9777)
* Empty tracks shall not take effect

* Fix test

* Fix test
2021-12-08 10:31:20 +08:00
ChiaNing da2f73e096 fix nearest filter texture packed bug (#9780) 2021-12-08 10:09:04 +08:00
ChiaNing a355971692 fix RichText image offset bug (#9778) 2021-12-08 10:06:13 +08:00
zhakesi 87937148c4 fix init opacity status. (#9764) 2021-12-06 19:50:49 +08:00