Commit Graph

63 Commits

Author SHA1 Message Date
林玮 eab2d646c6 Change windowHandle to windowId when EVENT_DESTROY_WINDOW (#12848)
* Change windowHandle to windowId when EVENT_DESTROY_WINDOW

* fix: resolution issue on iOS
2022-09-22 15:45:56 +08:00
minggo bd0fcc67c4 move cocos/core/pipeline to cocos/rendering (#12797)
* move cocos/core/pipeline to cocos/rendering
2022-09-16 16:10:26 +08:00
林玮 785fd91511 Add multi-windows support (#12243)
Co-authored-by: bofeng.song <bofeng.song@chukong-inc.com>
2022-09-15 14:55:44 +08:00
QingliWang 6a8f53b186 Add features for XR developement. (#12413)
* Change Android mainloop, add global config and template projects for XR.

* Change gfx/gles device's process flow for XR, working with other PRs, waiting.

* Change gfx/Vulkan device's process flow for XR, working with other PRs, waiting.

* Change render process for XR.

* Develop XR input and events.

* Develop 3D feature of UI widgets and raycast effect for XR.

Co-authored-by: fqamic <fqamic@vip.qq.com>
2022-08-22 16:34:45 +08:00
minggo 5778aab354 Merge branch 'v3.6.0' into merge_v3.6 2022-08-08 10:49:46 +08:00
yangchao 2c8214c351 fix : mac server mod use loopp (#12327) 2022-08-04 13:31:05 +08:00
mmyduckx a2323b69c0 add back HttpClient::destroyInstance in destroy to fix http no response when restart (#12236) 2022-07-28 14:09:43 +08:00
qiuguohua 9beb03ebb6 Fixed the problem that the script callback function could not be registered in game.cpp (#12190) 2022-07-26 18:34:56 +08:00
minggo e0bfd1d380 Merge branch 'v3.6.0' into merge_v3.6 2022-07-26 12:01:26 +08:00
timlyeee aeac69c492 Fix bug when JsbBridge test case close window (#12126)
* .6.0-reflectionDocs: Auto stash before checking out "cocos/v3.6.0"
2022-07-22 10:30:44 +08:00
minggo d40b8739bc Merge branch 'v3.6.0' into develop_merge_v3.6 2022-07-18 10:38:14 +08:00
bofeng-song 113fad0259 refine: rename windowHanler to windowHandle, rename onDestory to onDestroy (#11907) 2022-07-09 13:54:18 +08:00
timlyeee b43de1af07 V3.6.0 exit (#11856) 2022-07-07 14:07:47 +08:00
minggo 02a1eb0f55 Use raw pointer (#11804)
* Revert "use IntrusivePtr to share object (#11729)"

This reverts commit 8caec59711.

* Framebuffer uses weak reference

* make doDestroy reentency
2022-07-04 10:20:07 +08:00
James Chen 174ba0eff2 Add macros: CC_USE_GEOMETRY_RENDERER and CC_USE_DEBUG_RENDERER to control these debugging features. (#11740) 2022-06-30 10:25:02 +08:00
minggo 8caec59711 use IntrusivePtr to share object (#11729) 2022-06-28 18:01:47 +08:00
timlyeee 6e2421714f remove destroy() call (#11575) 2022-06-17 17:10:49 +08:00
timlyeee ab374ba4a5 force exit engine and application (#11532)
* force exit engine and application
2022-06-16 16:42:40 +08:00
qiuguohua 6e693451a5 deviceevent related issues (#11308)
* dispatchOrientationChangeEvent is not called
2022-06-01 14:47:18 +08:00
minggo c33a59fb94 delete/recreate all resources when restart app (#11301)
* unify restart logic
2022-06-01 11:41:04 +08:00
James Chen 024737aebc fixed #11195: Rename cc::optional, cc::any, cc::variant to ccstd::optional, ccstd::any, ccstd::variant (#11197)
* Move Any.h/Optional.h/Variant.h to base/std and rename them to lowercase.

* fixed #11195: Rename cc::optional, cc::any, cc::variant to ccstd::optional, ccstd::any, ccstd::variant

* Format code.
2022-05-24 18:47:16 +08:00
minggo 7814949998 Merge branch 'v3.5.1' into v3.6.0_merge_v3.5.1 2022-05-24 11:53:57 +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
李吉林 25cc44e315 refactor DebugRenderer exiting (#11145) 2022-05-19 11:41:50 +08:00
minggo ac92997d96 do not handle Root in engine (#11140) 2022-05-18 18:20:55 +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
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
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
minggo 0c12729812 refactor startup/shutdown of file system (#11089)
* refactor startup/shutdown of file system
2022-05-16 09:48:24 +08:00
bofeng-song 4e6a2f1be3 Android: support exit procedure (#10937) 2022-05-11 18:13:53 +08:00
timlyeee f0925edd69 listen WINDOW_RESIZE event by application (#10930) 2022-05-10 17:23:16 +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
李吉林 3457292707 refactor exit process (#10880)
* refactor exit process

* add override

* fix geometry-renderer missing in deferred pipeline

* invoke destroy directly

* fix ESLint error

* add -misc-static-assert for clang-tidy
2022-04-27 14:59:23 +08:00
minggo 84c27e7f71 Merge branch 'v3.5.0' into v3.6.0_merge_v3.5 2022-04-24 13:41:27 +08:00
bofeng-song 719315add2 fix editor to do (#10827) 2022-04-22 09:51:16 +08:00
minggo cb1234b63a Revert "fix memory leak (#10804)" (#10823)
This reverts commit 3374c7e41c.
2022-04-21 13:52:20 +08:00
李吉林 3374c7e41c fix memory leak (#10804) 2022-04-20 14:43:02 +08:00
timlyeee bd02a8ea2e Fix restart game will create several swapchain (#10776)
codes aren't sync with 3.4.2 *https://github.com/cocos/engine-native/pull/4008

The reason why we should destroy here is that the swapchain is created by js binding, yet once restart it will create again, after that multiple swapchain will exist at same time. And only happens on Native platform
2022-04-15 13:42:09 +08:00
qiuguohua e20e4b889e V3.5.0 Distribute touch events independently (#10712)
* Distribute touch events independently

* remove  touch event cast

* Fix the error of clang-tidy

Co-authored-by: qiuguohua <862332094@qq.com>
2022-04-10 22:10:15 +08:00
minggo cd48cf7106 Replace CCASSERT with CC_ASSERT (#10682)
* replace CCASSERT with CC_ASSEERT
2022-04-10 16:03:46 +08:00
minggo a6bf766170 Merge branch 'v3.5.0' into v3.6_merge_v3.5 2022-03-29 18:26:40 +08:00
qiuguohua 723f2f0d4b Replacing the Observer Pattern with the Event Pattern (#10551)
* Replacing the Observer Pattern with the Event Pattern

* Fix callbacksinvoker interface

* fix callbacksInvokder compilation error

* Add remove event listener
2022-03-29 15:06:29 +08:00
hyde zhou b1e8733742 [v3.6.0 pipeline] uses Root::getPipeline instead of RenderPipeline::getInstance() (#10486)
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com>
Co-authored-by: GengineJS <476393671@qq.com>
Co-authored-by: zxx43 <zxx43@hotmail.com>
2022-03-25 11:04:50 +08:00
minggo ecbc619e4b remove unneeded macros (#10474)
* remove unneeded macros
* add cc_ for some macros
2022-03-25 11:01:48 +08:00
江战 b455e7fc86 V3.5 rename assets (#10443)
* add resources

* fix order

* ignore _external
2022-03-22 18:07:50 +08:00
Cocos Robot 71288fcf7a [ci skip][AUTO]: Automated clang-format update: aed8a54418a115b3e3ec8c3d69be3498817a0043 (#10387) (#10412)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-21 13:47:58 +08:00
李吉林 8b611affa2 V3.6.0 font debug profiler (#10387)
* add Font&DebugRender&Profiler

* add profiler for metal

* fix profiler review problem
2022-03-21 11:41:54 +08:00