Commit Graph

18930 Commits

Author SHA1 Message Date
Zhang mingzhen 37e67d55c8 Richtext add child optimization v3.7 (#13002)
* add child optimization(in 3.6.2)

(cherry picked from commit 6f44dd375faa1d62becf25818abc4f83ad7e08d1)

* add estimation before calculate size precisely

(cherry picked from commit 92b26a6f6b8f78abd2bcafffbe2a9c86b18a1e50)

* add anotations

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2022-10-10 16:00:56 +08:00
hyde zhou afa74ed094 [develop] update custom pipeline implementation (#12977) 2022-10-10 14:36:17 +08:00
troublemaker52025 ddfa2fd42a [optimization] Remove camera dependency (#12983) 2022-10-10 10:29:19 +08:00
hyde zhou d2ec2d563f fix creation (#12997) 2022-10-09 18:50:16 +08:00
hyde zhou b4b77cd069 fix vs2017 c++17 comformance error (#12998) 2022-10-09 18:49:48 +08:00
hyde zhou 5b37954c7f [develop] change custom builder setup procedure (#12990) 2022-10-09 16:14:59 +08:00
Leslie Leigh (李的序) 3dd865c39a Add functions to visit animation clips in animation graph (#12963)
* Add functions to visit animation clips in animation graph(and controller)

* Update
2022-10-09 15:47:41 +08:00
hyde zhou 4adb5387af [develop] change boost::string_view to std::string_view (#12982) 2022-10-09 10:59:39 +08:00
mmyduckx 79df2ced39 add network-module in function-corpping (#12896) 2022-10-08 17:10:18 +08:00
Yiwen f6530ffa9e change path of define.ts in gfx-define-generator (#12939)
* change path of define.ts in gfx-define-generator

* correct the creation of web swapchain

* fix windowId. valid windowId starts from 1
2022-10-08 10:30:07 +08:00
hyde zhou 407f01ad0b [develop] improve pipeline performance (#12967) 2022-10-08 10:24:21 +08:00
hyde zhou f3b3e0ce67 adding missing enum (#12965) 2022-09-30 14:14:21 +08:00
James Chen f3288f77c5 Add Object::createObjectWithConstructor (#12946) 2022-09-30 10:23:57 +08:00
James Chen 1d9243d255 [optimization] Remove __objectSet in v8/Object.cpp to avoid unneeded hash operations. (#12944)
* [optimization] Remove __objectSet in v8/Object.cpp to avoid unneeded hash operations.

* Reset _gcFuncValue to undefined in ScriptEngine::cleanup
2022-09-30 10:23:03 +08:00
bofeng-song 8f40d29372 refine: remove appCompat's dependency (#12854)
* refine: remove appCompat's dependency
2022-09-30 10:21:10 +08:00
hyde zhou 2697d35ba3 [develop] custom pipeline add game view support (#12958) 2022-09-30 10:18:45 +08:00
王凯鹏 5502840c00 feature : set camerUsage when creating amera (#12952) 2022-09-29 19:05:50 +08:00
hyde zhou c701f2a096 fix missing getter (#12951) 2022-09-29 16:23:00 +08:00
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