Commit Graph

1014 Commits

Author SHA1 Message Date
Zeqiang Li 71b764ad0d frame fence (#14310) 2023-02-28 17:43:38 +08:00
ChiaNing a769f3fb5a change node dirtyFlag name & add interface (#14396)
* change node dirtyFlag name & add interface
2023-02-28 13:47:23 +08:00
James Chen bc4cf63242 fixed #14384: [native] Missing Mesh::_hash setter binding (#14393) 2023-02-28 13:39:00 +08:00
mrtzd b552edc1bd allow access to 'boneData.length' of dragonbones on native platforms (#14206) 2023-02-27 19:31:02 +08:00
pandamicro 1614185c12 Merge pull request #14321 from cocos/v3.7.1
Merge V3.7.1
2023-02-21 11:09:17 +08:00
hyde zhou 3ae4b8c928 fix metal crash problem (#14186)
* deferred custom pipeline running cyberpunk on metal (#92)

* Fix the problem that csm shadowmap does not render the picture (#94)

* remove manual descriptor registration

* fix redundant barrier generated:layout dependency but not access dependency (#93)

* fix redundant barrier generated:layout dependency but not access dependency

* missing part

* Revert "Merge branch 'v3.7.1-cyberpunk2' of https://github.com/star-e/cocos-engine into v3.7.1-cyberpunk2"

This reverts commit 3a95b55991b1eed21df8b927213dd78aaa585892, reversing
changes made to be8d52a74b1e8a27599767cdf2b1639c8ecbf11c.

* fix missing descriptor sets

* buffer size (#96)

* Revert "Revert "Merge branch 'v3.7.1-cyberpunk2' of https://github.com/star-e/cocos-engine into v3.7.1-cyberpunk2""

This reverts commit 690e121936cae6bce4194d0f67a69636117268b3.

* fix assert

* fgd pass culling logic fix (#97)

* buffer size

* fgd pass culling logic fix

* old unit test

* fix batcher2d

* fix dereference freed pointer

* Bloom pipeline adds ui and deferred pipeline to fix ui rendering problems (#98)

* add native ui rendering

* add skinning constants

* Fix the problem that the deferred pipeline does not render transparent objects and shadows (#99)

* Fix the problem that the profiler does not render (#100)

* fix typo

* update ds logic (#101)

* metal coord (#102)

* refactor profiler

* fix shadow caster bug

* remove unnecessary validation

* disabled over-aligned memory allocation

* add native version

* Optimize the display mode of profiler (#103)

* remove profiler later, generator is not changed yet

* refactoring persistent render pass and framebuffer

* refactored persistent render pass and framebuffer

* format

* revert change

* fix invalid framebuffer bugs

* refactored custom pipeline initialization

* add pipeline statistics

* depth stencil state & attachment validate (#104)

* Revert "depth stencil state & attachment validate (#104)"

This reverts commit c75de8d83295ca387d7f4a7206f411e94ac0a884.

* add default phase comparison

* Revert "add default phase comparison"

This reverts commit 4910790081e961e258db269ceb2542e6ebd13062.

* try fix uniform buffer upload

* generator updated

* lint

* buffer upload command (#105)

* fix lint

---------

Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com>
Co-authored-by: GengineJS <476393671@qq.com>
2023-02-14 21:21:33 +08:00
徐兵 8409d06bca reflection probe support box projection (#14200) 2023-02-14 18:37:57 +08:00
Zhou Zhenglong 2b54f20d0a Merge branch 'v3.7.1' into v3.7.2-merge 2023-02-13 00:47:24 +08:00
Zeqiang Li 7f9934e901 pipeline object gc binding (#14190) 2023-02-09 17:54:45 +08:00
hyde zhou 588a64e277 fix web-pipeline ui in post-processing (#14145) 2023-02-07 16:50:24 +08:00
MoHai 2a194a2732 [v3.7.1] adjust ARModule (#14143)
* add stop interface to fix ar session error

* move armodule to .a lib and adjust interfaces

* fix parameter widthInMeters errror

* update external to v3.7.1-1
2023-02-05 13:34:39 +08:00
troublemaker52025 03fe6aca9a add dir-light visibility and support baked light (#14087) 2023-02-03 15:46:14 +08:00
hyde zhou 5abd56ac2f remove manual descriptor registration (#14136)
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com>
Co-authored-by: GengineJS <476393671@qq.com>
2023-02-03 15:17:32 +08:00
hyde zhou 52bccdf738 [pipeline] refactor custom pipeline init (#14040) 2023-02-01 18:00:52 +08:00
hyde zhou 857004bc00 [pipeline] refactor custom pipeline init (#14040) 2023-01-13 14:02:46 +08:00
jk20012001 42e4a14f82 debug view support with native engine (#13996) 2023-01-09 10:18:21 +08:00
徐兵 ad4fb8b0e8 binding (#13944) 2022-12-29 11:13:14 +08:00
徐兵 e6018c78d4 native engine support reflection probe bake cubemap (#13869) 2022-12-22 16:29:50 +08:00
江战 ba7e90475c pipeline js bindings (#13786) 2022-12-15 09:51:04 +08:00
Zeqiang Li a02402a2bc ignore dragonbones' global enum/const char* (#13793) 2022-12-12 17:23:48 +08:00
Myway e30adb09ad Add lightmap shader macos for native model (#13774)
* terrain support stationary light map
fixed terrain light map shader compile error

* fixed brush invalid material cause missing lighting map uniform

* Add lightmap shader macros for model

* fixed compile error

* Add bakedStationaryMainLight jsb property for scene globals
2022-12-09 16:33:01 +08:00
James Chen 9cb0345a9b Fix particle-align testcase reports the script error: _updateWorldBoundDescriptors is undefined (#13773) 2022-12-09 15:23:43 +08:00
徐兵 8aeb4fc098 fix the native engine preview sphere to show black (#13745)
* surface shader error

* ci error

* preview

* fix crash
2022-12-09 10:01:20 +08:00
James Chen 65fcc225b6 fixed #12670: [doc] Swig documentation about %arg(...) and not need to add const prefix for attribute (#13740)
* fixed #12670: [doc] Swig documentation about %arg(...) and not need to add const prefix for attribute
2022-12-08 17:15:16 +08:00
hyde zhou aa7c8940ba [pipeline] refactor program-lib.ts, pass.ts (#13610) 2022-12-08 16:33:57 +08:00
李吉林 42b5d4628f add cpp call js function (#13731)
* support emitting MobilityChanged & AncestorTransformChanged events in c++
2022-12-08 11:23:43 +08:00
江战 cade7f10d4 JSB: bind some geometry types (#13681) 2022-12-07 14:26:32 +08:00
徐兵 ecb00f7631 fix add reflection probe report error for native scene (#13688)
* add validate

* fix switch probe error
2022-12-06 19:05:49 +08:00
James Chen e56b4c3cb8 Fix material inspector missing elements (#13674)
* Add missing properties in EffectAsset.h for editor

* Move recordAsBool to PassUtils, IPassInfoFull::propertyIndex needs to be optional

* Add IPropertyEditorInfo struct.

* Fix macroRecordAsBool
2022-12-06 15:06:08 +08:00
zhangxin fd665d36fc [fix] cc::scene::Camera::syncCameraEditor (#13673)
* [fix] cc::scene::Camera::syncCameraEditor

- remove ignore cc::scene::Camera::syncCameraEditor
- use const ptr instead of cosnt ref

* Update scene.i
2022-12-06 13:37:18 +08:00
James Chen 72fcf7797b [native] Fix missing PipelineRuntime::macros property and fix wrong key in ShadowFlow.cpp (#13660) 2022-12-06 09:14:56 +08:00
江战 046a2b1378 Re-impl CC_ASSERT & CC_ASSERTF (#13588) 2022-12-05 17:12:30 +08:00
zxx43 a485712874 fix particle 2d native crash (#13655) 2022-12-05 15:52:04 +08:00
James Chen c89c532b6d [native] Fix some decorators are missing. (#13651)
* [native] Fix some decorators are missing.
2022-12-05 15:46:42 +08:00
李吉林 13d49b1a9b fix mesh merge error (#13639)
* fix mesh merge error

* add log.h for android

* fix DebugRenderer update on metal
2022-12-05 10:18:22 +08:00
troublemaker52025 8d1ed0e1d5 [Optimize] csm transition code (#13611) 2022-12-02 17:09:26 +08:00
bofeng-song c0d989abab fix LOD's error while using at native scene (#13579) 2022-11-28 18:22:33 +08:00
fqamic d4055f7e32 new basic capabilities of supporting handset ar and webxr (#13420)
* feat: add the basic capability of handset ar native

* feat: add handset input device, for ar camera pose

* feat: native pack tool supports xr platform name

* feat: web gl context supports webxr

* feat: webxr has been converted to screen coordinates via camera

* fix: pr ts-expect-error undefined xr

* feat: support webxr, and remove ar redundant code

* fix:xr-spaces gradlew permission error

* feat: revert redundant ar engine feature

* fix: eslint check error

* feat: remove redundant code

* fix: eslint check warning

* adjust armodule process in forward stage, mtl texture and jsb

* fix: exlint warning, and add license

* adjust ar lib and interfaces

* change webxr check interface

* merge external arlib header and move it to engine

* improve: update native external version

* move ar background stage to xr/rendering and move its init to webxr device in xr plugin

* fix format error

* fix format error

* adjust jsb_ar_manual, ARModule, ARBackground

* adjust arbackground

Co-authored-by: Parryzhai <1306895355@qq.com>
Co-authored-by: MoHai <1192652394@qq.com>
2022-11-24 13:33:50 +08:00
timlyeee cb51f8d569 Dev simulator (#13469)
* Fix simulator start error
2022-11-23 15:28:59 +08:00
troublemaker52025 050f9bdb16 add shadow layer transition for csm (#13144) 2022-11-22 18:34:08 +08:00
李吉林 184c8a9c91 refactor light probe data (#13484)
* refactor light probe data
2022-11-22 18:22:52 +08:00
James Chen 32a6aba4fb Fix some swig warnings and fix the issue that Node::mobility is not bound, update swig to 4.1.0 release (#13425)
* Update swig config, fix some warnings

* Update TextureBase.h, don't make _width, _height public

* Revert genbindings.js

* Update external to develop-8
2022-11-18 11:56:09 +08:00
徐兵 b2b0d09e1d reflection probe planar reflection for native engine (#13281) 2022-11-14 17:37:11 +08:00
fqamic 71314f0e81 merge xr platform function codes (#13360)
* feat: add xr settings for xrEnv and xrType

* improve: remove redundant code for xr interaction

* improve: remove redundant code for frameMove

* fix: xr jsb bind adapt to swig

* feat: adapt to xr preview mode, add handle simulation event
2022-11-14 17:12:25 +08:00
李吉林 7a32e653cb remove component related code from native (#13352)
* remove component related code from native
2022-11-14 11:34:42 +08:00
jk20012001 652bf03964 Fix model updateInstancedAttribute binding (#13348) 2022-11-14 11:27:05 +08:00
李吉林 3d7beff293 support instancing for light probe (#13324) 2022-11-10 18:09:42 +08:00
江战 9894dca7d6 fix bindings (#13316) 2022-11-10 16:11:24 +08:00
bofeng-song 78889daf71 export lodGroups for native-editor (#13225) 2022-11-03 09:32:46 +08:00
Yiwen d848935a07 Fix physics js binding configuration (#13227) 2022-11-02 21:50:54 +08:00