Commit Graph

17169 Commits

Author SHA1 Message Date
minggo 1cd206f531 cc::Object do not inherit from cc::RefCounted (#10251) 2022-03-07 17:43:06 +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
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
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
minggo 164d4ccc14 Rename Vector and Map (#10206)
* Vector -> RefVector
* Map -> RefMap
2022-03-02 09:56:38 +08:00
James Chen c67066baf8 Update .gitignore to ignore native/external dir (#10215) 2022-03-01 18:37:05 +08:00
江战 58dd778029 3.6 update clang-format version (#10217) 2022-03-01 18:36:34 +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
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
江战 bfb2c1aaa9 3.6 apple: jsb add convert routines for size_t/long (#10200)
* jsb add convert routines for  size_t/long
2022-03-01 09:48:32 +08:00
Zeqiang Li f3051234be fix misuse of drawAPI on metal (#10195) (#10202) 2022-02-28 16:45:03 +08:00
Cocos Robot 3bc403cdf5 [ci skip][AUTO]: Automated code generating update: 2d992f2b638e48fc8f029de24c1843de8d1f22f7 (#10190) (#10196)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-02-28 11:26:27 +08:00
James Chen f20c80e850 Remove __jsb_CCPrivateData_class and its relevant code. (#10190)
* Remove __jsb_CCPrivateData_class and its relevant code.
2022-02-28 09:56:22 +08:00
Cocos Robot 6469e9a7e6 [ci skip][AUTO]: Automated code generating update: e917aa5001cacdab6d9c65b7c62d007b56fa64b8 (#10183) (#10192)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-02-28 09:56:00 +08:00
mmyduckx 11af829151 fix image-asset deserialize (#10183) 2022-02-25 19:03:36 +08:00
江战 362f42b70c update okhttp to 3.12.14 (#10169) 2022-02-24 18:22:20 +08:00
James Chen bd54a082a3 Update Spidermonkey (97.0.1) backend for se (jswrapper) (#10170)
* Update spidermonkey backend for se.

* Update cmakelist

* Bug fix for se spidermonkey backend.

* Fix constructor binding for spidermonkey backend.

* Fix wrong syntax of calling native function in simple-texture.jsb.ts & builtin-res-mgr.jsb.ts

* Use jsb.createExternalArrayBuffer for caching since it will not be moved during GGC.

* Cleanup se spidermonkey backend

* Add Object::createExternalArrayBuffer for se v8 backend.

* Remove unused code in jsb_assets_manual.cpp

* Add jsb.createExternalArrayBuffer binding.

* Remove unused WebGLRenderingContext registeration.

* Remove unused code in jsb_global_init.cpp

* Add Root::setDevice.

* Invoke ScriptEngine::mainLoopUpdate in Engine.cpp.

* Update CMakeLists.txt

* Make missing return type as an error.

* Cleanup for sm/ScriptEngine.cpp

* prefine.cmake fix for vs.
2022-02-24 18:20:54 +08:00
minggo ef075d6887 Update config.json (#10167) 2022-02-24 16:24:48 +08:00
Cocos Robot 2fba16d0c2 [ci skip][AUTO]: Automated code generating update: 6bf2c51709d977f25b99665062c31d6fb1cae529 (#10162) (#10163)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-02-24 09:55:19 +08:00
江战 a5299e38d4 3.6 auto gen builtin res (#10162)
* CI run builtin-res generation
2022-02-23 17:35:29 +08:00
Cocos Robot d9f3867224 [ci skip][AUTO]: Automated genbindings update: f8b68b18b347e9dac26e6543cbccdbfa3bc1ef3a (#10125) (#10153)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-02-23 09:53:38 +08:00
minggo aca0a1bccb Remove memory management (#10125)
* remove NedPooling

* remove Jealloc

* remove some macros

* move memory related macros into Memory.h

* delete MemTrack
2022-02-22 18:12:48 +08:00
袁炜海 8c8f3ac3c6 feat: update editor/* meta (#10150) 2022-02-22 18:05:41 +08:00
zhakesi f075bea84c fix dragonbones dispose with args's size error warning (#10144)
* fix dragonbones dispose with args's size error warning

* fix IArmatureProxy dispose function
2022-02-22 17:05:40 +08:00
江战 c3bfc1f439 fix function block (#10147) 2022-02-22 16:23:51 +08:00
Cocos Robot 944bee877d [ci skip][AUTO]: Automated genbindings update: e036af7757cc472184763ed0bae03fefeb88b401 (#10131) (#10143)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-02-22 14:19:37 +08:00
hyde zhou 94516f5343 V3.6.0 pipeline (#10131) 2022-02-22 09:58:51 +08:00
Yun Hsiao Wu aa886293b0 expose copy function on gfx structs (#10122) 2022-02-21 15:45:28 +08:00
bofeng-song faf040002d fix octree's minPos can't not be read normally while deserialize (#10112)
* fix octree's minPos can't not be read normally while deserialize
2022-02-17 15:48:40 +08:00
Cocos Robot 246d535e8e [ci skip][AUTO]: Automated genbindings update: 24ac7fb3e4bae8a67814e8fd42fc564f91b43338 (#10093) (#10121)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-02-17 09:56:15 +08:00
mmyduckx 85a1d341c3 add unity_build compile for ci (#10110)
* add unity_build compile for ci
2022-02-17 09:55:31 +08:00
Cocos Robot adba8d5cc1 [ci skip][AUTO]: Automated genbindings update: 40b80138e0 (#10114) (#10120)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-02-17 09:49:28 +08:00
timlyeee 390aad771c [fix] unnecessary promise exceptions throwed. (#10093)
* promise exceptions
* handle exceptions in main loop
2022-02-17 09:48:46 +08:00
minggo f42db510b9 Merge pull request #10114 from YunHsiao/v3.6.0
merge 3.5
2022-02-17 09:41:34 +08:00
Yun Hsiao Wu 40b80138e0 Merge remote-tracking branch 'origin/v3.6.0' into v3.6.0 2022-02-16 16:14:32 +08:00
Yun Hsiao Wu 1d41e392d1 Merge remote-tracking branch 'origin/v3.5.0' into v3.6.0 2022-02-16 15:44:34 +08:00
江战 a4fc0a8513 Update native-unit-test.yml (#10116) 2022-02-16 15:35:12 +08:00
troublemaker52025 76af77d9b8 fix shadow merge error for v3.6.0 (#10073)
* fix shadow merge error for v3.6.0

* update

* fix ci error

* fix ci error 2

* fix ci error

* fix ci error 3
2022-02-16 12:12:45 +08:00
timlyeee d2e4b75463 Fix loop audio would stop for ios system (#10094)
* Fix loop audio would stop for ios system

* IOS system has an uncertain state between foreground and background, and our condition sometimes miss the point to load buffers.
* Queue for 3 buffers might be too short to live, use 4 or even more instead.
* Issue could be solved: 
* https://github.com/cocos2d/cocos2d-x/issues/19480, 
* https://github.com/cocos-creator/3d-tasks/issues/11135
2022-02-16 11:59:03 +08:00
Yun Hsiao Wu efbb7c880b resolve conflicts 2022-02-16 10:47:38 +08:00
Yun Hsiao Wu 198034ec2c refactor access type array to access flags (#10103) 2022-02-16 09:56:46 +08:00
Cocos Robot ac6399f29a [ci skip][AUTO]: Automated genbindings update: 5fb5fe4721dd26fbf32f1df1ee6ca0d1c7644eb5 (#10099) (#10108)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-02-15 11:14:50 +08:00
bofeng-song 7e2fce85f9 sychronize engine to native (#10099)
* sychronize engine to native according to  https://github.com/cocos-creator/engine/pull/10041
2022-02-15 10:09:53 +08:00
James Chen f34301fb88 [3.5] Update ci yml files, add native/web prefix, cherry-pick from #10083 (#10104)
* Update ci yml files, add native/web prefix (#10083)

* Update ci yml files, add native/web prefix

* Update native-compile-platform.yml

* Update CMakeLists.header.txt & generate_compile_command_android.sh

* Fix wrong path in filter_by_cdb.js
2022-02-15 09:55:48 +08:00
江战 add8a68829 genbindings batch (#10106) 2022-02-15 09:45:16 +08:00
Cocos Robot b7df7351f6 [ci skip][AUTO]: Automated genbindings update: 2e8432491380a783059396e4cbed75a53b4444da (#10097) (#10098)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-02-15 09:20:05 +08:00
SijieWang 15165e064b Merge v3.5.0 (#10097)
* Update bindings.yml (#10074)

调整fork仓库

* [Optimize] Merge native workflow (#10091)

Co-authored-by: Sijie <devhacker520@hotmail.com>

Co-authored-by: shaoqiangcai <79490184+shaoqiangcai@users.noreply.github.com>
Co-authored-by: Sijie <devhacker520@hotmail.com>
2022-02-14 14:44:17 +08:00