Commit Graph

4804 Commits

Author SHA1 Message Date
mmyduckx
9c0e425adb fix ios accelerometer not work (#11142)
* fix-ios-accelerometer not work

* remove all CC_TARGET_OS_TVOS related codes
2022-05-19 09:24:30 +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
bofeng-song
45cf244318 fix eglSwapbuffer error due to eglSurface is not ready (#11083) 2022-05-14 16:23:46 +08:00
Yiwen
12d88974cb fix format feature for Float32 for gles3 and webgl2. (#11084) 2022-05-14 16:05:41 +08:00
pandamicro
baafb1f4d3 Revert "V3.5.1 no window (#11016)" (#11071)
This reverts commit bd1c1e0088.
2022-05-14 10:20:44 +08:00
yangchao
bd1c1e0088 V3.5.1 no window (#11016) 2022-05-12 09:43:46 +08:00
Cocos Robot
5f6e0cc044 [ci skip][AUTO]: Automated genbindings update: 151c40058b (#10964) (#11026)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-05-11 13:50:49 +08:00
troublemaker52025
0dc1e9da19 Spotlight interface description change for v3.5.1 (#10964)
* Spot light interface description change for v3.5.1

* fix CI error
2022-05-11 12:00:16 +08:00
timlyeee
c7d6ba9e95 silentMode (#11022) 2022-05-11 10:54:58 +08:00
troublemaker52025
4bdfacf69f fix instanced model has not spot light shadow for v3.5.1 (#10921)
* fix instanced model has not spot light shadow for v3.5.1

* fix CI error

* fix ci error 2

* fix ci error 3

* fix ci error

* use auto
2022-05-10 19:38:39 +08:00
timlyeee
f0925edd69 listen WINDOW_RESIZE event by application (#10930) 2022-05-10 17:23:16 +08:00
江战
c7664a7a40 allow user update var (#11011) 2022-05-10 11:06:37 +08:00
timlyeee
5e603b0fe1 [Fix bug] Play and pause audio in the same frame, the pause operation won't work on native (#10990) 2022-05-09 10:00:39 +08:00
bofeng-song
7c6a269825 fix android crash due to surface not ready (#10984) 2022-05-07 10:15:23 +08:00
jk20012001
47e0a245a1 fix fog is more brighter with native engine (#10972) 2022-05-06 18:18:43 +08:00
hyde zhou
4f8e25b229 remove long comments (#10959) 2022-05-06 13:41:25 +08:00
hyde zhou
f647ca2147 try fix doc problem (#10928) 2022-05-05 19:13:36 +08:00
bofeng-song
29ff3a8749 load libGLESv3.so by default while user choose glesv3 (#10941)
* load libGLESv3.so by default while user choose glesv3
2022-05-05 17:59:46 +08:00
hyde zhou
39f46507e2 add enum comments generation (#10922) 2022-05-01 08:11:14 +08:00
Cocos Robot
a4733640e3 [ci skip][AUTO]: Automated genbindings update: efedc2282c (#10890) (#10892)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-04-27 11:41:54 +08:00
李吉林
560f774671 fix geometry-renderer in deferred pipeline (#10890)
* fix geometry-renderer in deferred pipeline

* fix ESLint error
2022-04-27 10:25:17 +08:00
Yiwen
a0387c43fd Remove a unused MEMORY_ALIASING feature. (#10867) 2022-04-25 15:57:13 +08:00
Zeqiang Li
2da44b2b1e fix metal ds index (#10857)
* fix metal ds index

* ds index

Co-authored-by: lyeee <timelyeee@gmail.com>
2022-04-25 11:57:06 +08:00
hyde zhou
61cc6f5fa3 fix debug crash problem (#10854) 2022-04-24 19:03:24 +08:00
hyde zhou
3885efa9f6 fix planar shadow (#10815) 2022-04-20 21:01:57 +08:00
hyde zhou
019d35b22e [V3.5.0 deferred pipeline] fix vulkan crash problem (#10809)
* disable post-process alpha blend

* effects updated

* effects updated

* vk fix added

* disable gles3 fbf

* fix typo

* format and add comments

* add TODO

* fix TODO
2022-04-20 18:26:48 +08:00
timlyeee
65a05558c2 check the existence of depthStencilTexture first. (#10777)
If exist, hash combine
2022-04-20 17:56:20 +08:00
qiuguohua
18d3ce2f60 Delete useless files, the application has been refactored. (#10807) 2022-04-19 18:19:21 +08:00
江战
4ad14b6f6a Update jsb_conversions.h (#10806) 2022-04-19 18:10:27 +08:00
Zeqiang Li
d2508691e4 dsiable type validator (#10784)
* dsiable type validator

* add comment

Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com.com>
2022-04-16 20:02:41 +08:00
timlyeee
bd02a8ea2e Fix restart game will create several swapchain (#10776)
codes aren't sync with 3.4.2 *https://github.com/cocos/engine-native/pull/4008

The reason why we should destroy here is that the swapchain is created by js binding, yet once restart it will create again, after that multiple swapchain will exist at same time. And only happens on Native platform
2022-04-15 13:42:09 +08:00
bofeng-song
cb75b955bf fix vulkan crash while runing in background (#10775)
* fix vulkan crash while return to background
2022-04-15 10:42:38 +08:00
bofeng-song
3a3e71632d disable sensor by default, game developer can enable it by set 'acce… (#10770)
* disable sensor by default,  game developer can enable it by set 'accelerometerEnable' to true
2022-04-15 09:49:56 +08:00
timlyeee
72bd01f273 Combine hash with validator/agent (#10753)
While the texture is destroyed, the old validator is destroyed and new validator inited.

But framebuffer validator maintains the old one as hash is the same, so when it start the validation check, the old texture validator jumped out and assertion failed.
2022-04-14 21:37:16 +08:00
Zeqiang Li
25aea26262 conditional compile swappy (#10773) 2022-04-14 18:48:49 +08:00
qiuguohua
6a3ca162f0 Add member method declaration of appdelegate (#10772) 2022-04-14 18:38:22 +08:00
bofeng-song
9ac28d2fc0 fix wrong alpha get (#10768) 2022-04-14 17:42:16 +08:00
bofeng-song
6d9123bfb3 fix compiling error (#10764) 2022-04-14 16:50:16 +08:00
qiuguohua
11c14e70e5 Delete qnx related redundant files (#10741)
Co-authored-by: qiuguohua <862332094@qq.com>
2022-04-13 09:48:30 +08:00
Cocos Robot
a8bbc166ff [ci skip][AUTO]: Automated clang-format update: 9beaedb1d2 (#10723) (#10725)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-04-11 15:51:39 +08:00
李吉林
d366f6c7df fix octree culling (#10723) 2022-04-11 15:49:52 +08:00
Zeqiang Li
c11221820d disable ds pipeline validation (#10701) 2022-04-11 15:03:49 +08:00
qiuguohua
4450700cc5 Design flaw, conflicts between initializing the default platform and … (#10711)
* Design flaw, conflicts between initializing the default platform and creating a custom platform

* Fix the error of clang-tidy

Co-authored-by: qiuguohua <862332094@qq.com>
2022-04-11 13:56:07 +08:00
Zeqiang Li
03eda2c874 update external config (#10720) 2022-04-11 13:54:42 +08:00
Cocos Robot
453963b7a7 [ci skip][AUTO]: Automated clang-format update: 50961cb082 (#10712) (#10719)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-04-11 11:10:48 +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
江战
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