PP
3cb698c8aa
add more jsb interface info && fix some types ( #14628 )
...
* add jsb interface info
* mark TODO
workaround
* fix type
* remove some new ts-expect-error
* fix type in strict mode
2023-03-22 15:22:09 +08:00
PP
dcc0b8d52e
support SafeArray and SafeRecord to optimize type checking ( #14595 )
...
* support SafeArray and SafeRecord to optimize type checking
2023-03-22 10:19:39 +08:00
Yiwen
37ec507d2c
fix the typo in jsb-editbox ( #14621 )
2023-03-21 16:29:42 +08:00
James Chen
756dbb736d
Fix GlobalObject.runOnUiThread, keep the same logic as Activity.runOnUiThread. ( #14616 )
...
If we didn't fix this, ANR will be triggered in WebView test. But I think CocosWebView implementation is wrong.
Currently, CocosWebView.ShouldStartLoadingWorker.run is invoked in UI thread. latch.await is also called in UI thread, which is really dangerous and easily causes infinite waiting.
2023-03-21 16:26:16 +08:00
James Chen
937eb10402
[android] Remove dependence of Activity, prepare for surface-less rendering ( #14612 )
...
* Use `context` instead of `activity` as possible.
* Remove unused JniNativeGlue.h include.
* Remove unused import.
* Update JniHelper.h/.cpp, JniHelper::sActivity -> JniHelper::sContext.
* Fix log output name in CocosHelper.java
* Rename the second parameter JniHelper::init from `activity` to `context`.
* Update todo in JniHelper::getActivity()
2023-03-21 11:54:23 +08:00
PP
3c3d03188d
fix editor npm install ( #14614 )
2023-03-21 11:30:23 +08:00
Cocos Robot
42a576e81f
[ci skip][AUTO]: Automated code generating update: d4378c629b12f840c759777138ee8ffba4d359a5 ( #14582 ) ( #14607 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2023-03-20 15:20:19 +08:00
qiuguohua
e68506916c
Develop branch adapts to openharmony ( #14582 )
2023-03-20 14:18:52 +08:00
PP
fa51b804b5
remove and ban @ts-expect-error ( #14572 )
...
* remove ts-expect-error usage in engine
* deprecate Scheduler interface
* remove JavaScriptCore
* set some engineInternal public property as getter setter
* fix build-declaration
* fix releaseManager export name conflict
* update scriptEngineType
* fix and update some comment
* remove w_mat, w_pos, w_rot, w_scale
* update renderer
* fix setRootBufferDirty not binding on native
* optimize floatToHashString
* mark NOTE
2023-03-20 13:48:26 +08:00
changhua
a53f3c6183
fix build task state error of run ios ( #14583 )
...
* fix build task state error of run ios
* Update scripts/native-pack-tool/source/platforms/ios.ts
Co-authored-by: SijieWang <itharbors@outlook.com >
---------
Co-authored-by: SijieWang <itharbors@outlook.com >
2023-03-16 19:27:08 +08:00
SijieWang
8487ecb43f
[Optimize] Streamlined Code impl.ts ( #14555 )
2023-03-15 18:02:39 +08:00
PP
cddfa8c47b
cherry-pick: AOT: add jsb interface type ( #14368 ) ( #14544 )
...
* cherry-pick: AOT: add jsb interface type (#14368 )
2023-03-15 11:40:55 +08:00
媛媛
2d02a9db54
update version of prefab meta ( #14561 )
2023-03-15 10:25:54 +08:00
SijieWang
5210fddb47
Fix add component event error ( #14568 )
2023-03-14 15:07:52 +08:00
Leslie Leigh (李的序)
3200c0bd2b
Animation graph: add editor api to query editor attributes of variable value ( #14566 )
2023-03-14 14:33:44 +08:00
江战
cfb0b74c4e
Fix pass properties order in native editor ( #14468 )
...
* fix pass properties order in native editor
2023-03-14 10:26:00 +08:00
Cocos Robot
bccd65fbd9
[ci skip][AUTO]: Automated code generating update: 2ff383c2bb ( #14558 ) ( #14563 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2023-03-14 09:59:13 +08:00
Santy-Wang
40da2bfe36
Merge pull request #14559 from holycanvas/develop-sync
...
Sync v3.7.2 to develop
2023-03-13 18:46:43 +08:00
santy-wang
966c55496d
add missing ignore
2023-03-13 16:58:48 +08:00
santy-wang
0a81bf445e
Merge branch 'develop' of github.com:cocos-creator/engine into v3.7.2
2023-03-13 16:51:47 +08:00
李吉林
9538714d1b
add moveTowards & rotateTowards ( #14543 )
2023-03-13 10:00:39 +08:00
Yiwen
b6abb65171
Math tune cpp ( #14526 )
...
* fix problem, add missing functions for vec4
* add unit test for math lib, review geom lib, fix comment, clean code
* revert changes on native math lib
* fix typo, cancel deprecates
* fix csm layer frustum usage
* tune document
* restore native changes
* stage math
* correct frustum
* add more unit test
* fix mistakes introduced in the last commit
* add missing changes
* update
* update deprecated information, rename interfaces
* fix operator priority issue
* fix math library related issues
2023-03-12 15:58:07 +08:00
SijieWang
82949a7c99
[Optimize] Optimize kit panel interaction mechanism ( #14545 )
2023-03-10 22:56:39 +08:00
oahc09
2ff383c2bb
feat:xr add register_all_xr_extension ( #14535 )
2023-03-10 14:57:59 +08:00
AFeiYA
c49baeb0ce
Revert "Fix vertex count undefined error. ( #14531 )" ( #14537 )
...
This reverts commit f62bc9487f .
2023-03-10 14:51:50 +08:00
江战
1854ae46b2
Resolve certain warning messages on Visual Studio ( #14527 )
...
* Resolve certain warning messages on Visual Studio
2023-03-10 14:17:34 +08:00
PP
386ec2895a
[cherry-pick] AOT-3: optimize uinstrict code ( #14315 ) ( #14523 )
...
* AOT: optimize uinstrict code
- mark some unstrict code as TODO
- remove some unstrict code
* update comment
* remove ts-check
# Conflicts:
# cocos/2d/framework/deprecated.ts
# cocos/asset/assets/image-asset.jsb.ts
# cocos/asset/assets/texture-base.ts
# cocos/core/assets/image-asset.ts
# cocos/core/math/rect.ts
# cocos/core/scene-graph/scene-globals.jsb.ts
# cocos/native-binding/impl.ts
# cocos/scene-graph/node-dev.ts
# cocos/scene-graph/scene-globals.ts
# exports/sorting.ts
2023-03-10 13:36:45 +08:00
Zeqiang Li
c0bbc70ebf
temp hack for shader macro ( #14532 )
2023-03-10 12:58:12 +08:00
AFeiYA
f62bc9487f
Fix vertex count undefined error. ( #14531 )
2023-03-10 00:37:07 +08:00
zhakesi
1b91e80e7d
fix spine attach node invalid in native platform ( #14494 )
2023-03-09 20:00:03 +08:00
hyde zhou
6ed4719968
pipeline update ( #14486 )
...
* adding queue phase
* adding per phase descriptor set
* adding render phase descriptor set
* Optimize memory usage and rendering time of WebPipeline (#106 )
* Pass ubo execution optimization (#107 )
* adding compute shader
* add compute shader
* add compute dispatch
* add compute shader
* adding subpass
* add dummy web subpass builder
* remove present pass
* remove present pass
* adding subpass to RenderGraph
* fix unit test
* lint fix
* fix lint
* adding raster subpass
* native subpass builder added
* Complete render phase to layoutgraph (#108 )
* rename RasterTag to RasterPassTag
* rename ComputePass to Compute
* subpassGraph added
* add shading rate attachment
* fix typo
* RenderSwapchain default constructible
* Optimize Execution Memory (#110 )
* add storage buffer/texture support
* add storage buffer and shading rate texture
* fix lint
* fix typo
* V3.7.2 pipeline (#109 )
* fix merge conflict
---------
Co-authored-by: GengineJS <476393671@qq.com >
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com >
2023-03-09 17:57:05 +08:00
troublemaker52025
6a0fe8056f
Synchronize groundLightingColor settings ( #14509 )
2023-03-09 17:56:20 +08:00
jk20012001
7eb5fad4ad
fix native engine code different with ts engine ( #14504 )
2023-03-09 17:55:42 +08:00
Myway
484e40f9bb
fixed the main light still takes effect after baking ( #14525 )
...
* fixed the main light still takes effect after baking
2023-03-09 16:47:12 +08:00
Zeqiang Li
e08e0fca08
metal sync logic ( #14518 )
2023-03-09 15:09:24 +08:00
黄森斌
51e5121ce0
optimize skybox bake envmap in inspector operating ( #14487 )
2023-03-09 13:59:48 +08:00
Leslie Leigh (李的序)
273117b455
Fix interruption matching on state exit condition ( #14519 )
...
* AnimationGraph: fix interruption matching
* Doc
* Tweak
2023-03-09 11:45:52 +08:00
Cocos Robot
9121b95a66
[ci skip][AUTO]: Automated code generating update: 3cb5309c23ae08c87c6a4fd4f94cc7bc96996ed9 ( #14521 ) ( #14522 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2023-03-09 11:37:14 +08:00
江战
2b40833aef
Modify the node.js version of CI ( #14521 )
2023-03-09 11:21:58 +08:00
zhakesi
d88697e3a1
fix safari webgl2 maxUniformVector limit ( #14508 )
2023-03-09 11:02:56 +08:00
Leslie Leigh (李的序)
c9151ed4e0
Add some animation graph test utils ( #14515 )
2023-03-09 10:50:19 +08:00
江战
27b3c2ef20
use CMAKE_SUPPRESS_REGENERATION to skip project update ( #14512 )
2023-03-09 10:27:24 +08:00
Cocos Robot
b5bcbfeaba
[ci skip][AUTO]: Automated code generating update: 9eb7ea8baeeb09a5ef3759c2320735aecd8800f5 ( #14510 ) ( #14517 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2023-03-09 10:24:41 +08:00
Myway
017347d2bc
fixed reset light map error ( #14520 )
2023-03-09 10:23:26 +08:00
江战
c4be6be29d
Fixes for GCC compatibility and Linux platform warnings ( #14511 )
...
* fix compile error on linux
* ignore more warnning
* move StringPool & StringEqual into StringPool
2023-03-09 09:45:22 +08:00
Yiwen
f85d180248
adapt decode-base so that the shader parser can collect the right macro list ( #14516 )
2023-03-08 20:23:43 +08:00
Myway
879668c64f
support highp lightmap for native engine ( #14510 )
...
* support highp lightmap for native engine
fixed camera exposure uniform error
* fixed lint error
2023-03-08 20:23:19 +08:00
Leslie Leigh (李的序)
929d9bdd16
Change Motion from interface into abstract class ( #14451 )
2023-03-08 19:40:20 +08:00
Leslie Leigh (李的序)
9693532283
Suppress test logs ( #14514 )
2023-03-08 18:37:11 +08:00
MoHai
7f99ba692c
move webxr ar background to webxr-device in xr plugin ( #14505 )
2023-03-08 10:08:54 +08:00