Commit Graph

23 Commits

Author SHA1 Message Date
timlyeee f0925edd69 listen WINDOW_RESIZE event by application (#10930) 2022-05-10 17:23:16 +08:00
Yun Hsiao Wu 14a17c9d22 license upgrade (#4210) 2022-01-24 17:18:47 +08:00
minggo c0bdd3c0d8 Merge branch 'v3.4.1' into merge_v3.4.1
Conflicts:
	cocos/bindings/event/EventDispatcher.cpp
	cocos/platform/android/jni/JniCocosActivity.cpp
	cocos/platform/apple/JsbBridge.mm
	cocos/platform/java/jni/JniCocosOrientationHelper.cpp
	cocos/platform/win32/CanvasRenderingContext2D-win32.cpp
2022-01-07 18:36:14 +08:00
Greg1129 4462b96617 issue 10384 memory leak fix (#4115)
* issue 10384 memory leak fix
2021-12-24 14:39:12 +08:00
Zeqiang Li 4b1422a7f3 event init & mem align (#4116) 2021-12-21 11:08:11 +08:00
qiuguohua 2f7eb00403 1、Modify the interface for obtaining the window handle (#278)
2、Debug mode to check if the interface is empty
2021-12-02 18:06:11 +08:00
minggo ac7418f1c1 fix conflict 2021-11-30 10:48:30 +08:00
timlyeee 810f90f854 Fix restart issue (#4008) 2021-11-15 14:03:25 +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
mmyduckx 76d15cafa4 send close event to JS (#3527) 2021-05-21 11:37:13 +08:00
Zeqiang Li 009552741f add resize event in Metal (#3445) 2021-04-22 15:48:44 +08:00
Yun Hsiao Wu 8034bd59d8 [chore] gfx layer adjustments (#3323)
* [chore] move common routines to gfx base

* [chore] remove device pointer inside every gfx resources

* [chore] file structure

* gfx: empty backend

* [chore] device creator abstraction
2021-03-19 16:24:43 +08:00
Yun Hsiao Wu acbd39ff55 move minimal jsb init into a separate header (#3314) 2021-03-12 09:56:04 +08:00
Yun Hsiao Wu e0fdfef054 license upgrader 2021-02-05 14:08:22 +08:00
minggo 826babfa64 Format code (#3217) 2021-01-13 14:49:32 +08:00
Zeqiang Li 8084086606 fix restartVM issue in metal and complete gles3 destroy (#3189) 2021-01-11 15:47:35 +08:00
江战 a558b0e89f [3.0] restart VM (#3154) 2020-12-31 15:42:55 +08:00
PP f7b0546bff sync pr from 2d (#3062)
* fix editbox indicator jump to end on iOS

* support dispatchOrientationChangeEvent

* fix orientation when flip landscape on iOS device
2020-11-25 10:42:58 +08:00
PP_Pro 98af261687 fix editbox cannot complete on native native desktop platform 2020-11-09 15:31:27 +08:00
minggo 48ea00bbae Simplify codes (#2927)
* simplify codes

* format codes
2020-10-20 13:41:53 +08:00
minggo 8ef6765cf7 fix event name (#2925) 2020-10-20 09:55:21 +08:00
minggo e605f34bd6 dispatch memory warning event to JS (#2924) 2020-10-20 09:48:46 +08:00
minggo 9d9c79012b change file path (#2733) 2020-09-10 09:51:24 +08:00