Commit Graph

4682 Commits

Author SHA1 Message Date
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
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 83ecd19721 Divide foreground tasks and all-time tasks (#4206)
* Add JsbBridgeWrapper for ohos

* Divide Foreground tasks and all-time tasks

* implement a taskQ class

* Add ohos support
2022-01-24 10:25:05 +08:00
timlyeee 49c57bd9c5 Add JsbBridgeWrapper for ohos (#4204) 2022-01-21 11:10:38 +08:00
Yun Hsiao Wu a360e4390a gfx: refactor binding mappings (#4195)
* gfx: refactor binding mappings

* fg: fix scissor merge

* fix genbindings on PyYAML 6.0+
2022-01-21 09:43:55 +08:00
Zeqiang Li 08dadb4fae wgpu ci sdk update to latest (#4202)
* wgpu ci

* update emsdk to latest
2022-01-21 09:43:21 +08:00
Zeqiang Li 8ffcf82748 wgpu ci (#4201) 2022-01-20 11:47:49 +08:00
Zeqiang Li aa95a22288 subpass + invalid depth binding + valid dsAttachment format (#4198)
* subpass + invalid depth binding + valid dsAttachment format

* append
2022-01-19 16:07:03 +08:00
Cocos Robot 7285dfc584 [ci skip][AUTO]: Automated genbindings update: d01d0d8f25bd376ca471ae8e48590d71a7c3645b (#4194) (#4196)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-01-19 15:20:25 +08:00
troublemaker52025 324e722f30 shadow info mifration for v3.5.0 (#4194) 2022-01-19 13:47:45 +08:00
江战 8154648490 3.4.1 Android: Java flush game thread tasks (#4193)
* fix run on game thread

* save

* just flush java tasks, do not run gameTick

* reduce timeout to 50
2022-01-19 12:40:20 +08:00
kenshin a608d90577 copy from https://github.com/cocos-creator/engine-native/pull/4170 (#4185) 2022-01-17 19:37:11 +08:00
Zeqiang Li 9cd1fd911e fix mem status (#4179) 2022-01-17 09:38:41 +08:00
Zeqiang Li 8b0c68504c m1 deferred rendering issue: fbf & write to same tex not fully support (#4174)
Co-authored-by: lyeee <timelyeee@gmail.com>
2022-01-14 15:57:55 +08:00
GengineJS 940891f274 Fix the problem of deferred pipeline multi-execution transparent queue (#4168) 2022-01-14 09:39:20 +08:00
troublemaker52025 6d3d4830a3 fix planar-shadow normal is zero for v3.4.1 (#4165) 2022-01-12 23:26:46 +08:00
Zeqiang Li 675ecb2351 camera render area (#4164) 2022-01-12 15:37:39 +08:00
timlyeee 9340b1e3cd remove local reference array (#4161) 2022-01-12 15:27:14 +08:00
DolaMay b9babc391c Fix Lighting stage feedback loop (#4157)
* fix cluster check bugs

* Position Delete & Normal Compress

* Fix Lighting stage feedback loop
2022-01-12 14:36:49 +08:00
timlyeee 952f646bc1 remove unnecessary include (#4153) 2022-01-10 17:26:21 +08:00
timlyeee 08e9f59ce9 Fix callInfo leak (#4148) 2022-01-08 18:05:34 +08:00