Commit Graph

10 Commits

Author SHA1 Message Date
timlyeee
f0925edd69 listen WINDOW_RESIZE event by application (#10930) 2022-05-10 17:23:16 +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
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
江战
b455e7fc86 V3.5 rename assets (#10443)
* add resources

* fix order

* ignore _external
2022-03-22 18:07:50 +08:00
qiuguohua
45d95dd285 Add destroy window event and recreate window event on windows platform (#10365) 2022-03-17 09:36:04 +08:00
qiuguohua
eb3a863a28 Replace addPermanentRegisterCallback with addRegisterCallback. (#10350) 2022-03-16 10:32:47 +08:00
minggo
f08555248f fix conflict 2022-01-24 17:23:03 +08:00
Yun Hsiao Wu
14a17c9d22 license upgrade (#4210) 2022-01-24 17:18:47 +08:00
qiuguohua
eeb9d5c689 Merge the code of v3.3.1 platform adaptation layer into the development branch (#3958)
* 1、Merge platform adaptation layer code into the development branch
2、It passed the test in windows and ohos system

* 1、Merge platform adaptation layer code into the development branch
2、It passed the test in windows and ohos system

* 1、Fix github compile windows error

* 1、Fix github compile windows error

* 1. Adjust the code format;
2. Fix js automatic generation binding
3. Adjust github CI compilation

* 1. Adjust the code format;
2. Fix js automatic generation binding
3. Adjust github CI compilation

* Solve mac and ios compilation failure

* Fix the problem of compilation of Windows-side simulator

* 1. Adapt the simulator to a new adaptation layer;
2. Fix the compilation warning of ios, and the implicit conversion failed;
3. Fix the mac compilation error, due to the problem of adding the link identification -all_load;

* 1.Add the isDisplayStats and setDisplayStats method to the screen interface

* Fix clang-tidy compilation warning

* Fix clang-tidy compilation warning

* Repair the emulator, compatible with mac and win

* 1、Repair detailed errors, including name modification and calling method modification
2、Delete redundant files in the template directory
3、Change the vibrate interface to vibrator
4、Fix word spelling errors

* Rename interfaces to modules

* Replace CC_ASSERT with CCASSERT

* Replace CC_ASSERT with CCASSERT

Co-authored-by: qiuguohua <>
2021-10-27 10:51:02 +08:00