qiuguohua
6e693451a5
deviceevent related issues ( #11308 )
...
* dispatchOrientationChangeEvent is not called
2022-06-01 14:47:18 +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
bofeng-song
a2afcd2cdb
disable gametick after enter background(revert to logic to version 3.4.2) ( #11095 )
2022-05-14 18:33:36 +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
271cc5cf23
Remove some format rule ( #10919 )
...
* remove some rules
* format all codes with new format rule
2022-05-04 13:09:24 +08:00
qiuguohua
3f8f8fd65e
Define CanvasTextAlign and CanvasTextBaseline enumeration in ICanvasRenderingContext2D ( #10856 )
2022-04-26 13:33:21 +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
ef7d80f8ae
integrate game-activity ( #10794 )
2022-04-22 13:48:43 +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
ef013fc8c3
Remove ssize_t ( #10664 )
2022-04-07 17:17:18 +08:00
bofeng-song
d8bdec5162
fix android crash due to eglSurface unavailable ( #10621 )
...
* skip setRendererAvailable & isRendererAvailable (#10482 )
* fix android crash due to eglSurface unavailable
2022-04-01 14:52:46 +08:00
minggo
e849e9cd7e
fix compiling and crash error
2022-03-31 14:21:06 +08:00
minggo
a6bf766170
Merge branch 'v3.5.0' into v3.6_merge_v3.5
2022-03-29 18:26:40 +08:00
minggo
1a9d49e4c6
replace std::list/std::array with ccstd::list/ccstd::array ( #10560 )
...
* replace std::list/std::array with ccstd::list/ccstd::array
2022-03-29 16:36:53 +08:00
qiuguohua
b6af1ada02
V3.5.0 create window ( #10481 )
...
* 1. Modify the parameters of the creation window
2. Modify the relationship between platform and interface
3. Rename vibrate to vibrator in linux and QNX
* Fix empty platform implementation
* Fix empty platform implementation
* Modify mac and ios createwindow interface
* Create a centered window by default
* Mobile platforms do not require window creation
2022-03-25 18:43:17 +08:00
Zeqiang Li
e64301ad34
3.5.0 swappy ( #10327 )
...
* gles2/3 swappy
* vk swappy
* manually fallback in GL
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com.com >
2022-03-24 15:37:38 +08:00
bofeng-song
d419d41944
fix elg & gl error ( #10473 )
...
* skip rendering if renderer is not available
2022-03-24 15:04:36 +08:00
Cocos Robot
a2df4e4dbd
[ci skip][AUTO]: Automated clang-format update: 771de57fc2c1edbaaf3ae94e77f9801b0379cc6c ( #10469 ) ( #10472 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-03-24 13:50:39 +08:00
minggo
7f4cb9e3b1
Remove string ( #10469 )
...
* replace std::string with ccstd::string
2022-03-24 11:53:10 +08:00
Cocos Robot
322cb0664b
[ci skip][AUTO]: Automated clang-format update: b779f0a2e81e2dab3194eff8e850d5a8910c7c7a ( #10459 ) ( #10464 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-03-23 16:56:31 +08:00
minggo
ccc84b06b6
replace std::unordered_map with ccstd::unordered_map ( #10459 )
...
* replace std::unordered_map with ccstd::unordered_map
2022-03-23 16:44:06 +08:00
Cocos Robot
24d84664f8
[ci skip][AUTO]: Automated clang-format update: 3de15842004cba2142ec0fecd82876d8f6a28236 ( #10402 ) ( #10424 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-03-21 16:04:49 +08:00
minggo
34bf14269c
unify stl ( #10402 )
...
* add ccstd::vector
* replace cc::vector with ccstd::vector
* replace std::vector with ccstd::vector
* do not include <vector>
2022-03-21 15:55:02 +08:00
Cocos Robot
f078686229
[ci skip][AUTO]: Automated clang-format update: 65cf4e5ef0f8b518442e457f69bf41e4fa994bed ( #10393 ) ( #10408 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-03-21 11:22:30 +08:00
qiuguohua
94f42b3c4b
Add dynamic library export macro ( #10393 )
...
* Add dynamic library export macro
2022-03-21 11:17:11 +08:00
江战
cb0618f0d4
3.5 Android: okhttp impl websockets ( #10384 )
2022-03-21 09:46:49 +08:00
minggo
73c303f556
Merge branch 'v3.5.0' into merge_v3.5.0
2022-03-08 14:53:00 +08:00
bofeng-song
4b92dfd675
support audiofocuschange for android ( #10246 )
...
* support audiofocuschange for android
2022-03-08 10:20:46 +08:00
Cocos Robot
2cfc659779
[ci skip][AUTO]: Automated clang-format update: dc993f3861cb486d66fd4de1de2bf861b0d97b96 ( #10211 ) ( #10222 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-03-02 10:17:46 +08:00
bofeng-song
141128f148
refine context2d, reduce call from native to js ( #10211 )
...
* reduce c++ callback to js
2022-03-02 09:56:00 +08:00
minggo
7f24f34b22
Merge branch 'v3.5.0' into v3.6_merge_v3.5.0
2022-01-25 19:52:06 +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
minggo
45f096ead8
fix compiling error
2022-01-24 16:42:39 +08:00
minggo
1552345596
Merge branch 'v3.4.2' into v3.5.0_merge_v3.4.2
...
Conflicts:
cocos/platform/android/jni/JniCocosActivity.cpp
cocos/platform/apple/JsbBridgeWrapper.mm
cocos/platform/ohos/jni/JniCocosAbility.cpp
cocos/renderer/gfx-metal/MTLCommandBuffer.mm
external/config.json
2022-01-24 15:01:01 +08:00
timlyeee
9340b1e3cd
remove local reference array ( #4161 )
2022-01-12 15:27:14 +08:00
minggo
5410a48a58
Implement more logic in native ( #4131 )
...
Co-authored-by: bofeng.song <bofeng.song@chukong-inc.com >
Co-authored-by: dumganhar <dumganhar@gmail.com >
Co-authored-by: mmyduckx <308303735@qq.com >
Co-authored-by: Patrice Jiang <397136899@qq.com >
Co-authored-by: 江战 <40414978+PatriceJiang@users.noreply.github.com >
2022-01-07 18:39:40 +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
timlyeee
c489a8a254
Remove origin code for twice call to java method. ( #4114 )
...
* remove use of cc::Device::getDeviceOrientation(), which will call java method again rather than jint rotation.
* Use switch and change it to cc::Device::Orientation, because ROTATION only defined on Android and OHOS.
2021-12-20 15:01:18 +08:00
oahcy
5379e6ef35
引擎适配linux平台 ( #4035 )
2021-11-29 17:17:15 +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
minggo
2ebe3260b4
fix clang tidy
2021-06-24 09:34:19 +08:00
minggo
2e364edd24
merge v3.2 to v3.3
2021-06-22 17:38:07 +08:00
Yun Hsiao Wu
9e0a8eaf7b
vk: enable triple buffer ( #3597 )
2021-06-04 11:22:36 +08:00
江战
432cfefdc6
delete local class references ( #3595 )
2021-06-02 13:38:42 +08:00
江战
1029bd2759
fix some bugs ( #3581 )
2021-05-28 18:39:14 +08:00
江战
b8ae264e5a
imporve _fileImageData performance ( #3547 )
2021-05-25 15:09:26 +08:00
江战
a652715f5a
Harmony OS support - dont merge ( #3528 )
2021-05-21 10:43:22 +08:00