Commit Graph

18012 Commits

Author SHA1 Message Date
jk20012001 3cf9aaee4e arrange chunks (#11551)
* arrange chunks

* update compiled shaders

* code style
2022-06-16 22:14:09 +08:00
Santy-Wang e87910e851 support get component with abstract class (#11561) 2022-06-16 20:28:55 +08:00
minggo 9aeafd6510 use sys.hasFeature() to fix warning (#11557) 2022-06-16 20:25:17 +08:00
zhakesi 427b665158 add tips for quaternion normalize (#11513) 2022-06-16 20:09:28 +08:00
PP 7b3a08c923 fix webp support detect on Safari 14+ (#11552) 2022-06-16 20:03:53 +08:00
SijieWang 934d94c68b [Optimize] Reflection Convolution: shortcuts on scene (#11421)
* [Optimize] Reflection Convolution: shortcuts on scene

* review code

* review code
2022-06-16 18:35:50 +08:00
江战 daf518c416 3.6 fix inspector on android target sdk 30+ (#11548)
* re-select debug port
2022-06-16 17:57:17 +08:00
Yiwen fcd873895d add a method to force update the descriptor (#11550)
* add a method to force update the descriptor
2022-06-16 17:40:33 +08:00
timlyeee ab374ba4a5 force exit engine and application (#11532)
* force exit engine and application
2022-06-16 16:42:40 +08:00
jk20012001 2a122bfc68 builtin\internal-functions rename to builtin\functionalities (#11546) 2022-06-16 15:51:03 +08:00
Santy-Wang 0a671558cc fix build-effect failed (#11537) 2022-06-16 14:58:51 +08:00
Cocos Robot a0fe333237 [ci skip][AUTO]: Automated code generating update: 11020dc1fbd921e396071841dcbb4c3131b4a60a (#11536) (#11543)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-16 14:42:16 +08:00
James Chen 19ca60062c fixed #11310: [v3.6][bug] VideoPlayer script error (#11536) 2022-06-16 14:11:33 +08:00
minggo 3e818c45c9 Change macro name (#11528)
* CC_PLATFORM_MAC_IOS -> CC_PLATFORM_IOS

* CC_PLATFORM_MAC_OSX -> CC_PLATFORM_MACOS

* add codes to keep compatible
2022-06-16 14:05:16 +08:00
江战 0f0b722318 follow MDN standard, fix Origin header format (#11509) 2022-06-16 14:00:55 +08:00
江战 2565e358cb V3.6 fix bigint conversion (#11522)
* add runtime checkout for bigint conversion
* increase log level to warning
2022-06-16 13:58:52 +08:00
James Chen fcebfcb1b9 [JSB] Fix some performance issues for 3.6.0 branch (#11523)
* [JSB] Fix wrong path of  pipeline-state.ts in cc.config.json which causes pipeline-state.jsb.ts takes no effect.

* [JSB] Optimize MeshRenderer.setInstancedAttribute for native. Avoid to generate temporary JSB objects.

* [JSB] Optimize se::Object::getArrayLength.

* Reorder typedarray type in Object::getTypedArrayType, check Float32Array first since we use Float32Array and unsigned integer much more frequently.

* More std::vector.reserve in InstancedBuffer.cpp & Model.cpp

* Update stack size to 64 bytes for array in js_Model_setInstancedAttribute
2022-06-16 13:56:38 +08:00
minggo a35a510af3 update readme (#11534) 2022-06-16 13:39:54 +08:00
James Chen 36ecf92db0 fixed #11481: [JSB] Support std::string_view conversion (#11491)
* fixed #11481: [JSB] Support std::stringview conversion
2022-06-16 10:53:42 +08:00
minggo c03a4a5160 use uint32_t instead (#11527) 2022-06-16 10:12:34 +08:00
fish9167 86aa5188a5 Update run_test_cases.yml (#11530)
fix action repetition
2022-06-16 09:24:57 +08:00
江战 9a9a7531cc 3.6 native plugin loader (#11485) 2022-06-15 17:02:16 +08:00
江战 e8b9ec4a6f 3.6 Add warnning when skip_update_xcode_project not supported (#11517) 2022-06-15 16:39:25 +08:00
Cocos Robot 96b8723725 [ci skip][AUTO]: Automated code generating update: eac78923ef36a4c9f906f6f1b0fed63c54e65783 (#11516) (#11524)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-15 16:28:56 +08:00
minggo 926b58e546 use uint32_t for index (#11516)
* use uint32_t for index
2022-06-15 15:57:33 +08:00
minggo 8e00de14da use member variable for material (#11520) 2022-06-15 15:57:18 +08:00
Cocos Robot 65bc318a84 [ci skip][AUTO]: Automated code generating update: 4eecc85f679e4eed86be7aa1c0bb562d9e94b9d4 (#10861) (#11519)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-15 14:58:42 +08:00
godIsAProgrammer 78a7c8d21e [Optimize] fbx animation scale display (#10861)
* Optimize fbx animation scale display

* update

Co-authored-by: caoqisen <qisen.cao@cocos.com>
2022-06-15 14:19:42 +08:00
godIsAProgrammer 4aa41cbb90 [Optimize] update inspector style (#11296)
Co-authored-by: caoqisen <qisen.cao@cocos.com>
2022-06-15 14:19:12 +08:00
jk20012001 48bd6fe0ba Fix shader compiling error (#11512)
* add native pcf for shadow-map.chunk

* update compiled shaders
2022-06-15 13:38:15 +08:00
fish9167 c5788345df sync action yml (#11495)
1、Change action checkout repo
2、add action event
2022-06-15 11:29:55 +08:00
江战 1ee47a8142 fix url & add origin (#11505) 2022-06-15 09:57:28 +08:00
bofeng-song ea36cfc9c4 fix anr while enter background (#11500) 2022-06-15 08:46:51 +08:00
PP 4531e180b2 publish build-engine 4.3.10 (#11478)
* publish build-engine 4.3.9 && support native API docs

update lock

update

* publish 3.4.10: fix generating comment on top level of namespace

* fix test CI
2022-06-14 22:31:51 +08:00
jk20012001 589082e585 Beforemigration (#11497)
* add shadow for surface shader
fix sky effect cc_matworld

* optimize ts code
2022-06-14 20:44:51 +08:00
徐兵 214f5e3dfc add specularGlossinessMap (#11502)
* add  specularGlossinessMap

* remove diffuseScale

* specularGlossinessMap modifiy
2022-06-14 19:18:37 +08:00
minggo ca9deefcf8 Fast define (#11391)
Use fast define to replace decorator codes.

Co-authored-by: santy-wang <wh19930829@qq.com>
2022-06-14 17:36:46 +08:00
minggo af65f64f45 fix crash when delete transform (#11498) 2022-06-14 17:24:48 +08:00
Santy-Wang e9e89fc5c3 fix build-effect error (#11496) 2022-06-14 16:35:38 +08:00
Zhang mingzhen 7dd8582600 if delete font, set userDefinedFont as null (#11434)
* if delete font, set userDefinedFont as null

* simplify condition

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2022-06-14 16:14:53 +08:00
PP 1c737b91fd optimize Constants in engine (#11464)
* publish build-engine 4.3.5

* update build-engine deps

* remove default-constants.ts

ds

remove de

* delete consts.d.ts

* support build-const workflow

* remove EXPORT_TO_GLOBAL

* update comment

* fix interface-check

* update comment
2022-06-14 16:14:34 +08:00
PP e5511822eb support game.end() on Minigame (#11473) 2022-06-14 16:13:51 +08:00
PP e44fcbc581 use windowSize instead of screenSize for minigame platforms (#11468) 2022-06-14 16:12:25 +08:00
PP d0bd6b7376 support input dispatch event for Editor (#11471)
* support input dispatch event for Editor

* update internal

* fix eslint

* fix bug

* update
2022-06-14 16:10:18 +08:00
GengineJS b353209223 Remove native camera scale matrix (#11487)
* Remove native camera scale matrix

* Change the position where the camera scale matrix is ​​removed
2022-06-14 14:07:57 +08:00
Yiwen 65db37c6fe fix pvrtc format info (#11371)
* fix pvrtc format info

Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com>
2022-06-14 14:00:44 +08:00
Cocos Robot f41c0fdf7b [ci skip][AUTO]: Automated code generating update: 67b11c79ea389afa0ec51a9dc2739c79e29f08de (#11477) (#11494)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-14 13:41:55 +08:00
James Chen 706c11f65c Fix the logic of fallback to 16 bits index buffer in Mesh.cpp, also fix memory leak if vertex count is less than 65536 on the platform which doesn't support ELEMENT_INDEX_UINT. (#11477)
* Fix the logic of fallback to 16 bits index buffer in Mesh.cpp, also fix memory leak if vertex count is less than 65536 on the platform which doesn't support ELEMENT_INDEX_UINT.

* Update Mesh.cpp
2022-06-14 13:35:18 +08:00
Myway 7e2c407c95 add initLightingmap method in native model (#11490) 2022-06-14 13:34:10 +08:00
Cocos Robot 7a1386fbb3 [ci skip][AUTO]: Automated code generating update: aa67f227e8670d1295907d6e343d0a54ee30c19e (#11449) (#11488)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-14 00:20:27 +08:00