Commit Graph

4743 Commits

Author SHA1 Message Date
qiuguohua 2ed00a11e0 Remove the adaptation source code of qnx (#10616)
* Remove the adaptation source code of qnx
2022-04-01 10:54:44 +08:00
Cocos Robot f28c81eb82 [ci skip][AUTO]: Automated clang-format update: 86ccb8bca57b7ef5584724246d1d55c9b28706f2 (#10607) (#10614)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-31 18:16:19 +08:00
timlyeee f8282bf1ff [bug fix]Use macro to set XXTEAKEY (#10607)
* [bug fix]Use macro to set XXTEAKEY
2022-03-31 17:27:56 +08:00
江战 72ec812b33 V3.5 add linux ci (#10600)
* add linux ci
2022-03-31 14:30:32 +08:00
mmyduckx 8747790eda fix ios enter forground crash by useless appDelegateBridge (#10580) 2022-03-30 08:33:52 +08:00
timlyeee 61988646c1 add main.mm back while main function is needed for simulator (#10577)
* add main.mm back while main function is needed for simulator

* add license
2022-03-29 20:17:03 +08:00
Cocos Robot e0d52b3a94 [ci skip][AUTO]: Automated clang-format update: 3efcfd93e6c5a8242db6db9d5c0782ed5290f8ca (#10566) (#10569)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-29 16:39:26 +08:00
qiuguohua 50d2db2035 Avoid creating the window twice (#10566) 2022-03-29 16:26:30 +08:00
Cocos Robot fb40da563d [ci skip][AUTO]: Automated clang-format update: e752c9cef279f2ee5a2dbe3db86da885d9717ea5 (#10556) (#10564)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-29 15:32:17 +08:00
qiuguohua 02c0800df8 Delete some redundant files (#10561) 2022-03-29 15:27:10 +08:00
qiuguohua 9a5f43d80c Modify the application interface name and remove the js keyword (#10556)
* Modify the application interface name and remove the js keyword
2022-03-29 15:08:49 +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
Cocos Robot c62f828551 [ci skip][AUTO]: Automated clang-format update: bdf9ae46e7c60cfc50876fff03424edccb4646e8 (#10543) (#10548)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-28 18:12:33 +08:00
bofeng-song 025770fbce fix watermark can not show normally (#10547) 2022-03-28 18:09:33 +08:00
qiuguohua 051e034f3f Put main.cpp in the template (#10543)
* Put main.cpp in the template
2022-03-28 18:03:51 +08:00
Zeqiang Li de1c34a6b0 fix donknownwho's typo : ( (#10532) 2022-03-28 00:09:48 +08:00
Yiwen 718ea8ee3f Add a method to select mipmap range for Texture2D and TextureCube. (#10500)
* Add a feature to select mipmap range to image asset.

* fix format

* fix format

* modify comments, remove uncessary methods

* finx comments.

* fix logic problem

* fix mipmap range problems

* Add validation information incase someone wants to generate mipmap for compressed texture

* remove some validations to make gfx bakend clear

* fix a stupid typo

* Add validation information for setMipRange

* use assertID to validate the mipmap range
2022-03-27 13:52:24 +08:00
qiuguohua 6166752b37 Use fixed coordinates and modify function name (#10527)
* Use fixed coordinates and modify function name
2022-03-27 09:42:11 +08:00
hyde zhou 60a3704955 partial specialization (#10525) 2022-03-26 21:53:33 +08:00
qiuguohua 422e4ccfe0 V3.5.0 window position (#10526) 2022-03-26 21:12:41 +08:00
qiuguohua 893643d278 V3.5.0 appdelegate (#10509)
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

* Move appdelegate into template

* Optimize the main function of IOS

* Move view.mm into template

* Modify file copyright information

* Modify the addition location of view.mm

* Engine remove dependency SDKWrapper
2022-03-26 19:35:47 +08:00
Cocos Robot 6df16fe826 [ci skip][AUTO]: Automated clang-format update: 1f6796cbe497b6c7e4e0d6596aabb955fc6c58b5 (#10513) (#10514)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-26 19:33:26 +08:00
qiuguohua ecb0533c66 V3.5.0 window position (#10513)
* Mac,windows,linux create lower left window by default

* Mac creates bottom left window by default
2022-03-26 15:38:57 +08:00
江战 909c9df9e9 prevent class CocosWebSocket from obfuscation in release mode (#10511) 2022-03-26 11:00:42 +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
Cocos Robot 80d49e36e2 [ci skip][AUTO]: Automated clang-format update: 1f05c945e35a7f637d7990cad60f2a1367dabf6c (#10479) (#10493)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-25 16:03:44 +08:00
江战 f1e60342e3 fix websocket send string (#10495) 2022-03-25 15:20:49 +08:00
Zeqiang Li 723c223b01 shader optimization always on (#10483) 2022-03-25 13:50:38 +08:00
江战 437e50692c V3.5 simplify native templates (#10479) 2022-03-25 11:25:07 +08:00
Cocos Robot da2bb3c5db [ci skip][AUTO]: Automated clang-format update: f9971a5a25b7a78c29f81b633160a7b55ee1cc97 (#10327) (#10478)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-24 18:02:46 +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
江战 b455e7fc86 V3.5 rename assets (#10443)
* add resources

* fix order

* ignore _external
2022-03-22 18:07:50 +08:00
Zeqiang Li fac0f58a71 skip getraw (#10429) 2022-03-22 11:16:27 +08:00
timlyeee 7d7f32e24e rename windows process name (#10422)
* remove file description in game.rc, the process name  will keep the same as project name
* add macro definition GAME_NAME for creating window, as no other way to read it.
2022-03-22 10:29:25 +08:00
kenshin 93f37f2b82 Optimize android download tasks. (#10274) 2022-03-21 19:53:11 +08:00
Yun Hsiao Wu 7aaac3c6b7 bypass job system creation if possible (#10308) 2022-03-21 11:23:21 +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
SijieWang 6bf6a96ee9 fix gen-simulator (#10401)
* fix gen-simulator
Co-authored-by: Sijie <devhacker520@hotmail.com>
2022-03-18 18:13:02 +08:00
qiuguohua 6a16077bc5 SDL related interface encapsulation (#10385)
* SDL related interface encapsulation
2022-03-18 14:43:01 +08:00
kenshin c374ef59de fix spine rendering confusion (#10348)
Re: cocos/2d-tasks#3621

Changelog:

Fix incorrect parsing of JSON boolean value.
Skips rendering slots without active bones .
2022-03-17 17:35:32 +08:00
Cocos Robot 30b7591b28 [ci skip][AUTO]: Automated clang-format update: 508dd40734e2e9e59a002f0f79482bf2831ad5d9 (#10359) (#10378)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-17 11:08:26 +08:00
Zeqiang Li 6cdaf450e3 fix crash by incorrect hash ---- autotest (#10359)
* fxi crash by incorrect hash
2022-03-17 10:12:51 +08:00
qiuguohua 45d95dd285 Add destroy window event and recreate window event on windows platform (#10365) 2022-03-17 09:36:04 +08:00
Cocos Robot cd6b22312a [ci skip][AUTO]: Automated clang-format update: 28eb614cf3ba9a0eae9404d84073010e82279726 (#10344) (#10358)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-16 16:35:01 +08:00
fish9167 82cd89d260 Update native-compile-platforms.yml (#10362)
* Update native-compile-platforms.yml

更新 windows 镜像版本
限制任务触发条件(native 目录下有文件修改才会触发该任务)

* Update automation_labels.yml

组织名称修改

* change Visual Studio version

修改 Visual Studio 版本(2017-->2019)

* Update native-simulator.yml

更新 windows 镜像版本
限制任务触发条件(native 目录下有文件修改才会触发该任务)
2022-03-16 16:00:23 +08:00
qiuguohua 1a90cd9013 Windows platform handles multiple events at once (#10344)
* The windows platform handles multiple events at once
2022-03-16 10:33:37 +08:00
qiuguohua eb3a863a28 Replace addPermanentRegisterCallback with addRegisterCallback. (#10350) 2022-03-16 10:32:47 +08:00
kenshin e4743d6373 avoid spine and dragon crash. (#10314) 2022-03-15 18:40:50 +08:00