Commit Graph

3589 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: 151c40058b78e61f3153af6ae61005763aa85350 (#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
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
Cocos Robot a4733640e3 [ci skip][AUTO]: Automated genbindings update: efedc2282ccc1d454acb726df2ad3db24752d808 (#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
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
Cocos Robot a8bbc166ff [ci skip][AUTO]: Automated clang-format update: 9beaedb1d2e5a42304693825ec617b3570ee7ca4 (#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
Cocos Robot 453963b7a7 [ci skip][AUTO]: Automated clang-format update: 50961cb082fc2f5d6cd066d697d5612b997eaafd (#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
Zeqiang Li 941f165a38 correct statistics (#10667) 2022-04-08 14:42:06 +08:00
Zeqiang Li 30ed8ed5fe fix instanced rendering issue by joint index (#10692) 2022-04-08 11:40:09 +08:00
mmyduckx 75c9e6a43b remove cocos2d-x network deprecated code (#10647) 2022-04-06 10:25:49 +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
江战 72ec812b33 V3.5 add linux ci (#10600)
* add linux ci
2022-03-31 14:30:32 +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