Commit Graph

5239 Commits

Author SHA1 Message Date
Cocos Robot 33524233e0 [ci skip][AUTO]: Automated code generating update: 9f83eb1b5a1d4e0f22c0343250de472c2f7416a7 (#11637) (#11694)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-24 16:17:35 +08:00
pandamicro 12072ffc62 Merge v3.5.1 zqb branch to v3.6 (#11637)
* support asset property preview (#11017)

(cherry picked from commit 85769cf8f81459b5ad98ccab4138420009572a32)

* show mesh asset thumbnail (#10981)

* V3.5.1 noise particle (#11003)

* add cpu & gpu noise for particle

* add some params & change particle noise shader

* change shader

* add cpu noise particle

* add noise preview

* run generation when preview

* revert shaders

* remove unused statements

* add particle noise module

* change noise preview interface

* add invisible to remap

* remove get deltaTime

* set noiseModule private

* fix eslint

* feat: add noise preview (#11260)

* [Optimize] asset editing undo (#10779)

* edit render-pipeline

* support renderpipeline undo

* optimize material editing undo

* reset last record data

* temporary not support animation-mask undo

* support animation-mask edit undo

* animation mask remove _jointMasks

* Animation clip embedded players (#11320)

* Animation clip subregions

* Log

* Test

* Eval

* Update

* Update

* No longer use animation state to implement clip motion

* Clear subregions

* Fix

* Mark subregion as editor extendable

* Animation clip subregion player path

* fix isnan(0.0) with webgl1.0 (#11262)

* fix isinf(0.0)==true with webgl1.0

* code style

* fix specular params with surface toon (#11265)

* code format and add sliders for parameters (#11266)

* Broadcasting of animation state\'s speed

* Fix

* Rename

* Update

* Fix

* Revert "No longer use animation state to implement clip motion"

This reverts commit 20755f9ec525b27b5b9a515c8dd687349aa4c637.

* Revert some exotic changes

* Update docs

Co-authored-by: jk20012001 <jkregister@163.com>
Co-authored-by: 徐兵 <49358166+xubing0906@users.noreply.github.com>

* fix skinning model split (#11378)

* fix skinning model split

* rename function _resizeMaxJointForDS

Co-authored-by: zhakesi <zhakesi@foxmail.com>

* [ci skip][AUTO]: Automated genbindings update: d823cbba1f7ce8284da28458c26534da2e033961  (#11378) (#11383)

Co-authored-by: cocos-robot <cocos-robot@cocos.com>

* use stop emitting instead (#11381)

* add stop emitting api

* use stop emitting instead

* Update cocos/particle/particle-system.ts

Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com>

Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com>

* fix: imageData fault tolerance (#11374)

* fix: imageData fault tolerance

* chore: when data is an empty array,stop the function

* material  undo updating effects list (#11409)

* modify noise module ui (#11433)

* use visible decorator to control the visibility of property (#11438)

* fix joints data with value nan (#11489)

* V3.5.2 CI Android NDK  set version to 21 (#11448) (#11492)

* Minor improvement

* Fix format

* Fix particle culler

* Improve particle culler

* Manually migrate joint data upload with texture in skinning model

* Update shaders for skinning model based on joint texture

* fis native skinning model with realtime-texture mode (#45)

Co-authored-by: zhakesi <zhakesi@foxmail.com>

* fix clangtidy (#46)

* Small tweaks

* modify code struct for skinning model (#47)

* modify code struct for skinning model

* update skinning chunk

Co-authored-by: 黄森斌 <arsen2010@126.com>
Co-authored-by: zxx43 <zxx43@hotmail.com>
Co-authored-by: 袁炜海 <35713518+dogodo-cc@users.noreply.github.com>
Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com>
Co-authored-by: jk20012001 <jkregister@163.com>
Co-authored-by: 徐兵 <49358166+xubing0906@users.noreply.github.com>
Co-authored-by: zhakesi <liqiao@cocos.com>
Co-authored-by: zhakesi <zhakesi@foxmail.com>
Co-authored-by: Cocos Robot <48829427+cocos-robot@users.noreply.github.com>
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
Co-authored-by: Santy-Wang <wh19930829@qq.com>
Co-authored-by: zhangxin <59186205+chichinohaha@users.noreply.github.com>
Co-authored-by: 江战 <40414978+PatriceJiang@users.noreply.github.com>
2022-06-24 15:10:45 +08:00
Santy-Wang 5ae9dd67ce fix addPersistNode (#11689) 2022-06-24 11:25:41 +08:00
minggo ae2f9aad14 add comment (#11688)
_pass is just a weak reference, it is not used internally
2022-06-24 10:47:29 +08:00
Cocos Robot 8693b2bedc [ci skip][AUTO]: Automated code generating update: 8f8fb289f132ea107befba3f895dbac4f9708e5a (#11674) (#11685)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-24 09:40:44 +08:00
timlyeee 23e10124ef V3.6.0 get pcm buffer from audio (#11521) 2022-06-24 09:39:13 +08:00
minggo 69c2ff6a2a use IntrusivePtr to share objects (#11674)
* use IntrusivePtr to share objects
2022-06-24 09:33:52 +08:00
mmyduckx cd75a4b921 export DownloaderHints & add doc for Downloader constructor usage (#11673) 2022-06-24 09:32:47 +08:00
timlyeee f8df5aa13a Fix simulator broken (#11679) 2022-06-23 18:37:52 +08:00
bofeng-song 6b3ee46959 fix crash due to wrong resize event notify (#11672) 2022-06-23 18:02:48 +08:00
minggo 4b8b032ad8 delete subindex function (#11667)
* delete subindex function
2022-06-23 14:53:02 +08:00
mmyduckx 0077fee553 fix android onProgress may over 100% when trigger breakpoint download (#11638) 2022-06-23 14:32:29 +08:00
Cocos Robot 22c31da1ce [ci skip][AUTO]: Automated code generating update: 8c8d55a977b1dd732e1bfe2cfbaa944b5bd3127c (#11653) (#11665)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-23 12:41:08 +08:00
minggo f3c84376f2 remove useless log (#11653) 2022-06-23 11:50:04 +08:00
Cocos Robot 8e773bb75b [ci skip][AUTO]: Automated code generating update: b1622b9b132542b2f19977d865bb413172348eae (#11571) (#11651)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-22 17:40:04 +08:00
Zeqiang Li c61a02f807 3.6.0 barrier interface (#11571)
* gfx pipelinebarrier interface
2022-06-22 16:49:50 +08:00
Zeqiang Li ef79d9c184 copy buffers to subregion of compressed texture on metal (#11612)
* copy buffers to subregion of compressed texture on metal
2022-06-22 16:45:47 +08:00
Zeqiang Li 9bcc9df3dd temporarily disable dslayout deferred validation (#11648) 2022-06-22 16:44:39 +08:00
minggo 5f6fbf4fd3 use reference count to share objects (#11642)
* use reference count to share objects
render pass/depth stencil texture/color textures will be shared outside, so use reference count

* add operator[]
2022-06-22 16:27:28 +08:00
江战 4a964c3ba3 3.6 Optimize resetHasChangedFlags (#11639) 2022-06-22 14:16:04 +08:00
Cocos Robot 05a401492d [ci skip][AUTO]: Automated code generating update: 090f9b6966aeabc5b2b39f6ef32e78ee3826e4be (#11636) (#11640)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-22 11:21:12 +08:00
troublemaker52025 0d558dd03b [v3.6.0] fix deferred pipeline has no shadow && merge error [shadow biase, spotLight.aspect] (#11636)
* force deferred pipeline enable receive shadow for all objects in shading pass

* fix shadow bias and spot aspect code according to merge conflict from 3.5.1 to 3.6
2022-06-22 10:08:24 +08:00
Santy-Wang 8ca3044cdf set persist node's hideFlags to DontSave when switch scene (#11627)
* set persist node's hideFlags to DontSave when switch scene

* refine log
2022-06-20 23:18:41 +08:00
Cocos Robot 22eb9316f0 [ci skip][AUTO]: Automated code generating update: e1905e740e9deac70dddfbd2db1a791ae93e9007 (#11625) (#11628)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-20 20:57:31 +08:00
pandamicro aed65421bf Revert "[ci skip][AUTO]: Automated code generating update: 6ee6fc8c8ebd44d91bcb37cbf1ec460ed07079d9 (#11599) (#11620)" (#11625)
This reverts commit 61428f3305.
2022-06-20 20:16:51 +08:00
Cocos Robot 61428f3305 [ci skip][AUTO]: Automated code generating update: 6ee6fc8c8ebd44d91bcb37cbf1ec460ed07079d9 (#11599) (#11620)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-20 18:50:23 +08:00
ChiaNing f2a9607aa4 The base version of sorting priority add (#11599)
* sorting Priority add

* fix CI

* name change

* binding add

* name change to priority

* bind remove

Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-06-20 17:54:31 +08:00
Yiwen 84e09c9e42 add the support to upload subregions from buffers to texture (#11276)
* Add copy buffer to texture
2022-06-20 17:23:00 +08:00
李吉林 610c64c468 reset GEOMETRY_MAX_LINES size (#11618) 2022-06-20 16:53:55 +08:00
江战 181c145ec7 Update plugins_parser.js (#11614) 2022-06-20 15:11:46 +08:00
Cocos Robot 959ff98e01 [ci skip][AUTO]: Automated code generating update: f21f652ac910d0fe65260e3fc253b1cdc73ef28f (#11602) (#11605)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-20 13:54:52 +08:00
Cocos Robot f961672505 [ci skip][AUTO]: Automated code generating update: b02389fb07ed9b60cc89529a94033bdc385b4f0b (#11589) (#11602)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-20 09:45:26 +08:00
mmyduckx 0e89ac4d7d refine setOnTaskProgress paramaters to avoid error (#11580)
* use uint32_t instead of int64_t as setOnTaskProgress paramaters
2022-06-20 09:44:37 +08:00
江战 42c583665e 3.6 native template version validation (#11589) 2022-06-18 18:53:18 +08:00
hyde zhou cedc01c575 use uint32_t instead of uint (#11598)
* use uint32_t instead of uint
2022-06-18 18:47:45 +08:00
minggo f92908c37f remove uint usage (#11596)
* remove uint usage
2022-06-18 15:25:27 +08:00
troublemaker52025 252c392ada Solved the problem of switching scene shadows to disappear v3.6.0 (#11531)
* Solved the problem of switching scene shadows to disappear v3.6.0

* update

* fix memory leak

* fix ci error

* fix instanced queue error

* merge zhou zhenglong issue  and  fix it

* fix ci error

* update

* fix ci error

* use IntrusivePtr

* update

* update

* update
2022-06-18 14:27:16 +08:00
bofeng-song fb9c4a9ee4 android platform use system's original size, do not need to rotate (#11576)
* android platform use system's original size, do not need to rotate
2022-06-18 13:33:28 +08:00
Cocos Robot 2794f4a234 [ci skip][AUTO]: Automated code generating update: 4a12bb5af5133eaaa68fbbf309c95ea87b7c4599 (#11588) (#11594)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-18 11:23:11 +08:00
minggo d56e8db561 remove duplicate codes (#11588) 2022-06-18 10:54:18 +08:00
李吉林 63a2b570af add readAttributeFormat (#11586) 2022-06-18 09:55:00 +08:00
Cocos Robot 63bb84ae9d [ci skip][AUTO]: Automated code generating update: ea38500f0a (#11569) (#11585)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-17 21:33:42 +08:00
pandamicro 014813b50a Merge pull request #11569 from cocos/v3.5.2
Merge V3.5.2
2022-06-17 20:10:45 +08:00
hyde zhou 36da8db8a0 V3.6.0 pipeline (#11560)
* update layout graph

Co-authored-by: GengineJS <476393671@qq.com>
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com>
Co-authored-by: zxx43 <zxx43@hotmail.com>
2022-06-17 19:21:41 +08:00
minggo 18be330613 remove uitransformdirty (#11578)
* remove uitransformdirty
2022-06-17 18:34:27 +08:00
timlyeee 6e2421714f remove destroy() call (#11575) 2022-06-17 17:10:49 +08:00
timlyeee 779a366f1d destroy JsbBridge in unify way
* make jsbBridge fit v3.6.0 restart logic, clean up jsbBridges

* Add nil judgement and release operation
2022-06-17 16:42:43 +08:00
Cocos Robot 3c88dd6ce1 [ci skip][AUTO]: Automated code generating update: c7b28739fcc0b8a3e24b269e92e149ea53af3f29 (#11564) (#11572)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-17 16:38:00 +08:00
James Chen 5c9186a756 Cleanup code in Node.h/.cpp (#11564) 2022-06-17 15:03:47 +08:00
timlyeee 98786920d0 Improve the experience of EditBox on iOS and fix some EditBox bugs
1. Improve the experience by using InputboxAccessoryView on TextView and TextField.
2. Fix bug when trying to show an editbox with no show info on Android
3. Fix bug when touch outside of the inputbox but cannot hide it.
2022-06-17 14:00:52 +08:00