Commit Graph

5204 Commits

Author SHA1 Message Date
minggo f92908c37f remove uint usage (#11596)
* remove uint usage
2022-06-18 15:25:27 +08:00
troublemaker52025 252c392ada Solved the problem of switching scene shadows to disappear v3.6.0 (#11531)
* Solved the problem of switching scene shadows to disappear v3.6.0

* update

* fix memory leak

* fix ci error

* fix instanced queue error

* merge zhou zhenglong issue  and  fix it

* fix ci error

* update

* fix ci error

* use IntrusivePtr

* update

* update

* update
2022-06-18 14:27:16 +08:00
bofeng-song fb9c4a9ee4 android platform use system's original size, do not need to rotate (#11576)
* android platform use system's original size, do not need to rotate
2022-06-18 13:33:28 +08:00
Cocos Robot 2794f4a234 [ci skip][AUTO]: Automated code generating update: 4a12bb5af5133eaaa68fbbf309c95ea87b7c4599 (#11588) (#11594)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-18 11:23:11 +08:00
minggo d56e8db561 remove duplicate codes (#11588) 2022-06-18 10:54:18 +08:00
李吉林 63a2b570af add readAttributeFormat (#11586) 2022-06-18 09:55:00 +08:00
Cocos Robot 63bb84ae9d [ci skip][AUTO]: Automated code generating update: ea38500f0a (#11569) (#11585)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-17 21:33:42 +08:00
pandamicro 014813b50a Merge pull request #11569 from cocos/v3.5.2
Merge V3.5.2
2022-06-17 20:10:45 +08:00
hyde zhou 36da8db8a0 V3.6.0 pipeline (#11560)
* update layout graph

Co-authored-by: GengineJS <476393671@qq.com>
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com>
Co-authored-by: zxx43 <zxx43@hotmail.com>
2022-06-17 19:21:41 +08:00
minggo 18be330613 remove uitransformdirty (#11578)
* remove uitransformdirty
2022-06-17 18:34:27 +08:00
timlyeee 6e2421714f remove destroy() call (#11575) 2022-06-17 17:10:49 +08:00
timlyeee 779a366f1d destroy JsbBridge in unify way
* make jsbBridge fit v3.6.0 restart logic, clean up jsbBridges

* Add nil judgement and release operation
2022-06-17 16:42:43 +08:00
Cocos Robot 3c88dd6ce1 [ci skip][AUTO]: Automated code generating update: c7b28739fcc0b8a3e24b269e92e149ea53af3f29 (#11564) (#11572)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-17 16:38:00 +08:00
James Chen 5c9186a756 Cleanup code in Node.h/.cpp (#11564) 2022-06-17 15:03:47 +08:00
timlyeee 98786920d0 Improve the experience of EditBox on iOS and fix some EditBox bugs
1. Improve the experience by using InputboxAccessoryView on TextView and TextField.
2. Fix bug when trying to show an editbox with no show info on Android
3. Fix bug when touch outside of the inputbox but cannot hide it.
2022-06-17 14:00:52 +08:00
Cocos Robot 3f88f8b573 [ci skip][AUTO]: Automated code generating update: 3702264d4059b3812e410fa51ed5731bec4a3330 (#11551) (#11563)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-16 23:11:35 +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
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
江战 9a9a7531cc 3.6 native plugin loader (#11485) 2022-06-15 17:02:16 +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
江战 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
minggo af65f64f45 fix crash when delete transform (#11498) 2022-06-14 17:24:48 +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
jk20012001 9965af4abb add debug view mode (#11449)
* add debug view mode

* code style

* fix single mode lighting lack of gamma & tonemapping

* comment style

* move from legacyCC to render-pipeline

* fix gamma & tonemapping not matched in debug view modes

* 原生实现

* move to root

* fix CSMLayers

* pack ubo data

* fix binding

* update binding

* update shaders for debug view

* code style

* fix CI
fix fog in composite mode

* resolve conversation

* resolve conversations

* function order

* resolve conversations
2022-06-14 00:13:27 +08:00
Cocos Robot a20b8edafd [ci skip][AUTO]: Automated code generating update: a8a6a48f9e7a6348d8381e04d69cc3c80bdfa72f (#11484) (#11486)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-13 18:43:57 +08:00
hyde zhou e45943058e add macro (#11484)
* add render-pipeline macro
2022-06-13 18:38:26 +08:00
Yiwen 9b9ee69f46 add support to vk 1.3 for spirvutils (#11445) 2022-06-13 16:35:54 +08:00
yangchao c46b8d29ab add server mode marco (#11476) 2022-06-13 13:46:19 +08:00
Cocos Robot ecc1ae7a96 [ci skip][AUTO]: Automated code generating update: 8fadeedd2fd041b6cffbd556317e7cea5efae9a8 (#11327) (#11475)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-13 11:27:22 +08:00
hyde zhou 24ab74050d V3.6.0 pipeline (#11327)
* Refactoring EffectAsset, ProgramLib, (Material) Pass.

Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com>
Co-authored-by: zxx43 <zxx43@hotmail.com>
Co-authored-by: GengineJS <476393671@qq.com>
2022-06-13 11:15:21 +08:00
Cocos Robot f95184903a [ci skip][AUTO]: Automated code generating update: 28de0503ec715a6a9ec736bf35add8cc57979aab (#11461) (#11463)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-13 10:27:56 +08:00