Commit Graph

17264 Commits

Author SHA1 Message Date
hyde zhou 3997ea716a v3.6.0 pipeline update (#10275)
* add setViewport setScissor

* scene transversal modified

* accidentally omitted
2022-03-09 16:06:51 +08:00
Cocos Robot c3f2f4a1cb [ci skip][AUTO]: Automated clang-format update: 3b49861e5f (#10261) (#10267)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-09 13:38:22 +08:00
Cocos Robot 78bb084fa6 [ci skip][AUTO]: Automated code generating update: 3b49861e5f (#10261) (#10268)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-09 13:36:43 +08:00
pandamicro 4644f758a8 Merge pull request #10261 from minggo/merge_v3.5.0
Merge v3.5.0
2022-03-09 11:52:19 +08:00
minggo 3b49861e5f fix auto merge error 2022-03-09 09:53:26 +08:00
Santy-Wang 60cd1fd00c fix PhysX error in native platform (#10263)
* fix physX error in native platform
2022-03-08 17:02:29 +08:00
minggo 73c303f556 Merge branch 'v3.5.0' into merge_v3.5.0 2022-03-08 14:53:00 +08:00
Cocos Robot c6a95abc6b [ci skip][AUTO]: Automated code generating update: c775c5de21429b0ae2820d89bb8667406a49cfa7 (#10246) (#10259)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-08 13:36:22 +08:00
pandamicro a80f700a17 Merge pull request #10258 from holycanvas/v3.5.0-merge
sync v3.4.2
2022-03-08 11:39:03 +08:00
santy-wang 10349e567d Merge branch 'v3.4.2' of https://gitlab.cocos.net/publics/engine into v3.5.0 2022-03-08 10:21:39 +08:00
bofeng-song 4b92dfd675 support audiofocuschange for android (#10246)
* support audiofocuschange for android
2022-03-08 10:20:46 +08:00
hyde zhou f622c7b8b5 [pipeline] custom pipeline update (#10250)
* add layouts

* fix eslint error

* rendergraph creates device resources

* restore resourceGraph

* resource graph updated

* add scene interface

* layout graph updated

* stop use IntrusivePtr<gfx::Swapchain>

Co-authored-by: zxx43 <zxx43@hotmail.com>
Co-authored-by: GengineJS <476393671@qq.com>
2022-03-08 09:50:11 +08:00
timlyeee bb62e41c40 fix crash when app jump to camera (#10255) 2022-03-08 09:42:23 +08:00
minggo 1cd206f531 cc::Object do not inherit from cc::RefCounted (#10251) 2022-03-07 17:43:06 +08:00
徐兵 62f06c6ef7 Optimized Delete Skybox Environment Map (#10248) 2022-03-06 21:15:33 +08:00
SijieWang d54dd94650 [Optimize] git update external (#10242)
* [Optimize] git update external

* review code

Co-authored-by: Sijie <devhacker520@hotmail.com>
2022-03-04 17:42:02 +08:00
mmyduckx 99d9a58622 remove ios App Review Policy related code (#10236) 2022-03-04 16:51:38 +08:00
hyde zhou 02e3738302 [pipeline] refactor RenderPipeline and PipelineSceneData interface (#10238)
* move interface onGlobalPipelineStateChanged from PipelineSceneData to Pipeline
2022-03-04 16:43:29 +08:00
ChiaNing cb721f1d81 fix atlas bug when spriteframe is null (#10239) 2022-03-04 11:57:15 +08:00
zhakesi d70256b7b5 avoid middileware-2d copping buffer from native to js (#10235)
* avoid middileware-2d copping buffer from native to js

* remove redundant function
2022-03-04 11:48:51 +08:00
troublemaker52025 273fa0162e Change planar shadow func name v3.5.0 (#10174)
* change planarShadow func name for v3.5.0

* update

* Modify semantics

* delete @range slide
2022-03-03 17:53:00 +08:00
mmyduckx 09591ee83b fix restart crash (#10229)
* fix restart crash

* add comment
2022-03-03 11:53:29 +08:00
hyde zhou 675dc0c853 V3.6.0 pipeline decouple GlobalDescriptorSetManager from RenderPipeline (#10227) 2022-03-03 11:31:20 +08:00
ChiaNing 9f1a230018 fix merge batches bug when multi canvas (#10232) 2022-03-03 11:07:39 +08:00
ChiaNing bd89a7bc1a protect when texture insert to atlas (#10214) 2022-03-03 10:01:24 +08:00
timlyeee 65fcf6c0b4 Return aabb objects back to pool (#10230) 2022-03-03 09:45:42 +08:00
黄森斌 4f05432c23 Displayorder is removed from the edit template and is taken over completely by the decorator (#10165) 2022-03-02 21:14:37 +08:00
PP 36df8185ca cache system info on ByteDance platform (#10218) 2022-03-02 19:58:40 +08:00
bofeng-song 65e89c2094 fix translucent problem due to SurfaceView‘s limit (#10228) 2022-03-02 17:47:27 +08:00
hyde zhou a8ad40fca9 V3.6.0 pipeline refactor (#10221) 2022-03-02 15:27:46 +08:00
hyde zhou 86ef5443e6 V3.6.0 pipeline (#10146)
* add custom render pipeline

* adding render pipeline jsb

* turn off clang-format

* tojs ini generation added

* adding render pipeline interface

* add interface

* refactoring interface

* add math

* format

* adding jsb

* revert include rule

* jsb added

* interface updated

* inheritance added

* remove dependency

* fix cleanPath namespace

* impl moved to render::impl

* remove remove_cvref_t

* enum renamed

* expects ensures renamed

* parameter name changed

* member name format changed

* impl cleaned

* functions renamed

* clang-format on

* impl cleaned

* overloaded renamed

* make range renamed

* VertexOverloaded renamed

* fix sevalue_to_native, use function specialization

* remove nodiscard

* Pipeline Builders renamed

* fix js enum naming bug

* add web pipeline

* add auto generation guard

* add descriptor interface

* fix layout name

* add DescriptorHierarchy

* LayoutGraphData renamed

* impl updated

* fix initialization

* fix member initialization

* fix GraphImpl this->

* this-> removed

* this-> removed

* Tag type renamed

* add license

* fix tag init

* rename

* layout graph renamed

* layout graph updated

* cntr updated

* adding descriptor hierarchy

* add present pass

* update jsb

* add layout graph

* change setter inheritance

* fix web-pipeline diamond inheritance problem

* cleanup

* change namespace

* adding layout graph

* add external resource type

* add factory

* adding native pipeline

* custom pipeline added

* adding UuidGraph

* uuid graph added

* adding pipeline runtime

* add uuid contains, rename addressable

* pipeline interface changed

* rendergraph completes filtering and dependencies

* Change the residency judgment

* RenderTexture changed to RenderWindow

* adding PipelineRuntime

* adding pipeline wrapper

* fix link error

* remove createPipelineRuntime

Co-authored-by: GengineJS <476393671@qq.com>
2022-03-02 13:41:15 +08:00
timlyeee c91db1f369 Fix ios device display effect (#10184)
* Fix ios device display effect
2022-03-02 10:27:51 +08:00
Cocos Robot 25399bc1a9 [ci skip][AUTO]: Automated clang-format update: bbb83c366fce82c1d817e53907a8cdffdccd5b41 (#10096) (#10224)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-02 10:18:31 +08:00
Cocos Robot 2cfc659779 [ci skip][AUTO]: Automated clang-format update: dc993f3861cb486d66fd4de1de2bf861b0d97b96 (#10211) (#10222)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-02 10:17:46 +08:00
Cocos Robot 54cfb9f897 [ci skip][AUTO]: Automated genbindings update: dc993f3861cb486d66fd4de1de2bf861b0d97b96 (#10211) (#10223)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-02 10:17:32 +08:00
Yiwen b2ec8b022f select mipmap levels dynamically (#10096)
* draft

* fix some stupid bugs introduced in the lase commit

* fixed bug when init webgl's texture.

* draft

* fix some bugs

* fix some warnings

* fix undefined type cast

* For Vulkan device, query the storage feature through optimal tiling instead of linear tiling.

* fix some bugs appear when resize texture, clean the changes. all tests passed.

* remove debug codes, improve performance, correct the framebuffer size.

* make some input parameters readonly

* Make the gfx function's parameter's access priority the same as native engine

* remove uncessary members and interface for ES3, move getGLSampler into IWebGL2GPUSampler, delete WebGL2CmfFuncCreateSampler...
2022-03-02 10:15:34 +08:00
minggo 164d4ccc14 Rename Vector and Map (#10206)
* Vector -> RefVector
* Map -> RefMap
2022-03-02 09:56:38 +08:00
bofeng-song 141128f148 refine context2d, reduce call from native to js (#10211)
* reduce c++ callback to js
2022-03-02 09:56:00 +08:00
James Chen c67066baf8 Update .gitignore to ignore native/external dir (#10215) 2022-03-01 18:37:05 +08:00
James Chen 35bb7dd261 Update .gitignore to ignore native/external dir (#10216) 2022-03-01 18:36:54 +08:00
江战 58dd778029 3.6 update clang-format version (#10217) 2022-03-01 18:36:34 +08:00
jk20012001 e6f156c841 fix unnecessary include for surface shader (#10220) 2022-03-01 18:21:32 +08:00
fish9167 2c8fab0b89 Update native_compile_self.yml (#10219)
修改任务触发条件,native 目录下的文件发送改变才触发任务
2022-03-01 18:21:09 +08:00
PP b630ff5f47 publish build-engine (#10205)
* publish build-engine

* update
2022-03-01 17:14:55 +08:00
minggo 3ca3306ef1 Revert "fix misuse of drawAPI on metal (#10195) (#10202)" (#10212)
This reverts commit f3051234be.
2022-03-01 15:06:46 +08:00
minggo a5c138be50 Revert "fix misuse of drawAPI on metal (#10195)" (#10213)
This reverts commit 75d96e6de4.
2022-03-01 14:53:35 +08:00
James Chen 3c5ee10731 [v3.6] Move native/external/config.json to native/external-config.json (#10207)
* Move native/external/config.json to native/external-config.json

* Update CI config.

* Update native/utils/download-deps.js

* Update native/tools/make-package/config.json

* Remove native/.github
2022-03-01 10:34:56 +08:00
James Chen c24d75e115 [v3.5.0] Move native/external/config.json to native/external-config.json (#10208)
* Move native/external/config.json to native/external-config.json

* Update CI config.

* Update native/utils/download-deps.js

* Remove native/.github
2022-03-01 10:34:35 +08:00
江战 f2a80139a3 jsb add convert routines for size_t/long (#10198) 2022-03-01 10:29:12 +08:00
Zeqiang Li d31520c10b v3.4.2 -> V3.5.0 (#10199)
* 3.4 wgpu rebase (#4208)

Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com.com>

* spirv incorrect name on binding (#4259)

Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com.com>
2022-03-01 09:55:52 +08:00