Commit Graph

6471 Commits

Author SHA1 Message Date
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
bofeng-song 6e0fb05838 revert bullet's change (#16555) 2023-12-04 18:07:55 +08:00
bofeng-song dadd6188ab fix bullet can not work normaly at taobao-creative-app (#16544)
* fix bullet can not work normaly at taobao-creative-app

* update external version

* Revert "fix bullet can not work normaly at taobao-creative-app"

This reverts commit af12ac567b10b6f36b9735ae0d0332b0f15c36da.

* refine
2023-12-04 11:22:20 +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
James Chen 02b838a486 Fix GFX object export on native platforms. (#16481) 2023-11-10 11:53:16 +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
Zeqiang Li e9b7fd3ab7 update wgpu external && missing web logic (#16433) 2023-10-20 17:19:30 +08:00
troublemaker52025 b0c25b0852 add bias for planar shadow (#16316) 2023-10-16 17:02:11 +08:00
Ling Zhan 38bcd20e9f V3.8.2 bullet embind (#16350)
* bullet wasm embind

# Conflicts:
#	tests/init.ts

* replace imports with abstract methods of class

* embind performance opt

* wasm split loading

* tweak

* update native/external-config.json 3.8.2-14
2023-10-13 16:16:23 +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
Leslie Leigh (李的序) 52726aa1a2 physx disable unused PVD for now (#16383)
* Disable unused PVD for now

* Update physx dep
2023-10-11 13:31:57 +08:00
James Chen 40ec21934b fixed #16355: Compilation fails in CI env if using Android NDK r26 (#16401)
* fixed #16355: Compilation fails in CI env if using Android NDK r26

* Update predefine.cmake
2023-10-11 10:00:13 +08:00
Ling Zhan db5779c77c V3.8.2 box2d wasm node scale performance opt (#16386)
* node scale cause box2d shape recreate, low perf
* box2d and polygon2d shape
* WASM_OBJECT_PTR_2_TS_OBJECT WASM_OBJECT_PTR_2_WASM_OBJECT
* tweak
* update external-config.json to v3.8.2-12
2023-10-10 16:57:01 +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
Ling Zhan d8f1be6f05 [fix] box2d wasm joint stiffness and damping ratio now behaves the same as box2d.ts; fix rigidbody set type; fix box2d-wasm reallocate mem (#16278)
* [fix] box2d wasm joint stiffness and damping ratio now behaviors the same as box2d.ts; 
fix rigidbody set type; 
fix box2d-wasm reallocate mem
[fix] [physics2d] 1. debugdraw circle shape not consider rotation transform; 2. box2dwasm circle shape offset error
update native/external-config.json --> v3.8.2-9
2023-09-26 16:29:57 +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
James Chen 8c3e160846 Fix a compilation issue and a crash issue if using Xcode 15 (#16306)
* Fix crash in __cxx_global_var_init if using Xcode 15 and targeting <= iOS 14

* 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-21 18:59:07 +08:00
Zeqiang Li 2039c33462 correct renderpass reorder logic (#16294) 2023-09-21 17:31:07 +08:00
minggo aa601815c4 Merge branch 'v3.8.1' into v3.8.2-merge-v3.8.1
Conflicts:
	cocos/render-scene/scene/submodel.ts
2023-09-20 15:15:22 +08:00
qiuguohua 608660ae60 Fixed multi-threading causing view read failure (#16253) 2023-09-15 10:19:08 +08:00
Ling Zhan f4aa7e93f7 update native/external-config v3.8.2-7 (#16256) 2023-09-14 16:45:26 +08:00
Zeqiang Li cc2a1a8ac8 fix recursive call (#16245) 2023-09-12 10:07:39 +08:00
Zeqiang Li 2788ed62e6 update webgpu external config (#16243) 2023-09-11 18:46:02 +08:00