Commit Graph

6160 Commits

Author SHA1 Message Date
dogeFu 8d95d24ee0 fix: support tooltips in effect for native scene (#14812) 2023-04-18 09:44:11 +08:00
徐兵 983fefe01e fix terrain model output error log with reflection probe (#14790) 2023-04-14 10:09:40 +08:00
徐兵 4d35600c7b Reflection probe support blend (#14734) 2023-04-12 19:06:21 +08:00
qiuguohua 4ef1621047 Fix the 'fillRect' interface of canvas in openharmony (#14770) 2023-04-11 17:52:46 +08:00
qiuguohua d2edc0dbb2 Fix 'switch' not adding break (#14769) 2023-04-11 17:20:16 +08:00
Zeqiang Li 14c450821d Oh issue dev (#14743)
* update effect meta files to 1.7.0

* ohos canvas

* uint16 case

* cache offset
2023-04-11 15:16:06 +08:00
江战 b61606a2dd add support for executable-name (#14713) 2023-04-10 09:57:22 +08:00
Zach Lee 419bcc51e5 fixed vulkan staging buffer alignment allocate issue. (#14192) (#14210) 2023-04-07 14:49:11 +08:00
qiuguohua d82983e395 Openharmony multi-window adaptation (#14722)
* The event windowId is assigned the correct value in the openharmony platform

* Merge the latest branches
2023-04-06 12:17:41 +08:00
qiuguohua 342f0da04d Read touch information in the UI thread (#14700) 2023-03-31 17:10:33 +08:00
江战 fb1d0f2c4c Generate binding code during the build process. (#14655) 2023-03-30 16:08:28 +08:00
Cocos Robot 7e420c80d4 [ci skip][AUTO]: Automated code generating update: 67463129e68146221d4fcadb2f0f5570b50bb954 (#14667) (#14676)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-03-28 14:23:28 +08:00
minggo 1049ec7c6b make _siblingIndex/_parent to protected (#14667)
* make _siblingIndex/_parent to protected
* add modifyParent to modify _parent value only
2023-03-28 14:12:03 +08:00
Cocos Robot 132d64d21d [ci skip][AUTO]: Automated code generating update: 3f27ebd07e307575e1a2521d3f4ae94dc50c398a (#14661) (#14662)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-03-27 11:33:40 +08:00
江战 cdfd194c4c Add HPE Feature Detetion and JNI Method Refactoring (#14633) 2023-03-26 16:26:45 +08:00
江战 d963b0b21d Update external-config.json (#14652) 2023-03-24 15:18:35 +08:00
minggo 5bc0fe59df make _priority and _rootBufferDirty protected (#14639)
* make _priority and _rootBufferDirty protected

* change to function
2023-03-24 14:50:15 +08:00
minggo d0159fd851 Merge pull request #14651 from minggo/develop_merge_v3.7.3
Develop merge v3.7.3
2023-03-24 14:08:24 +08:00
江战 181bbc6569 Android: Game Activity Supports Controller Integration (#14625)
* Android Game activity support Controller
2023-03-24 13:44:09 +08:00
minggo bcc581dfd7 Merge branch 'v3.7.3' into develop_merge_v3.7.3 2023-03-24 10:57:28 +08:00
qiuguohua b615b2c672 Add openharmony platform definition (#14617)
* Add openharmony platform definition
2023-03-22 16:11:51 +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
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
qiuguohua dfc34690e0 Fix the problem of mac system crashing on exit (#14603) 2023-03-20 10:47:00 +08:00
minggo cbadcf20f5 Merge pull request #14576 from cocos/v3.7.2
V3.7.2
2023-03-15 11:05:16 +08:00
Zeqiang Li c86934fcbd split barrier fix & collect undefined layout before bfs (#14569) 2023-03-14 23:24:03 +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 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
oahc09 2ff383c2bb feat:xr add register_all_xr_extension (#14535) 2023-03-10 14:57:59 +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
江战 ad1558d321 fix external include path (#14491) 2023-03-09 18:25:49 +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
Zeqiang Li e08e0fca08 metal sync logic (#14518) 2023-03-09 15:09: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
江战 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
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
James Chen b7cec161c6 fixed #14473: [native] Remove 'Record' macro to avoid conflict. (#14474)
* fixed #14473: [native] Remove 'Record' macro to avoid conflict.
2023-03-07 13:57:34 +08:00
Cocos Robot d322cd42f6 [ci skip][AUTO]: Automated code generating update: 13a14316cc495642fb2dbd3c277b196dfdea6d11 (#14490) (#14496)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-03-07 13:57:13 +08:00
bofeng-song 57eb6c6164 Repair the problem that setWritablePath does not take effect after setting (#14490)
* Repair the problem that setWritablePath does not take effect after setting
2023-03-07 13:51:18 +08:00
江战 a6684b18c9 Merge _flagChangeVersion and _hasChangedFlags, Use Single uint32_t to Save Memory and Avoid Inconsistencies (#14454)
* merge _flagChangeVersion & _hasChangedFlags into single uint32_t
2023-03-07 10:27:51 +08:00
江战 a4154d16f3 Fix console.log output for objects by calling toString() method (#14457) 2023-03-06 14:15:03 +08:00
李吉林 e5fe41fbdd remove abs from rhw in transformMat4 (#14483) 2023-03-06 11:03:27 +08:00