Commit Graph

4759 Commits

Author SHA1 Message Date
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
江战 bf2aab68cf Create external-config.json (#10707) 2022-04-08 20:58:46 +08:00
Zeqiang Li 941f165a38 correct statistics (#10667) 2022-04-08 14:42:06 +08:00
江战 4efa771d35 3.5 add cmake hooks support for cocos-service (#10691) 2022-04-08 13:44:57 +08:00
Zeqiang Li 30ed8ed5fe fix instanced rendering issue by joint index (#10692) 2022-04-08 11:40:09 +08:00
timlyeee 748178c0c0 exclude arm64 arch and specify x86_64 for iosimulator by default (#10679) 2022-04-07 15:55:09 +08:00
yangchao 1c42874d4b Update external-config.json (#10661) 2022-04-06 14:14:06 +08:00
Cocos Robot 307eb701a1 [ci skip][AUTO]: Automated clang-format update: 48787d3a22ada5d0a8220075ac7859eaf8bcba44 (#10655) (#10660)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-04-06 10:28:01 +08:00
mmyduckx 75c9e6a43b remove cocos2d-x network deprecated code (#10647) 2022-04-06 10:25:49 +08:00
timlyeee d0195edb4f set V3.5.0 simulator window position to center (#10655)
* set simulator window position to center.

* add mac support
2022-04-06 09:59:36 +08:00
yangchao f819ed7941 qnx cmake ajust (#10648) 2022-04-02 23:05:24 +08:00
Zeqiang Li 214bd51b34 add [keep] attribute to java class in project cfg (#10641)
* add [keep] attribute to java class in project cfg
2022-04-02 14:15:28 +08:00
James Chen b58929d16e Update external-config.json (#10628)
* Update external-config.json

* Fix typo of include swappy.
2022-04-01 15:11:10 +08:00
Cocos Robot aa207314c9 [ci skip][AUTO]: Automated clang-format update: f6525549bb8bc3e6b8f77af709df345e8d7fe438 (#10621) (#10632)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-04-01 15:10:44 +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
bofeng-song 0fc5ff79be fix ndkPath not work (#10627) 2022-04-01 13:39:45 +08:00
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