Commit Graph

5058 Commits

Author SHA1 Message Date
Zhang mingzhen c09995b45a supplement JSB documents (#11153)
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2022-05-23 09:37:07 +08:00
mmyduckx 204543cfd8 fix restart buffer & shader leak and add prompts (#11164)
* fix restart buffer & shader lead and add prompts
2022-05-20 16:10:40 +08:00
minggo 9b0233cca4 Startup shutdown (#11150)
* Adjust exit process
- detelte objects in reserve order
- delete some global objects, may refactor in future

* remove unneeded codes
2022-05-20 10:31:39 +08:00
Yiwen 9780ad2164 Fix the logic error that the RenderWindow's fbo uses a user-defined depth attachment but (#11147)
not the swapchain's depth attachment regardless of the swapchain's state.
2022-05-19 15:22:32 +08:00
李吉林 25cc44e315 refactor DebugRenderer exiting (#11145) 2022-05-19 11:41:50 +08:00
James Chen 70343e9c7c fixed 3d-tasks/12347: [bug] Yellow robots which enables InstanceDraw could not be shown in JointTextureLayout test case (#11136) 2022-05-19 09:24:58 +08:00
minggo ac92997d96 do not handle Root in engine (#11140) 2022-05-18 18:20:55 +08:00
James Chen 48f7c674cc boost_hash_range return size_t which is 64bit on 64bit devices, so need to cast it to uint64_t. (#11137) 2022-05-18 17:22:46 +08:00
bofeng-song b3c62b9597 Suspend game thread after it has been running in the background for a… (#11112)
* Suspend game thread after it has been running in the background for a specified amount of time
* Use the macro switch to decide whether to enable thread pause  & remove unneeded code
2022-05-18 15:43:55 +08:00
Cocos Robot e300d17167 [ci skip][AUTO]: Automated code generating update: 14e696cfcc8e46b0aecb3c95683c3fe0773334b0 (#11128) (#11130)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-05-18 15:16:02 +08:00
minggo fac5bf833a Subsystem startup shutdown (#11128)
* refactor startup/shutdown process of BuiltinResMgr
* refactor startup/shutdown process of ProgramLib
2022-05-18 11:09:55 +08:00
Cocos Robot cbc500d020 [ci skip][AUTO]: Automated code generating update: cd5f758d5fbd96f9598e388e28886c2be9b69a96 (#11123) (#11127)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-05-18 09:57:12 +08:00
minggo 75dcf062c6 refactor startup/shutdown process of gfx device (#11123)
* refactor startup/shutdown process of gfx device
2022-05-17 17:29:09 +08:00
mmyduckx 22cc2e4878 add SharedPreferences related stroage implement (#11097) 2022-05-17 11:35:48 +08:00
minggo b33e91fb15 refactor startup/shutdown process of DebugRenderer (#11114)
* refactor startup/shutdown process of DebugRenderer
2022-05-16 19:32:01 +08:00
minggo c3a6205ce2 Refactor startup/shutdown process of ScriptEngine (#11108)
* refactor startup/shutdown process of ScriptEngine
2022-05-16 17:39:44 +08:00
minggo b6debf5d3f refactor Profiler startup/shutdown (#11105) 2022-05-16 11:36:33 +08:00
Cocos Robot d0c5e2eed1 [ci skip][AUTO]: Automated code generating update: db5a5b6463c517f61071b766a82f4448cf9c297f (#11060) (#11103)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-05-16 10:25:17 +08:00
James Chen 7203b63a50 fixed #3d-tasks/11110: [native] Avoid two implementation of CCObject (#11060)
* fixed #3d-tasks/11110: [native] Avoid two implementation of CCObject
* Add more comments in CCObject.cpp
2022-05-16 09:49:45 +08:00
minggo 0c12729812 refactor startup/shutdown of file system (#11089)
* refactor startup/shutdown of file system
2022-05-16 09:48:24 +08:00
Cocos Robot 72ffc19fe0 [ci skip][AUTO]: Automated code generating update: f1428c983d5a1668dae9b166ed5282fb7f22a058 (#11063) (#11087)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-05-14 16:06:20 +08:00
timlyeee 80fb5bcd30 update simulator to x64 (#11054) 2022-05-13 16:24:23 +08:00
Cocos Robot dd4e9269bc [ci skip][AUTO]: Automated code generating update: fe6e7b5ec5709d637a46e0d74c15af270b9d42db (#11055) (#11059)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-05-13 16:19:50 +08:00
James Chen 96e65e11fb Scene should own RenderScene and camera needs to be detached in RenderScene::removeCamera. (#11055)
* Remove HTMLElement*

* RenderingSubMesh should not inherit Asset.

* Remove `override` for RenderingSubMesh::destroy

* Scene should own RenderScene and camera needs to be detached in RenderScene::removeCamera.
2022-05-13 13:31:20 +08:00
mmyduckx c2f762c16d Update clear platform (#11037)
* update clear-platform
2022-05-12 14:53:24 +08:00
bofeng-song 4e6a2f1be3 Android: support exit procedure (#10937) 2022-05-11 18:13:53 +08:00
James Chen 3e4f58531e [v3.6][JSB] Revert the count of v8 internal field from 2 to 1, internal field only stores se::Object itself now. (#11024)
* [v3.6][JSB] Revert the count of v8 internal field from 2 to 1, internal field only store se::Object itself now.
2022-05-11 13:50:01 +08:00
bofeng-song 5bd5b59de4 reset gradle & jdk11 dependency (#11015)
* reset gradle to the original version
set compile tools version to 28
reset jdk11 dependency
2022-05-11 13:41:06 +08:00
mmyduckx bb70fbcc4e fix etc1 related compress texture crash (#11023)
* fix etc1 related compress texture crash
2022-05-11 10:58:02 +08:00
ChiaNing 045e6430cb add base-Renderer and separate & rename renderableComp (#10903)
* add base-Renderer and separate & rename renderableComp

* rename

* some fix

* misc fix

* format change

* file name change & api doc add

Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-05-09 17:44:56 +08:00
mmyduckx a9ce83bb71 [Feature]ios-breakpoint-download when killApp in background. (#10968)
* [Feature]ios-breakpoint-download when killApp in background.

* [refine] use delay only for downloadTask

* [refine] add hasUnfinishedTask flag

* add comment for bgSesseionIdentifiter
2022-05-09 13:40:48 +08:00
Cocos Robot 789485cba1 [ci skip][AUTO]: Automated code generating update: 203b39363b5c704661ee660c8538617246fa4aa1 (#10993) (#10995)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-05-07 18:34:49 +08:00
James Chen c717b4bd00 Add static property 'isJSBClass' for JSB classes and only enable it in DEBUG mode. (#10993) 2022-05-07 18:04:05 +08:00
James Chen af203f6279 Remove unused code: defineOwnProperty("__native_ptr__",...) (#10975) 2022-05-07 11:58:50 +08:00
李吉林 a827c002fb skip to export updateOctree (#10973) 2022-05-06 17:36:34 +08:00
李吉林 566cc0e9d8 fix update octree twice (#10945)
* fix update Octree twice

* rename to _worldBoundsDirty
2022-05-06 15:44:31 +08:00
James Chen d8761f60a8 Fix the linking error if audio module is disabled in project configuration. (#10940) 2022-05-05 17:58:34 +08:00
minggo 46a6fd8f4d add formatPath batch (#10933) 2022-05-05 14:05:11 +08:00
minggo 87c3414430 add some gulp commands back, as editor uses them (#10926) 2022-05-05 11:36:13 +08:00
minggo 271cc5cf23 Remove some format rule (#10919)
* remove some rules
* format all codes with new format rule
2022-05-04 13:09:24 +08:00
hyde zhou e9a4bdd4dc V3.6.0 pipeline (#10882) 2022-05-01 07:30:06 +08:00
minggo 255e4c9dfb [skip ci]Remove unneeded codes (#10917)
* remove unneeded code
2022-04-29 16:37:44 +08:00
minggo d64458abf4 remove unneeded files (#10911)
* remove unneeded files
2022-04-29 11:20:44 +08:00
minggo 8e7669bf92 replace assert with CC_ASSERT (#10913)
* replace assert with CC_ASSERT
2022-04-29 10:18:41 +08:00
ChiaNing fa25709788 fix native include problem on windows (#10902)
* fix native include problem on windows
2022-04-29 09:34:33 +08:00
江战 ac7bc34145 Remove function native_ptr_to_rooted_ptr (#10908)
* remove function native_ptr_to_rooted_ptr
2022-04-28 14:05:39 +08:00
minggo 92512b3472 fix crash when doing gc (#10896) 2022-04-28 11:20:33 +08:00
minggo 2b8534e236 fix error log of assertID (#10897) 2022-04-28 11:20:08 +08:00
Yiwen 22fe482d05 In v3.6.0, the ccstd::string is used in GFXDef-common.h, this PR add (#10895)
support to ccstd::string so that the gfx-define-generator can work
again.

1. add `\:` to the second group of structMemberRE to make sure we can
   get ccstd::string instead of ccstd.
2. add `type.replace(/(\b)(?:ccstd::string)(\b)/, '$1string$2');` to
   make sure that ccstd::string can be replaced by string.
2022-04-27 17:07:39 +08:00
Cocos Robot a2c8b2fc07 [ci skip][AUTO]: Automated code generating update: 413f87e28909d60690600bf4cdcb3617bd615827 (#10880) (#10899)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-04-27 15:52:54 +08:00