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
Zeqiang Li
8a6c212c82
update web pipeline for webgpu ( #16207 )
2023-09-11 17:31:43 +08:00
qiuguohua
290746adb0
Fixed the problem of incorrect display position of the emulator. ( #16238 )
2023-09-11 15:07:02 +08:00
James Chen
d7f90a358b
Fix all warnings for gfx-webgpu and add condition control for webgpu ci yml ( #16232 )
...
* Fix all warnings for gfx-webgpu
* Update webgpu yml, add condition control
2023-09-11 09:37:59 +08:00
James Chen
322875ef39
Enable gfx-webgpu ci by default and fix some warnings in gfx-webgpu code ( #16231 )
...
* Fix some warnings of gfx-webgpu.
* Move gfx-webgpu compilation to another yml
* Update CMakeLists.txt
* Update webgpu yml
* Fix a mistake in native-compile-webgpu.yml
* Remove unused `#pragma once` for WGPUEMSImpl.cpp
2023-09-08 18:04:38 +08:00
Zeqiang Li
91ce03d6a3
webgpu update ( #16184 )
2023-09-08 17:02:15 +08:00
troublemaker52025
3c0aaf5138
fix debugView UBO data for native custom pipeline ( #16218 )
2023-09-08 14:53:38 +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
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
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
Zach Lee
48a5791b9d
fix format validation. ( #16177 )
2023-09-04 15:08:43 +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
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
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
qiuguohua
49ce3235c8
Update to use sdl static library ( #16101 )
2023-08-30 16:11:23 +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
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
徐兵
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
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
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
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
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
Zeqiang Li
13d01a4d79
mtl depth resolve feature query update ( #16061 )
2023-08-22 12:44:18 +08:00
qiuguohua
62a9da122e
Use sdl2 on mac platform ( #16030 )
...
* Use sdl2 on mac platform
2023-08-21 16:45:53 +08:00
Cocos Robot
46592f013b
[ci skip][AUTO]: Automated code generating update: 0af68e43e95326958afc65ae5e6849ef8ac59c5d ( #16023 ) ( #16043 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2023-08-21 13:43:36 +08:00
Canvas
20dd273ea7
fix spine wasm api. ( #16004 )
...
* fix spine wasm api.
* fix code format.
* remove new api.
* remove private function.
* add setSlotsRange return type.
* add setSlotsRange parameter type.
* fix setUV.
* Fix code description problem.
* remove new api $ fix complete listeners.
* fix bone setter.
* fix code format.
* fix code format.
* fix code format.
* fix bind api.
* remove test code.
* fix code format.
* add api any ignore.
* update external-config checkout to v3.8.1-14.
2023-08-21 13:34:44 +08:00
zxx43
22c5bbc175
add a lot of missed functions for spine jsb ( #16027 )
...
* add a lot of missed functions for spine jsb
* change conversion type to number
* check type is a number
* change toNumber to toDouble
2023-08-21 11:28:56 +08:00
Yiwen
bde3cd4cc3
Add adv mesh functionalities. ( #16009 )
...
* stage
* update
* update
* fix physics & ray cast problem
* fix default value, clean unused code, fix lint errors
* clean code
* update meta file
* update external, license
* fix tidy, circular dep
* fix type cast
* rm unit test
* fix unit test
* update comment
2023-08-21 10:15:24 +08:00
Ling Zhan
e5488b7d32
V3.8.1 box2d wasm experimental ( #15979 )
...
* init
* tsconfig.json
* add box2d-wasm backend to cocos engine. not crash now in 3.8.0.
* rigid-body, collider, and joint works now.
* back
* Joint: SetLinearFrequencyAndDampingRatio
* PhysicsRayCastCallback, PhysicsAABBQueryCallback
* box2d wasm debugDraw
* asm.js
* B2PolygonShape uses B2.ConvexPartition
* box2d wasm contact disabled works now.
* add unit test for physics2d.
* b2ContactListenerWrapper::registerContactFixture
* tweak
* drawPolygon transfer array data from wasm to ts
* tweak
* contact event performance opt
* revert to polygon collider 2d to original implementation. no need for libtess any more.
* PostSolve ContactImpulse use raw pointer.
* TransformVector2; debugDraw supports transform
* enable rtti
* WASM_OBJECT_PTR_2_TS_OBJECT, WASM_OBJECT_PTR_2_WASM_OBJECT
* fix PreSolve parameter oldManifold error
* B2.TransformVector2 --> b2Mul(in ts)
* tweaks: code format.
* eslint
* eslint
* remove physics-2d-box2d-wasm from render-config.json
* comment tweaks
* [opt] debug draw performance opt
* tweaks
2023-08-18 19:30:14 +08:00
oahc09
56417f35b0
improve:adjust xr begin/end render frame call's position ( #16021 )
...
(Calculate the correct delta time)
2023-08-18 15:11:35 +08:00
Zach Lee
a77a6c9488
fix instanced buffer. ( #16017 )
2023-08-18 11:05:53 +08:00
Ling Zhan
cf8ceed661
V3.8.1 cct trigger ( #15613 )
...
* physx ts 支持
# Conflicts:
# cocos/physics/framework/components/character-controllers/character-controller.ts
# cocos/physics/framework/components/colliders/collider.ts
# cocos/physics/physx/physx-world.ts
* add bullet-character-controller trigger events
* physx c++ add cct trigger
* tweaks
* tweaks
* tweaks
* tweak
* tweaks
* physics jsb: emitCCTShapeEvent --> emitCCTCollisionEvent
2023-08-18 10:47:59 +08:00