Zeqiang Li
91ce03d6a3
webgpu update ( #16184 )
2023-09-08 17:02:15 +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
徐兵
006bc6254e
fix planar reflection error under the native custom pipeline ( #16014 )
2023-08-18 10:10:38 +08:00
zxx43
7a3a4f1dfb
add missed spine api ( #16010 )
...
* add missed spine api
* readSkeletonData return point
2023-08-18 02:08:30 +08:00
Ling Zhan
1dc3142fbb
[opt] when move() is called, character controller sync physics position to scene; change default stepOffset; set minimum skinWidth ( #15966 )
...
* [opt] [character controller] when move() is called, character controller sync physics position to scene immediately; change default stepOffset from 1.0 to 0.5; set minimum skinWidth 0.001
* tweak
* native
* eslint
* eslint
* eslint
2023-08-17 17:34:04 +08:00
Cocos Robot
310142ea01
[ci skip][AUTO]: Automated code generating update: 9a8c159ac0a52aeaafcf6460a0ea2bc0d9a6b2eb ( #15946 ) ( #16002 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2023-08-17 16:42:36 +08:00
Zach Lee
ed670e7b1b
NativePipeline external texture ( #15946 )
...
* NativePipeline external texture
* fix lint.
* fix format.
2023-08-17 15:42:40 +08:00
zxx43
c0adb51d36
add jsb Slot::getAttachment & Slot::setAttachment ( #15964 )
...
* add Slot::getAttachment & Slot::setAttachment
* Use nativevalue_to_se instead of native_ptr_to_seval in js_spine_Slot_getAttachment
* merge into 1 statement
2023-08-17 10:38:56 +08:00
Zach Lee
6e7841fbbb
fixed colorTemperatureRGB jsb binding. ( #15972 )
2023-08-17 10:24:49 +08:00
ChiaNing
544854c9f6
add model invalidateLocalData interface ( #15623 )
2023-08-16 17:30:28 +08:00
troublemaker52025
1256656efd
deferred tone-mapping and fog with float output in custom pipeline ( #15968 )
2023-08-16 15:16:43 +08:00
Ling Zhan
02f7d6e8bb
V3.8.1 mesh collider set mesh ( #15520 )
...
* bullet mesh-collider supports changing mesh after initialization #15363
* physx mesh-collider supports changing mesh after initialization #15363
* tweak
2023-08-16 15:05:06 +08:00