Commit Graph

5187 Commits

Author SHA1 Message Date
江战 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
minggo 12218f027b fix crash if reset texture property of a Material (#11461)
* fix crash if reset texture property of a Material
2022-06-10 20:51:20 +08:00
mmyduckx e1518e06f0 fix win32 clear-platfomr script (#11462) 2022-06-10 18:02:10 +08:00
Cocos Robot aedbf360ee [ci skip][AUTO]: Automated code generating update: 98408c9f41a20eca8b3ffa452d74af85a20ffc83 (#11458) (#11459)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-10 17:25:07 +08:00
timlyeee 668a43de76 V3.6.0 handle promise exceptions (#11375)
* Fix handle promise exception cause crash on 3.6
2022-06-10 14:16:33 +08:00
troublemaker52025 a9a68e50ae [v3.6.0] CSM panel modification (#11397)
* [v3.6.0] CSM panel modification

* update

* fix ci error

* fix  ci error

* fix ci error

* build effect

* change namespace to '_csmXxxx' && '_xxxCSM'

* modification reply

* update

* update

* update

* fix ci error

* fix ci error

* fix ci error 2

* fix ci error 2

* fix ci error 3

* fix ci error 4

* fix ci error 5
2022-06-10 14:08:10 +08:00
hyde zhou 04191c8d4c uses ccstd::variant instead of boost::variant2::variant (#11437) 2022-06-09 21:24:06 +08:00
bofeng-song f7c129ca1c Fix non-foreground state processing time-consuming tasks, resulting in anr (#11406)
* Fix non-foreground state processing time-consuming tasks, resulting in anr
2022-06-09 16:49:57 +08:00
James Chen c61dbc27b4 Fix that xcode 13 treats deprecated warning as error. (#11430) 2022-06-09 16:42:50 +08:00
pandamicro 04b00e7fad Detach camera from scene in destroy 2022-06-09 15:32:27 +08:00
mmyduckx 7910e7e558 only use backgroundSession for ios (#11408) 2022-06-09 11:02:15 +08:00
Cocos Robot 8f9bebf427 [ci skip][AUTO]: Automated code generating update: cc1f2a1dd0ebecb7a1cb28539c6459ac390f5b9f (#11422) (#11424)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-09 09:17:48 +08:00
minggo a15a2da91c add limitation for job system on iOS (#11410) 2022-06-09 09:16:46 +08:00
PP 1bd1bf1c57 rename adapters (#11401)
* rename adapters

update

* update adapter require
2022-06-08 14:59:31 +08:00
Cocos Robot 977f323dfa [ci skip][AUTO]: Automated code generating update: caa03bcc5d7f551a2ec49032ecd80facff839bc2 (#11396) (#11403)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-08 14:23:00 +08:00
徐兵 5e8f4a2e58 convolution map (#11322)
* upload mipmap from atlas

* add macro "USE_CONVOLUTION_MAP" and editable skybox material for native engine

* code format

* rename "USE_CONVOLUTION_MAP" and  enum MipmapBakeMode, delete the mipmapMode property

* rename struct

* rename useOfflineMipmaps function

* rename function and fix macro 'CC_USE_IBL'  'CC_USE_DIFFUSEMAP'  'CC_USE_HDR' not working

* fix compile errors

* add documentation

* update documentation

* USE_RGBE_CUBEMAP macro changed to global
2022-06-08 12:10:06 +08:00
李吉林 1e34d3551a V3.6.0 geometry compatibility (#11393)
* compatibility for geometry renderer

* add deprecated.ts

* add empty implementation in web-pipeline

* ts lint
2022-06-08 11:11:10 +08:00