Commit Graph

20974 Commits

Author SHA1 Message Date
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
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
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
bofeng-song 1a9b232221 fix audio can not reset to position 0 after call stop operation on web platform (#16122)
* fix audio can not reset to position 0 after call stop operation on web platform
2023-08-29 17:50:25 +08:00
江战 32a12e12a7 report error when check xcode failed (#16126) 2023-08-29 17:37:16 +08:00
pandamicro 0cb410d5da Merge pull request #16127 from cocos/v3.8.1
Merge V3.8.1
2023-08-29 17:01:37 +08:00
Santy-Wang 57a5350304 Support using math lib in wasm (#16062)
* Allow using math lib in wasm

* revert some change
2023-08-29 16:29:44 +08:00
yinkaile aa3b35e9f0 remove default setting for post process pipeline (#16120) 2023-08-29 11:42:51 +08:00
yinkaile 6aa24564f2 fixed serialized post process parameters (#16116) 2023-08-29 11:07:25 +08:00
徐兵 1a0820fdb0 reflection probe visibility no longer asynchronous with camera (#16115) 2023-08-29 11:00:04 +08:00
Zach Lee 630fcc95e4 fix xr interface framebuffer issue. (#16082) 2023-08-29 10:18:04 +08:00
Zach Lee 8da2d17c68 fix window resize issue with legacy pipeline. (#16113) 2023-08-29 10:17:18 +08:00
mmyduckx c11660d76e fix editbox keyboard type (#16117) 2023-08-29 09:37:53 +08:00
PP 9daf2c663c upgrade nodejs to 18.17.0 (#15899)
* upgrade nodejs to 18.17.0

fix compile-native-ts

fix type

fix eslint

fix node version on native-binding

test native ci

fix eslint

fix jest version

upgrade ts-jest

fix

reduce EXPECTED_CAPACITY

update ccbuidl

Revert "test native ci"

This reverts commit 795c8c68cf7ff7f2561db4414689ad3f6aa5c1f7.

# Conflicts:
#	scripts/native-pack-tool/package-lock.json

* detect node version

# Conflicts:
#	package.json

* use engine-strict option

* Update .nvmrc

* Update pal/input/web/accelerometer-input.ts

* fix conflict

* fix compile native ts

* download external in compile native ts

* fix
2023-08-28 15:52:24 +08:00
qiuguohua 2ea26182e0 Use the resize event of SDL (#16072)
* 1. Use the resize event of SDL;
2. Fix the problem of not getting the button when SDL is moving.

* 1.Remove redundant code.
2.Fixed compilation errors.

* Avoiding repeated viewDidChangeBackingProperties function calls.

* Fix the way buttons are fetched.
2023-08-28 09:46:21 +08:00
江战 88d585acc7 accept non array type (#16095) 2023-08-28 09:44:52 +08:00
jk20012001 a6b5b61cc0 fix BlitScreen pass make tranparency with clear color (#16108) 2023-08-25 18:38:53 +08:00
jk20012001 15eec3bc26 sheen lighting model (#16058) (#16102) 2023-08-25 18:31:28 +08:00
jk20012001 d0ca802f0d fix glass material blend with fog (#16104) 2023-08-25 17:30:29 +08:00
jk20012001 24848f4512 Revert "sheen lighting model (#16058)" (#16103) 2023-08-25 16:28:34 +08:00
江战 2a2624a54b Update native-compile-platforms.yml (#16074)
* Update native-compile-platforms.yml

* Update .github/workflows/native-compile-platforms.yml

* clean after build
2023-08-25 15:45:59 +08:00
Cocos Robot fda552ae6c [ci skip][AUTO]: Automated code generating update: 6d581c8b5370c59910c323c4f0796da2eff4a8c0 (#16096) (#16100)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-08-25 15:45:29 +08:00
mmyduckx 95acc35ab9 add some native feature for videoplayer (#16096)
* add some native feature for videoplayer

* fix review&clang-tidy

* update version
2023-08-25 14:23:37 +08:00
jk20012001 5071624db8 sheen lighting model (#16058) 2023-08-25 10:47:24 +08:00
troublemaker52025 16d720663a Fix hot update for pipeline effects and Float-output-process flow (#16084) 2023-08-25 10:46:10 +08:00
fqamic dee666c994 fix: xr platform crash with new material change (#16092) 2023-08-24 15:53:37 +08:00
qiuguohua e86f6d27fd Does not handle mismatched touchid (#16078) 2023-08-24 10:47:45 +08:00
Canvas e9ca89f73e update external-config checkout to v3.8.1-17. (#16081) 2023-08-23 21:15:21 +08:00
Canvas da507e4ba7 fix spine wasm api array bind (#16064)
* fix some array type bindings.

* change engine-native-external to v3.8.1-15.

* revert v3.8.1-15 to v3.8.1-14.

* fix code format.

* fix code format.

* fix getAttachmentNames api.

* off no-unsafe-argument.

* change engine-native-external checkout to v3.8.1-16.

* optimize use vector set & fix edges prototype error.

* add vector default value 0 annotation.
2023-08-23 12:45:17 +08:00
Yiwen a4990ce4e6 Fix meshopt wechat (#16069)
* fix wechat wasm problem, sync external tag

* fix formatting

* fix tidy, unit test
2023-08-23 11:59:56 +08:00
SijieWang 0f5609b96b [Optimize] clear-platform supports passing arguments. (#16073) 2023-08-23 11:57:57 +08:00
dogeFu aff8320359 Fix : editor preview set fps no working (#16054) 2023-08-23 11:57:46 +08:00
黄森斌 563e9f780d fix change language would not update help doc link (#16067) 2023-08-23 11:08:57 +08:00
troublemaker52025 5b5c3cf977 fix custom pipeline load float-output-process error (#16071) 2023-08-23 10:53:24 +08:00
Yiwen 3febfab310 fix rendering submesh typo (#16063)
* fix rendering submesh typo

* fix typo

* sync external tag
2023-08-22 15:40:18 +08:00
Santy-Wang baea594f93 bump external tag (#16066) 2023-08-22 15:15:35 +08:00
Gin f330132aa3 improve: effects list sorting in material panel (#16060)
* improve: effects list ordering in material panel

* fixup: set collator option `numeric` to `true`

* fixup: use `Object.value` & filter

* fixup: filter predicate function
2023-08-22 13:57:03 +08:00
Zeqiang Li 13d01a4d79 mtl depth resolve feature query update (#16061) 2023-08-22 12:44:18 +08:00
黄森斌 5f61d2a112 fix fbx and widget bug in inspector (#16057)
* optimize widget layout

* fix bug of resizing panel , fbx event point would not update position

* change method name
2023-08-21 19:28:33 +08:00