Commit Graph

5090 Commits

Author SHA1 Message Date
hyde zhou e7da9c4458 fix compile (#16739) 2024-02-20 18:38:28 +08:00
J.C 6c49a01aae fix the wrong size used to resize the buffer (#16730) 2024-02-19 11:52:40 +08:00
J.C 8aaf2512d4 fix the memory free problem (#16734) 2024-02-19 10:40:26 +08:00
James Chen 118e50c8e8 Merge branch 'v3.8.2' of https://github.com/cocos/cocos-engine into v3.8.3
# Conflicts:
#	package-lock.json
#	package.json
2024-01-11 09:45:44 +08:00
bofeng-song ddd45f96d0 Fix spine can not be paused while working at realTime mode (#16672)
* Fix spine can not be paused while running in realTime mode
2024-01-10 13:40:21 +08:00
hyde zhou 518bdbb040 V3.8.2 gfx (#16664)
* fix glsl macro bug

* lint
2024-01-04 18:23:38 +08:00
James Chen 77de3b09ed Fix Downloader.createDownloadTask binding. (#16659) 2024-01-04 09:53:26 +08:00
Cocos Robot c9d7339e55 [ci skip][AUTO]: Automated code generating update: e31656893aca28cf32daa0d8277d7596b5a63bbd (#16650) (#16655)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2024-01-03 16:18:50 +08:00
Cocos Robot d36b4785c9 [ci skip][AUTO]: Automated code generating update: b11bea75aa8e46d6f38e81b392e39bb4d2d8c1a4 (#16651) (#16654)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2024-01-03 13:36:50 +08:00
hyde zhou 6dc6feda9d improve performance (#16650)
* improve performance

* fix typo
2024-01-03 10:18:52 +08:00
Hakim Hauston 716b935944 [ADPF] PerformanceHintAPI - include core threads + use NDK API (#16610)
* [ADPF] PerformanceHintAPI - include core threads + use NDK API
2023-12-28 09:13:11 +08:00
minggo 6c8d39e735 Fix typo (#16626)
* fix: correct spelling errors in EngineErrorMap.md

* fix: correct typo in code literals in DebugInfos.cpp

---------

Co-authored-by: Ryuu <2357622935@qq.com>
2023-12-19 15:53:41 +08:00
bofeng-song c2e1abe49c Refine: make multi skeleton component shared one instance of spine.Skeleton while spine working at sharedCache mode (#16593)
* Refine:  make multi skeleton component shared one instance of spine.Skeleton while spine working at sharedCache mode
2023-12-18 10:00:30 +08:00
dream93 10351809a1 Update MiddlewareManager.cpp (#16597)
fix spine crash
2023-12-15 16:04:50 +08:00
Cocos Robot 3ad9b4bde3 [ci skip][AUTO]: Automated code generating update: c7a3f3bfeaee30f06c48fb897c75432407c81db8 (#16590) (#16591)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-12-12 16:28:21 +08:00
hyde zhou 0ec93f11b0 V3.8.2 comment (#16581) 2023-12-08 19:02:33 +08:00
hyde zhou 477047f9e4 V3.8.2 pipeline simplify (#16578) 2023-12-08 10:35:55 +08:00
hyde zhou b2c13ffc48 fix depth stencil view resize bug (#16552) 2023-11-30 19:07:38 +08:00
hyde zhou 993493a9e7 add disable cpu light-culling to improve cyberpunk (#16551)
* add disable cpu light-culling to improve cyberpunk

* revert lint
2023-11-30 16:11:57 +08:00
hyde zhou 5f0cbf5a25 add missing directional light shadow ubo (#16548)
* add missing directional light shadow ubo

* fix lint
2023-11-30 10:27:42 +08:00
hyde zhou 5e0764a5a9 fix subpass (#16535) 2023-11-27 11:16:40 +08:00
qiuguohua 50c7daece6 Fixed the issue of OpenHarmony compilation failure on Windows (#16537)
Co-authored-by: qgh <>
2023-11-26 22:15:02 +08:00
James Chen 90c49d70f3 Fix linking error of missing bcmp function for OHOS (#16530)
* Fix linking error of missing bcmp function for OHOS

* Refactor a bit.

* Remove unneeded hack code for android api level <=21, it's probably the building arguments is wrong while building the old v8 9.1.

* std::strcmp -> strcmp
2023-11-24 14:26:58 +08:00
bofeng-song f5ca599348 fix spine can not show normally or crash (#16528) 2023-11-23 11:24:50 +08:00
bofeng-song 60627e2c5e fix skeleton's setTrackXXXListener doesn't work on web platform (#16512)
* fix setTrackxxxListener doesn't work on web platform
2023-11-16 21:16:56 +08:00
xbpiao 330b92a179 fix sevalue_to_native function support JSBNativeDataHolder convert (#16452) 2023-11-15 10:33:28 +08:00
江战 59ff2099c9 fix duration (#16489) 2023-11-10 15:44:11 +08:00
GengineJS 6963c248a0 Fixed the issue where the screen would be abnormal after switching the light source scene. (#16491)
* Fixed the issue where the screen would be abnormal after switching the light source scene.

* Update native
2023-11-09 18:59:44 +08:00
bofeng-song 6d31bbdd03 Optimize spine performance & fix memory leaks. (#16485)
* Optimize spine performance & fix memory leaks.

* Optimize array swapping from WASM to TS.

* add cached objects to avoid duplication Create arrays.

* Fix cache mode & edit mode display exception.

* Optimize the process related to updating skeletal data.

* update attach-util.

* optimize spine attach node logic.

* Optimize color refresh logic.

* Fix spine cache mode memory leak.

* remove unneeded code.

* remove unneeded code & fix code format.

* optimize computeWorldVertices to avoid every call to new SPVectorFloat();.

* fix js error on native platform


---------

Co-authored-by: Canvas <canvasfull@gmail.com>
2023-11-09 16:57:34 +08:00
hyde zhou 0a896cd34c fix render window bug (#16436)
# Conflicts:
#	native/cocos/renderer/pipeline/custom/FrameGraphDispatcher.cpp
2023-11-09 10:16:21 +08:00
bofeng-song 7d3ab9e6a6 Fix the problem that the editbox shifts too far away when the keyboard pops up (#16461)
* Fix the problem that the editbox shifts too far away when the keyboard pops up
2023-11-08 10:06:02 +08:00
hyde zhou e2d0ec3658 V3.8.2 pipeline (#16244) 2023-11-07 11:36:32 +08:00
江战 7e459d2ab9 ADPF bindings (#16445) 2023-11-02 11:26:36 +08:00
James Chen f73a4e4135 Fix compilation error of CC_ASSERT_EQ in Mesh.cpp (#16444) 2023-10-27 15:06:39 +08:00
troublemaker52025 b0c25b0852 add bias for planar shadow (#16316) 2023-10-16 17:02:11 +08:00
qiuguohua f8b5d131f4 Turning off textinput when using SDL (#16421) 2023-10-13 10:20:04 +08:00
Zeqiang Li a73168142c storage image usage fix (#16404) 2023-10-12 14:02:32 +08:00
Zeqiang Li 6eb501d6ab geometry renderer macro in physx (#16396) 2023-10-10 16:46:54 +08:00
oahc09 fcb95b5a37 feat:[xr] support dispatch xr event to ts (#16382)
* feat:[xr] support dispatch xr event to ts

* improve:add se::AutoHandleScope scope;
2023-10-10 13:53:38 +08:00
James Chen 093bc8724e Update v8 to 11.6.189.22 (#16364)
* Update se code to adapt v8 11.4

* Fix setter

* VisitHandlesWithClassIds was added again.

* Remove log in evalString

* Revert in ScriptEngine.cpp

* Update external-config.json

* Remove unused ndkPath in libcocos2dx/build.gradle

* Update external config to v3.8.2-11
2023-10-10 11:06:02 +08:00
Zach Lee ac4ff3870a feat:add imutable texture flag for Webgl2 (#16332)
* feat:add imutable texture flag for Webgl2

* fix lint
2023-10-09 17:44:02 +08:00
Leslie Leigh (李的序) 767f44a313 Bug: deserialized scene should have node transforms invalidated at initial (#16353)
* Bug: deserialized scene should have node transforms invalidated

* Remove transformFlags modification in _onBatchCreated
2023-10-09 16:50:25 +08:00
hyde zhou 7ccbd91d53 fix web (#165)
* fix web

* fix fg dispatcher
2023-10-09 14:45:06 +08:00
minggo 36a2933f6c Merge branch 'v3.8.1' into v3.8.2-merge-v3.8.1
Conflicts:
	.github/workflows/native-compile-platforms.yml
	cocos/physics/framework/deprecated.ts
	cocos/rendering/custom/executor.ts
	native/cocos/renderer/pipeline/custom/FrameGraphDispatcher.cpp
2023-10-09 14:15:51 +08:00
江战 d79d09557b Memleak fix (#16354) 2023-10-08 14:16:34 +08:00
Cocos Robot 602fa60627 [ci skip][AUTO]: Automated code generating update: 5e7e390c52d505377d699389e21304d86d7ee52d (#16339) (#16360)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-10-08 13:33:49 +08:00
oahc09 2928e74036 feat:support xr controller a/b/x/y/trigger/thumbstick touch event (#16293)
* feat:support xr controller a/b/x/y/trigger/thumbstick touch event

* fix:eslint problem

* refactor:add new enum/struct for touch event info
2023-09-26 14:32:23 +08:00
Ling Zhan 9a42164966 V3.8.2 physics debug draw (#16325)
* init debug draw

* tweak _debugDrawFlags

* px debug draw performance opt

* tweaks

* add debug draw for physx c++

* debug draw use MainWindow's cameras

* builtin physics draw; WireFrame-->wireframe

* cannon.js supports debug draw

* update engine-native-external --> v3.8.2-5

* tweak

* set engine-native-external --> v3.8.2-5, so that we can pass npm test

* fix: bullet debug draw by default should draw nothing

* comment tweaks

* tweaek

* update native/external-config.json --> 3.8.2-8
2023-09-25 18:05:33 +08:00
James Chen e9b2a15f18 Fix XR header include and don't build XRInterface.cpp if XR is disabled. (#16324) 2023-09-25 14:09:28 +08:00
Zeqiang Li 2c178e08f6 subpass output sort logic (#16314)
* subpass local attachment sort logic

* fix narrow cast
2023-09-22 18:34:46 +08:00