Commit Graph

4804 Commits

Author SHA1 Message Date
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
mmyduckx 14653478a5 fix ios icon res lost (#10336) 2022-03-14 16:51:15 +08:00
Yun Hsiao Wu df6465c723 remove debug code (#10293)
they use overly-strict memory orders, which is not good to keep around
anyways
2022-03-10 09:42:26 +08:00
timlyeee bb62e41c40 fix crash when app jump to camera (#10255) 2022-03-08 09:42:23 +08:00
SijieWang d54dd94650 [Optimize] git update external (#10242)
* [Optimize] git update external

* review code

Co-authored-by: Sijie <devhacker520@hotmail.com>
2022-03-04 17:42:02 +08:00
bofeng-song 65e89c2094 fix translucent problem due to SurfaceView‘s limit (#10228) 2022-03-02 17:47:27 +08:00
timlyeee c91db1f369 Fix ios device display effect (#10184)
* Fix ios device display effect
2022-03-02 10:27:51 +08:00
Cocos Robot 25399bc1a9 [ci skip][AUTO]: Automated clang-format update: bbb83c366fce82c1d817e53907a8cdffdccd5b41 (#10096) (#10224)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-02 10:18:31 +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
Cocos Robot 54cfb9f897 [ci skip][AUTO]: Automated genbindings update: dc993f3861cb486d66fd4de1de2bf861b0d97b96 (#10211) (#10223)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-02 10:17:32 +08:00
Yiwen b2ec8b022f select mipmap levels dynamically (#10096)
* draft

* fix some stupid bugs introduced in the lase commit

* fixed bug when init webgl's texture.

* draft

* fix some bugs

* fix some warnings

* fix undefined type cast

* For Vulkan device, query the storage feature through optimal tiling instead of linear tiling.

* fix some bugs appear when resize texture, clean the changes. all tests passed.

* remove debug codes, improve performance, correct the framebuffer size.

* make some input parameters readonly

* Make the gfx function's parameter's access priority the same as native engine

* remove uncessary members and interface for ES3, move getGLSampler into IWebGL2GPUSampler, delete WebGL2CmfFuncCreateSampler...
2022-03-02 10:15:34 +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 a5c138be50 Revert "fix misuse of drawAPI on metal (#10195)" (#10213)
This reverts commit 75d96e6de4.
2022-03-01 14:53:35 +08:00
James Chen c24d75e115 [v3.5.0] Move native/external/config.json to native/external-config.json (#10208)
* Move native/external/config.json to native/external-config.json

* Update CI config.

* Update native/utils/download-deps.js

* Remove native/.github
2022-03-01 10:34:35 +08:00
江战 f2a80139a3 jsb add convert routines for size_t/long (#10198) 2022-03-01 10:29:12 +08:00
Zeqiang Li d31520c10b v3.4.2 -> V3.5.0 (#10199)
* 3.4 wgpu rebase (#4208)

Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com.com>

* spirv incorrect name on binding (#4259)

Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com.com>
2022-03-01 09:55:52 +08:00
yangchao ff4e5784e7 update config.json (#10204) 2022-02-28 17:25:51 +08:00
Cocos Robot 6d4a51fbe7 [ci skip][AUTO]: Automated clang-format update: 678436827a04f45a277fa8ccc5e05ea9acec73b0 (#10172) (#10197)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-02-28 11:03:21 +08:00
minggo 6b89ccc3d0 fix spine binary data read issue. (#10172) 2022-02-28 10:45:09 +08:00
Zeqiang Li 75d96e6de4 fix misuse of drawAPI on metal (#10195) 2022-02-28 09:57:23 +08:00
yangchao 87f795d572 fix : linux build use static link. need add sndio lib (#10186)
* fix : linux build use static link

* update config.json
2022-02-25 17:54:44 +08:00
timlyeee f175150b6c Cherry pick from v3.4.2 (#10182)
* supply a default context when surface destroyed (#4222)

* Fix loop audio would stop for ios system (#4254)

* IOS system has an uncertain state between foreground and background, and our condition sometimes miss the point to load buffers.
* Queue for 3 buffers might be too short to live, use 4 or even more instead.

* Use same mtx for write (#4220)
2022-02-25 13:52:31 +08:00
Cocos Robot a8650b60f7 [ci skip][AUTO]: Automated genbindings update: 281e09a5192e334a061f19ea55ed6e98a2cc3cbb (#10102) (#10178)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-02-25 09:57:21 +08:00
troublemaker52025 e723e5aa3a Add renderMesh bias for v3.5.0 (#10102)
* Add renderMesh bias for v3.5.0

* fix ci error

* change function name

* fix merge error

* update

* update 2

* update

* update

* update 2
2022-02-24 23:27:09 +08:00
yangchao c559839905 update config.json (#10168) 2022-02-24 15:41:08 +08:00
yangchao e9e47b9dba do not create window in server mode (#10161)
* add no window impl
* add empty win impl file
2022-02-24 14:41:04 +08:00
Yun Hsiao Wu 5dab5da5bf vk: fix android 12 crash (#10158) 2022-02-23 11:23:17 +08:00
江战 b950739cb7 sync #4261 (#10152)
https://github.com/cocos-creator/engine-native/pull/4216
2022-02-23 10:44:42 +08:00
qiuguohua c082902fe4 Fix fps calculation error for linux and QNX (#10141) 2022-02-22 09:57:24 +08:00
江战 ab939cefdf Update native-unit-test.yml (#10130)
* Update native-unit-test.yml
2022-02-21 11:49:00 +08:00
yangchao 2b50252397 V3.5.0 (#10133)
* add linux cmake template
2022-02-21 09:57:25 +08:00
Cocos Robot d312a8e004 [ci skip][AUTO]: Automated genbindings update: 3d758b5cfb6b5ad176e60f1b19077123c91c80ec (#10123) (#10124)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-02-17 17:42:50 +08:00
Yun Hsiao Wu 198034ec2c refactor access type array to access flags (#10103) 2022-02-16 09:56:46 +08:00
James Chen f34301fb88 [3.5] Update ci yml files, add native/web prefix, cherry-pick from #10083 (#10104)
* Update ci yml files, add native/web prefix (#10083)

* Update ci yml files, add native/web prefix

* Update native-compile-platform.yml

* Update CMakeLists.header.txt & generate_compile_command_android.sh

* Fix wrong path in filter_by_cdb.js
2022-02-15 09:55:48 +08:00
minggo de8f96b1dd Update config.json (#4236) 2022-02-08 11:45:49 +08:00
Yun Hsiao Wu 2902e37d52 more validations (#4230) 2022-02-08 10:31:29 +08:00
Yiwen 8e81f9cfdb add a new interface to query format feature info (#4169)
* create a seperated branch to solve the Issue 8203

* Add format feature for query

* fix bugs and add formatFeature info for metal backend.

* 1. fix some bugs; 2. correct some condition judgements; 3. remove some uncessary comments;

* fix a bug of textureExclusive, fix some typos.

* clean the code, correct some formatFeatures.

* fix bugs in metal backend, fix bugs found on windows.

* Use a proper log funciton in DeviceValidator. Fix code format.

* fix perfect-forwarding in CondVar interface
2022-01-25 19:02:33 +08:00
Cocos Robot 77097c0dcb [ci skip][AUTO]: Automated genbindings update: 1c989f87f4cb90d1534103ef7032f7a4f7de7dcb (#4212) (#4215)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-01-25 10:18:01 +08:00
Yun Hsiao Wu 464cc90bcc JSB generation keeps licenses, fixed (#4212) 2022-01-24 18:33:01 +08:00
minggo f08555248f fix conflict 2022-01-24 17:23:03 +08:00