Commit Graph

6323 Commits

Author SHA1 Message Date
minggo 802a1f0959 Merge branch 'v3.8.0' into v3.8.1-merge-v3.8.0
Conflicts:
	cocos/core/utils/x-deprecated.ts
	cocos/physics/bullet/instantiated.ts
	cocos/physics/framework/components/character-controllers/character-controller.ts
	cocos/render-scene/scene/shadows.ts
	cocos/rendering/render-shadow-map-batched-queue.ts
	cocos/spine/lib/instantiated.ts
	cocos/spine/lib/spine-define.ts
	cocos/spine/skeleton.ts
	native/cocos/editor-support/spine-wasm/AtlasAttachmentLoaderExtension.cpp
	native/cocos/editor-support/spine-wasm/spine-skeleton-instance.cpp
	native/cocos/editor-support/spine-wasm/spine-skeleton-instance.h
	native/cocos/editor-support/spine-wasm/spine-type-export.cpp
	native/cocos/editor-support/spine-wasm/spine-wasm.cpp
	native/external-config.json
2023-07-12 16:02:10 +08:00
James Chen aa53a8b03e fixed #15688: [JSB] Assertion was triggered if bind an inner class whose parent is also an inner class (#15689) 2023-07-12 13:37:28 +08:00
Santy-Wang e5d61cf2a2 fix problem when skin changed and slot texture changed (#15677)
* fix problem when skin changed and slot texture changed

* update external version
2023-07-11 18:27:47 +08:00
Santy-Wang 31b10ffdc5 update external version (#15675) 2023-07-11 14:27:39 +08:00
Canvas 399e8a1d54 Fix the enumeration order of event types in Wasm (native) and TypeScript interfaces. (#15664)
* Fix the issue of aligning the enumeration order of event types in Wasm (native) and TypeScript interfaces.

* optimize EventType_Complete order.

* fix mapping bindings.
2023-07-10 14:38:25 +08:00
Canvas 89cd677200 fix spine STRING_STD2SP function Uncaught RuntimeError: memory access out of bounds. (#15663)
Co-authored-by: Santy-Wang <wh19930829@qq.com>
2023-07-10 14:14:10 +08:00
Santy-Wang fedcfd295e export getAttachments (#15661)
* export getAttachments

* export getAttachments and other interface

* change string to const string&
2023-07-10 12:34:33 +08:00
江战 9aaee8c8f7 Update external-config.json (#15649) 2023-07-07 16:56:53 +08:00
Canvas 8ed2ed5786 Spine v3.8.0 Fix missing interface bindings (#15618)
* Fix spine replacement skin and animation bone rendering data not refreshed.

# Conflicts:
#	cocos/animation/marionette/graph-eval.ts
#	cocos/physics/framework/components/constraints/hinge-constraint.ts
#	cocos/rendering/custom/pipeline.ts
#	cocos/rendering/custom/private.ts
#	cocos/rendering/custom/render-graph.ts
#	cocos/rendering/post-process/passes/forward-pass.ts
#	cocos/rendering/post-process/passes/forward-transparency-pass.ts
#	cocos/rendering/post-process/passes/index.ts
#	cocos/rendering/post-process/passes/tone-mapping-pass.ts
#	cocos/rendering/post-process/post-process-builder.ts
#	editor/assets/effects/advanced/leaf.effect
#	editor/i18n/en/animation.js
#	editor/i18n/en/localization.js
#	editor/i18n/zh/animation.js
#	editor/i18n/zh/localization.js
#	editor/inspector/assets/fbx/model.js
#	native/cocos/renderer/pipeline/custom/NativeExecutor.cpp
#	native/cocos/renderer/pipeline/custom/NativePipeline.cpp
#	native/cocos/renderer/pipeline/custom/NativePipelineTypes.h
#	native/cocos/renderer/pipeline/custom/NativeRenderGraph.cpp
#	native/cocos/renderer/pipeline/custom/RenderInterfaceTypes.h

* Add bone & IkConstraintData & IkConstraint & PathConstraintData & PathConstraint setter bindings.

* Add TrackEntry & AnimationState & Animation setter bindings.

* Fix the problem that SkeletonData removal skin  and animation are not removed on editor.

* fix the problem of skeleton animation delete refresh.

* add Skeleton getState interface.

* optimize the requestDrawData parameter name & fix get texture by textureID.

* add getAttachments

* Add slots and atlas mapping hash.

* optimize atlas hash code.

* parsing atlas from native layer.

* rollback to remove the skeleton component of forced refresh.

* revert some change

* optimize get atlas page index & fix multi-posting texture cache mode does not display.

* fix extra space.

---------

Co-authored-by: zxx43 <zxx43@hotmail.com>
Co-authored-by: santy-wang <wh19930829@qq.com>
2023-07-07 16:28:28 +08:00
hyde zhou 308816f4a9 fix native pipeline instancing implementation (#15647) 2023-07-07 16:06:24 +08:00
James Chen 73776a0993 Update external to v3.8.0-14 (#15635) 2023-07-07 10:53:23 +08:00
Ling Zhan 083e3b284d [fix] physx rigid body sleep issues (#15625)
* [fix] physx rigid body sleep issues

* tweaks
2023-07-06 12:40:26 +08:00
minggo 7ef995b655 Merge branch 'v3.8.0' into v3.8.1-merge-v3.8.0
Conflicts:
	cocos/3d/lights/spot-light-component.ts
	cocos/animation/event/event-emitter.ts
	cocos/physics-2d/box2d/physics-contact.ts
	cocos/physics-2d/box2d/physics-world.ts
	cocos/physics-2d/box2d/platform/physics-contact-listener.ts
	cocos/physics-2d/builtin/builtin-world.ts
	cocos/physics/framework/components/constraints/configurable-constraint.ts
	cocos/spine/assembler/simple.ts
	cocos/spine/skeleton.ts
	native/cocos/editor-support/spine-wasm/spine-model.cpp
	native/cocos/editor-support/spine-wasm/spine-model.h
	native/cocos/editor-support/spine-wasm/spine-skeleton-instance.cpp
	native/cocos/editor-support/spine-wasm/spine-skeleton-instance.h
	native/cocos/editor-support/spine-wasm/spine-type-export.cpp
	native/external-config.json
2023-07-03 15:25:13 +08:00
Santy-Wang e653f6f953 Update external-config.json (#15598)
update spine wasm
2023-07-02 22:00:23 +08:00
Canvas 6d0c1d340e Fix spine replacement skin and animation bone rendering data not refreshed. (#15597) 2023-07-02 20:16:27 +08:00
zhakesi a1fa17e466 fix some bugs in spine webassembly (#15569)
* fix blend enum export

* fix convert string from ts to sp string

* update skeleton data in preload

* feature: support change slot texture web

* feature: spine change slot texture native

* fix set debug render in native

* fix some spine asset with no mesh data

* fix some interfaces

* fix change slot repeat to create middleware textures

* fix code style

* update external config
2023-06-30 15:05:16 +08:00
James Chen 324e47589e Update swig to cocos-v1.1.5 to resolve function name of glue code for overloaded constructor (#15588) 2023-06-30 11:32:04 +08:00
hyde zhou 35f64816f3 V3.8.0 pipeline api document (#15529) 2023-06-29 12:35:28 +08:00
江战 5f71d04aac Filp the y-axis value for stick (#15570) 2023-06-28 18:21:29 +08:00
minggo e7c5b34e18 Merge branch 'v3.8.0' into v3.8.1-merge-v3.8.0
Conflicts:
	cocos/2d/assembler/label/text-processing.ts
	cocos/physics/bullet/instantiated.ts
	cocos/profiler/profiler.ts
	cocos/rendering/custom/executor.ts
	cocos/rendering/custom/index.ts
	cocos/rendering/custom/web-pipeline.ts
	cocos/rendering/pipeline-scene-data.ts
	cocos/root.ts
	cocos/spine/assembler/simple.ts
	cocos/spine/lib/instantiated.ts
	cocos/spine/lib/spine-define.ts
	cocos/spine/skeleton.ts
2023-06-27 13:35:35 +08:00
Ling Zhan 3afeca4d15 update native/external version v3.8.0-11 (#15546) 2023-06-27 10:41:20 +08:00
mmyduckx 495830614a fix mac editbox show bug when resize (#15533) 2023-06-26 17:13:36 +08:00
James Chen f9dd8bcbc4 Fix spine.wasm could not run in safari with iOS which version is lower than 15. (#15515)
* Fix spine.wasm could not run in safari with iOS which version is lower than 15.

* Update external config.

* Revert "fix: add WASM_FALLBACK for spine wasm module (#15511)"

This reverts commit e5dde7f37d.
2023-06-25 10:37:04 +08:00
PP e5dde7f37d fix: add WASM_FALLBACK for spine wasm module (#15511)
* fix: add WASM_FALLBACK for spine wasm module

* update external

* fix eslint
2023-06-21 16:51:16 +08:00
troublemaker52025 34e6f8900a fix csm ubo data in custom pipeline (#15502) 2023-06-21 11:46:20 +08:00
Ling Zhan b1214a5327 [fix] math Quaternion::fromMat3 (#15491)
* [fix] native math Quaternion::fromMat3 and Mat3::fromViewUp
2023-06-21 09:33:14 +08:00
Zeqiang Li bc60d5a9d8 avoid unexpected glslang behavior (#15488) 2023-06-20 21:28:37 +08:00
zhakesi 9c58507850 fix jsb root function destroyModel named removeModel (#15497) 2023-06-20 19:17:56 +08:00
troublemaker52025 d4e10bc27c [bug] fix wild pointers (#15489)
* [bug] fix wild pointers
2023-06-20 15:57:20 +08:00
Yiwen 68e9918834 [fix] physics hinge transform (#15442)
* [fix] add boundary to avoid physx assert error (#15321)

* fix native physics transform problem
2023-06-20 14:12:41 +08:00
mmyduckx 868209872c fix ios keyboard switch bug when use numberic (#15486) 2023-06-20 14:11:21 +08:00
hyde zhou 69668e5f0b 'Custom' and 'Forward' pipeline is defaulted to PostProcessBuilder (#15466) 2023-06-20 10:56:09 +08:00
pandamicro 2b8d4cd2d7 Update external-config.json for new spine lib (#15483) 2023-06-19 23:33:11 +08:00
zhakesi 84f69f52f0 add spine wasm c++ code (#15482)
* add spine wasm c++ code

* fix code style
2023-06-19 23:04:31 +08:00
minggo 06f136f5c4 Merge branch 'v3.8.0' into merge-3.8.0 2023-06-19 15:26:26 +08:00
Cocos Robot 00dabbef60 [ci skip][AUTO]: Automated code generating update: 9781724f14b84955bf9a0c1b4073b36d18e26921 (#15467) (#15476)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-06-19 15:18:56 +08:00
troublemaker52025 98d9bf87d9 add skin JSB binding (#15464) 2023-06-19 15:16:50 +08:00
徐兵 7776fab6df fix toon outline thickness issue with vulkan (#15458) 2023-06-19 14:27:06 +08:00
PP 31f7fb6508 optimize: load spine asm.js module with js.mem && update spine (#15469)
* optimize: load spine asm.js module with js.mem

* update spine (#12)

* support debug renderer

* fix cached mode update color

* enable Batch mode

* fix engineInternal

* fix ESLint

---------

Co-authored-by: zhakesi <zhakesi@foxmail.com>
2023-06-19 11:34:28 +08:00
ChiaNing bf7874a9f4 fix android label shadow Pollution (#15470) 2023-06-18 19:31:26 +08:00
Cocos Robot 272b780891 [ci skip][AUTO]: Automated code generating update: dc2f864b2199db766b73b41910fd1f64035b6b38 (#15452) (#15463)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-06-16 17:57:50 +08:00
hyde zhou e06bb6cdb4 [V3.8.0 pipeline] add deferred pipeline (#15452) 2023-06-16 17:35:18 +08:00
hyde zhou 820826939d V3.8.0 pipeline (#15428) 2023-06-16 09:56:57 +08:00
qiuguohua bca35b2636 Update Harmonyos third-party library. (#15429) 2023-06-14 11:33:15 +08:00
Cocos Robot 8f0070d164 [ci skip][AUTO]: Automated code generating update: 5ea295c1664096367bac233df6b24b4c9522262b (#15421) (#15423)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-06-13 18:28:46 +08:00
troublemaker52025 997491be8f fix csm with custom pipeline (#15409) 2023-06-12 17:52:11 +08:00
troublemaker52025 aedc32acf6 Adding project macro definitions to the native engine (#15399) 2023-06-09 16:41:52 +08:00
hyde zhou c26c5b75ca V3.8.0 pipeline (#15398) 2023-06-09 16:10:56 +08:00
zhakesi 8534fbbfdb spine wasm version (#15309)
* spine wasm version -fix conflict

* fix build and ci test -fix conflict

* fix for code review

* support binary format

* update exernal lib

* revert license

* fix type any

* update api docs

* fix api docs
2023-06-09 15:50:32 +08:00
江战 719c756656 revert a6684b1 (#15393) 2023-06-08 22:48:53 +08:00