Commit Graph

18912 Commits

Author SHA1 Message Date
minggo b65379fae2 move prefabl-link.ts to cocos/misc (#12937) 2022-09-29 14:05:04 +08:00
Zeqiang Li bd1573ae18 update readme (#12948) 2022-09-29 13:58:12 +08:00
Zach Lee 98f62d1705 Added GFXDeviceObject. (#12909) 2022-09-29 13:56:29 +08:00
hyde zhou 2e102db558 [develop] fix typescript missing getter setter (#12947) 2022-09-29 13:32:12 +08:00
minggo 84c25f3a33 declare WrapMode in core/geometry/curve.ts (#12933)
* move WrapMode into core/geometry/curve.ts

* do not exmport WrapModeMask
2022-09-29 09:42:27 +08:00
hyde zhou 377fc271f4 [develop] rename PER_QUEUE to PER_PHASE (#12934) 2022-09-28 18:07:09 +08:00
minggo 7e6b054b87 remove dependence of render scene caused by core/deprecated.ts (#12931) 2022-09-28 14:46:48 +08:00
minggo 95a76235b6 Adjust some files (#12910)
`cocos/core` should not depend other modules, so move some files out of `cocos/core`:
- move some files from `cocos/core` to `cocos/game`
  - director.ts
  - splash-screen.ts
  - game.ts
 - move `cocos/core/root.ts` to `cocos/root.ts` as there is not better module to contain `root.ts`.
 - move `cocos/core/platform/view.ts` to `cocos/ui/view.ts` as screen related logic is moved to `cocos/core/platform/screen.ts`
2022-09-28 09:34:35 +08:00
Cocos Robot cf874e6528 [ci skip][AUTO]: Automated code generating update: 98eef5bcc82840ddfeb724e952b0abf7f8542895 (#12886) (#12920)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-09-27 18:02:52 +08:00
hyde zhou e8366a7a7b [develop] custom pipeline startup refactoring (#12886)
* manually merge bloom, fg culling, native pipeline updates

* fix lint

* camera usage added

* use parent name instead of default & add some phase names

* adding render graph execution

* execute render graph added

* refactoring workflow

* uses interface instead of abstract class

* add setup step

* camera usage added

* adding setup stage

* unify camera get set

* adding ppl setup

* fixed bloom effect

* change descriptor merge

* modify uniform collect as descriptor

* revert

* revert phase

* adding render callback

* update setup workflow

* pipeline builder updated

* refactoring native pipeline setup

* revert jsb

* improve cameraList clear

Co-authored-by: zxx43 <zxx43@hotmail.com>
Co-authored-by: qiuguohua <>
2022-09-27 17:57:21 +08:00
林玮 e7e8036dcd fix: editor and cocos-play issues (#12908)
* fix: editor and cocos-play issues

* * Change 'windowId' to optional.
2022-09-27 17:45:21 +08:00
Cocos Robot be9975e874 [ci skip][AUTO]: Automated code generating update: 7e8b118691399717e63a2d1cdadc925e62b9dcb7 (#12869) (#12907)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-09-27 12:04:10 +08:00
Zach Lee 699fdfad90 Feat: Expires bufferView after resizing it's source buffer. (#12869) 2022-09-27 11:50:37 +08:00
江战 e5b6cf9c06 fix string escaping (#12891) 2022-09-26 17:09:59 +08:00
江战 1738f3d2af 3.7-multiple-assignees (#12889) 2022-09-26 15:17:27 +08:00
minggo 0d7c5c8f56 move cocos/core/scene-graph to cocos/scene-graph (#12868)
* move `cocos/core/scene-graph` to `cocos/scene-graph`
* move some files in `cocos/core/components` to `cocos/scene-graph`:
  - component.ts
  - component-event-handler.ts
  - component-event-handler-schema.ts
* move some files in `cocos/core/components` to `cocos/misc`: 
  - missing-script.ts
  - model-renderer.ts
  - renderer.ts
  - camera-component.ts
* move  `cocos/core/components/system.ts` to ``cocos/core/system.ts``
2022-09-26 11:02:22 +08:00
Yiwen 02d88c02d5 fix cylinder/cone collider's scale (#12860) 2022-09-26 10:10:48 +08:00
hyde zhou ec8de8eb0f [develop] add layout-graph descriptor collection (#12870) 2022-09-26 10:02:58 +08:00
江战 a9eed94564 Reduce jsb glue code size (#12835) 2022-09-23 16:41:31 +08:00
hyde zhou 2b2fdee02e fix bloom effect (#12864) 2022-09-23 15:01:19 +08:00
Cocos Robot 228e460aa5 [ci skip][AUTO]: Automated code generating update: 2e215b5f60c0c48bf9cafe1e73a785188979abc6 (#12857) (#12863)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-09-23 10:45:14 +08:00
hyde zhou 71a4452807 [develop] add camera usage (#12857) 2022-09-23 10:22:22 +08:00
Zach Lee af54ad1ed2 Feat: Remove the framebuffer hub. Manually update framebuffer after attachment or swapchain changes. (#12812) 2022-09-23 10:15:10 +08:00
江战 aea94523c5 Fix log format (#12850)
* update

* fix format
2022-09-22 16:33:22 +08:00
hyde zhou 912ed4edb4 manually merge bloom, fg culling, native pipeline updates (#12837) 2022-09-22 16:21:21 +08:00
林玮 eab2d646c6 Change windowHandle to windowId when EVENT_DESTROY_WINDOW (#12848)
* Change windowHandle to windowId when EVENT_DESTROY_WINDOW

* fix: resolution issue on iOS
2022-09-22 15:45:56 +08:00
bofeng-song 82cbdfb232 fix crash while dynamic call createSurface (#12829)
* fix crash while dynamic call createSurface

* Fix the application crash when returning from the background to the foreground
2022-09-22 10:57:12 +08:00
江战 5d577e39ff auto-re-assign generated PR (#12831) 2022-09-21 15:44:06 +08:00
林玮 c2009089f4 fix: touch issue on retina display (#12834)
(cherry picked from commit d5894fdafe122414e2a69dbd242c627c7f7cfd9c)
2022-09-21 15:36:56 +08:00
Leslie Leigh (李的序) db3a56fa1e Fix primitive.scale (#12836)
* Fix primitive.scale

* Test

* Tweak
2022-09-21 14:49:41 +08:00
hyde zhou bb5aa2523f [pipeline] rename graph _vertices (#12802) 2022-09-20 14:43:44 +08:00
林玮 85708b98d2 bugfix: crash when resizing on MacOS (#12816)
* fix: setCursorEnabled crash

* fix: crash when resize on MacOS
2022-09-20 14:13:39 +08:00
bofeng-song 6189898878 support create surfaceview dynamically at android platform (#12551)
* support create surfaceview dynamically at android platform
2022-09-20 11:38:42 +08:00
Cocos Robot 07a60d947c [ci skip][AUTO]: Automated code generating update: 68500e12f84034c7122c1070d39af8927f33a88b (#12804) (#12813)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-09-19 17:20:45 +08:00
Zach Lee fc0102ec87 Fix: use objectId instead of pointer to check for dirty flag in descriptorSet. (#12804) 2022-09-19 17:10:22 +08:00
Santy-Wang 611196f64a sync v3.6.1 to develop
sync v3.6.1 to develop
2022-09-19 14:08:36 +08:00
santy-wang f33523227f sync v3.6.1 to develop 2022-09-19 14:00:54 +08:00
zhangxin cc43af0a22 Enhance type hints (#12787)
* Enhance type hints

* Update js-typed.ts

* Update js-typed.ts

* Update js-typed.ts
2022-09-16 19:35:38 +08:00
hyde zhou f85ca2fe82 [develop pipeline] refactor framegraph code and updated pipeline (#12794) 2022-09-16 18:14:49 +08:00
troublemaker52025 91b377968d [Bug] fix spotAngle according to code merging error (#12801) 2022-09-16 17:59:28 +08:00
江战 4947bb039a fix mac gradlew path (#12800) 2022-09-16 16:24:58 +08:00
minggo bd0fcc67c4 move cocos/core/pipeline to cocos/rendering (#12797)
* move cocos/core/pipeline to cocos/rendering
2022-09-16 16:10:26 +08:00
Cocos Robot 914bc2aadd [ci skip][AUTO]: Automated code generating update: 3d7042720940b8c0aa7a208f95fee7076564765c (#12243) (#12779)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-09-16 10:19:34 +08:00
hyde zhou eb5e1dca60 web-pipeline updated (#12775) 2022-09-15 17:07:10 +08:00
林玮 785fd91511 Add multi-windows support (#12243)
Co-authored-by: bofeng.song <bofeng.song@chukong-inc.com>
2022-09-15 14:55:44 +08:00
黄森斌 809e91f295 update CN i18n words (#12778) 2022-09-15 14:51:26 +08:00
Leslie Leigh (李的序) fbe3b543c4 Fix adjustTransitionPriority in case of serialization (#12770)
* Fix adjustTransitionPriority in case of serialization

* Fix lint
2022-09-15 10:41:56 +08:00
ChiaNing 2afd02e711 sorting component add (#12465)
* sorting component add

* menu add

* change sorting layer type to enum

* import fix

* name change

* sorting init

* fix init

* update priority on editor

* add enum index

* sort fix

* api doc add

* remove export to cc

* doc change

* protect

* warn id

Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-09-15 10:15:33 +08:00
timlyeee 3e7d44925f [BUG] Decoder returns a wrong bytesPerFrame. (#12771)
As it forget to calculate the channel count for multi-channel audio
2022-09-15 09:44:34 +08:00
James Chen b0600bd89e fixed #12772: Node.pause/resumeSystemEvent not working on native platform. (#12773) 2022-09-15 09:43:28 +08:00