Commit Graph

21010 Commits

Author SHA1 Message Date
Zeqiang Li df2ce56b87 cluster lighting logic & pass set update (#16197) 2023-09-08 17:02:27 +08:00
Zeqiang Li 91ce03d6a3 webgpu update (#16184) 2023-09-08 17:02:15 +08:00
minggo dee88228b8 Merge pull request #16223 from minggo/v3.8.2-merge-v3.8.1
V3.8.2 merge v3.8.1
2023-09-08 15:39:14 +08:00
James Chen 164aa24aa7 [ci skip] Add android ndk cache for CI (#16224) 2023-09-08 14:53:49 +08:00
minggo 554598643a Merge branch 'v3.8.1' into v3.8.2-merge-v3.8.1 2023-09-08 14:34:24 +08:00
GengineJS 4c7d2ceee8 Fixed the problem of new pipeline don't clear reporting an error (#16217) 2023-09-08 11:04:06 +08:00
Yiwen b46cba6278 Fix/meshopt (#16200)
* fix meshopt trigger

* add missing part

* add fallback for platform that doean't support half vertex attr

* fix tidy

* revert wrong code

* correct missing field

* optimize

* tune, fix bug
2023-09-08 10:52:46 +08:00
qiuguohua 3822786b7c Fix SDL-related issues (#16212)
* 1.Fixed editbox input send message twice.
2.Fixed when the window is hidden to send message twice
3.Fixed unresponsive right mouse button

* Remove  redundant files.

* Fixed ios compile failures.

* fixed ci errors for ios
2023-09-08 10:28:16 +08:00
troublemaker52025 b57d5ab8ca Resolved error when getting length for Record type (#16213) 2023-09-08 10:20:58 +08:00
jk20012001 4dbd525917 fix sphere 2nd uv (#16210) 2023-09-07 16:32:41 +08:00
ChiaNing 7f7de0a0c0 Add dirty flag to edit box (#16209)
* add dirty flag to edit box

Add dirty flag to edit-box-impl in order to save matrix cost while not been focused

* fix CI

---------

Co-authored-by: chenyang.sun <chenyang.sun@cocos.com>
2023-09-07 16:10:55 +08:00
James Chen 2ed62f742d [v3.8.2] Add workflow_dispatch for oh sdk & vulkan sdk (#16206)
* Add workflow_dispatch for oh sdk & vulkan sdk

* [ci skip] Update oh sdk cache key to cache-oh-sdk-9
2023-09-07 14:09:29 +08:00
James Chen 2cb1652f44 Add workflow_dispatch for oh sdk & vulkan sdk (#16204) 2023-09-07 13:37:54 +08:00
PP 0b65ab3817 add CULL_MESHOPT constant (#16194)
* add CULL_MESHOPT constant

* Update cc.config.json
2023-09-07 09:34:23 +08:00
Leslie Leigh (李的序) 23a44ed00f Modify camera component ortho height's min value to 0 (#16181)
* Modify camera component ortho height's min value to 0

* Min value as 1e-6
2023-09-06 18:29:45 +08:00
Jiujiang Liu c6d1782f52 update world bound when update models (#16189)
* update world bound

* update code
2023-09-06 18:29:17 +08:00
Ling Zhan 50c2d70d2a update native/external-config: [fix] cct scaling causes trigger event missing (#16165) 2023-09-06 15:17:40 +08:00
James Chen 4b039cd6e0 fixed #16190: Compilation errors if using Clang 15 with c++17 since std::unary_function has been removed (#16191)
* fixed #16190: Compilation errors if using Clang 15 with c++17 since std::unary_function has been removed

* Windows doesn't need to define BOOST_NO_CXX98_FUNCTION_BASE since it has already been defined.
2023-09-06 14:59:03 +08:00
jk20012001 fc986c9cec fix webgpu crash with normalize zero vector (#16195) 2023-09-06 14:44:29 +08:00
Ling Zhan d198a19d07 [fix] box2d wasm rigid-body destroy() should destroy related shapes and joints #17226 (#16154)
* [fix] box2d wasm rigid-body destroy() should destroy related shapes and joints #17226

* update external-config.json
2023-09-06 14:29:45 +08:00
SijieWang 51dc67e1c0 Fix an issue where node_modules was not removed when clearing the cache. (#16193) 2023-09-06 11:07:41 +08:00
troublemaker52025 a45535ec08 fix getHDRInputName undefine with cyberpunk (#16192) 2023-09-06 09:55:02 +08:00
PP fbbda83624 update gitignore (#16187) 2023-09-05 17:16:41 +08:00
Leslie Leigh (李的序) 42ff683602 Optimize and add test to Vec2.signedAngle (#16183) 2023-09-05 15:24:38 +08:00
Ling Zhan dc933d3ca2 add experimental box2d wasm i18n (#16134) 2023-09-05 15:11:45 +08:00
bofeng-song cdca5b07b8 Fix orientation does not work normaly on huawei-agc platform (#16180) 2023-09-04 16:56:58 +08:00
Zach Lee 48a5791b9d fix format validation. (#16177) 2023-09-04 15:08:43 +08:00
James Chen db10a2624b Add openharmony CI support for v3.8.2 branch (#16170)
* Add openharmony CI support (#16151)

* Add ci support for Openharmony

* Add ci support for Openharmony

* Update native-compile-platforms.yml

* Update native-compile-platforms.yml

* Update ci yml

* Add executable permission for hvigorw

* Don't output too many log

* test hvigorw now

* Update ci yml

* Update ci yml

* Fix that could not find common/CMakeLists.txt

* build success

* Build hap package

* Update oh ci yml, save USE_SE_V8/USE_SE_NAPI to cfg.cmake

* Update oh ci yml
2023-09-01 18:07:06 +08:00
James Chen d2c3429f95 Refactor Openharmony platform code to support switching between napi (ark js runtime) and v8 (#16093)
* OH could use v8 now.

* napi addon works.

* Use Napi addon to refactor code.

* Fix compilation errors.

* tweak

* Refactor oh platform, remove some hacking for oh.

* Fix log in runScript.

* Fix the issues in napi mode.

* Revert.

* Remove an unused comment.

* Refactor log output in NapiHelper.cpp and OpenHarmonyPlatform.cpp

* Update oh template.

* Remove unused code.

* Remove unused debug log in jsb-gfx.js

* Update include

* Revert Screen::isDisplayStats.

* update OH template for v8 backend

* update

* Update CMakeLists.txt for OH

* Fix a compilation error in NapiHelper.cpp while switching to NAPI mode

* Keep the symbol of entry function.

* Add -Wl,--gc-sections and add -Wl,-s for release mode.

* Update external to 3.8.2-1

* Don't use `console.assert` directly.

* Remove oh specific methods ( getInnerWidth/Height, getWindowHandle ) in Device class.

---------

Co-authored-by: PP_Pro <chinese1236@qq.com>
2023-09-01 16:27:08 +08:00
troublemaker52025 eaeab8b62c delete rangeddir / point light custom template form components.js (#16169) 2023-09-01 16:16:24 +08:00
jk20012001 692d3dc354 fix debug view with custom pipeline and revert LDR fog to HDR (#16163) 2023-09-01 16:15:58 +08:00
ChiaNing 70b7875101 don`t destroy sub com when mask destroy (#16162) 2023-09-01 15:36:47 +08:00
Canvas ba70fe19db fix bind cont EventData * bind, modify the address as a reference. (#16105)
* fix bind cont EventData * bind, modify the address as a reference.

* change external-config checkout to v3.8.1-19.

* optimize const bind data, use const_cast<Type> & fix spine define api.

* fix wasm api getId & getOffset & <size_t> bones.

* fix wasm & asm const string.

* fix const std::string path to const std::string &path.

* change external-config checkout v3.8.1-19 to v3.8.1-20.
2023-09-01 15:36:06 +08:00
hyde zhou e2e4ceb1f8 change shader strip (#16167) 2023-09-01 15:22:45 +08:00
Zach Lee 772bfcea22 fix web pipeline framebuffer resize issue. (#16157)
* fix web pipeline framebuffer resize issue.

* fix lint.
2023-09-01 14:07:55 +08:00
James Chen 2b18d25bff Add openharmony CI support (#16151)
* Add ci support for Openharmony

* Add ci support for Openharmony

* Update native-compile-platforms.yml

* Update native-compile-platforms.yml

* Update ci yml

* Add executable permission for hvigorw

* Don't output too many log

* test hvigorw now

* Update ci yml

* Update ci yml

* Fix that could not find common/CMakeLists.txt

* build success

* Build hap package
2023-08-31 17:46:06 +08:00
黄森斌 4d213938e9 fix update widget occur error (#16139)
* fix update widget occur error

* update expression
2023-08-31 16:22:24 +08:00
troublemaker52025 2b275816fc post-final pass keep alpha channel (#16149) 2023-08-31 16:00:36 +08:00
Zeqiang Li 442f7402b7 macos 10.x -> 11+ api change (#16153) 2023-08-31 15:03:42 +08:00
minggo 1e3155bbe9 Merge pull request #16148 from cocos/v3.8.1
V3.8.1
2023-08-31 11:41:03 +08:00
Cocos Robot e63456c813 [ci skip][AUTO]: Automated code generating update: 91ede0bb1d1503e346230309d31e3dd60c89d4d4 (#16141) (#16144)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-08-31 09:57:27 +08:00
PP c76dc6cf74 fix linking build engine (#16141) 2023-08-31 09:47:19 +08:00
troublemaker52025 77d3f7cde7 fix alpha blend error with custom pipeline and add bloom masks (#16125) 2023-08-30 17:07:28 +08:00
qiuguohua 49ce3235c8 Update to use sdl static library (#16101) 2023-08-30 16:11:23 +08:00
PP 44ca8eaf1a support taobaoMinigamePlugin in render-config.json (#16138) 2023-08-30 15:12:09 +08:00
Yiwen 93ff89c855 fix asmjs subpackage problem on minigame platform, fix gui (#16123)
* fix asmjs subpackage problem on minigame platform, fix gui
2023-08-30 12:00:11 +08:00
troublemaker52025 63d4ed68f8 fix addRangedDirLight interface error (#16135) 2023-08-30 11:23:46 +08:00
hyde zhou d10253e60f add missing default viewType (#16121)
* add missing default viewType

* add missing color attachment
2023-08-30 11:23:25 +08:00
mmyduckx cf89825d67 fix editbox placehold height bug (#16128) 2023-08-30 10:38:20 +08:00
PP 8e8951e05f set spine module as separate engine module (#16133) 2023-08-30 10:35:31 +08:00