Commit Graph

831 Commits

Author SHA1 Message Date
timlyeee 80fb5bcd30 update simulator to x64 (#11054) 2022-05-13 16:24:23 +08:00
ChiaNing 045e6430cb add base-Renderer and separate & rename renderableComp (#10903)
* add base-Renderer and separate & rename renderableComp

* rename

* some fix

* misc fix

* format change

* file name change & api doc add

Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-05-09 17:44:56 +08:00
James Chen c717b4bd00 Add static property 'isJSBClass' for JSB classes and only enable it in DEBUG mode. (#10993) 2022-05-07 18:04:05 +08:00
李吉林 a827c002fb skip to export updateOctree (#10973) 2022-05-06 17:36:34 +08:00
minggo d64458abf4 remove unneeded files (#10911)
* remove unneeded files
2022-04-29 11:20:44 +08:00
Yiwen 22fe482d05 In v3.6.0, the ccstd::string is used in GFXDef-common.h, this PR add (#10895)
support to ccstd::string so that the gfx-define-generator can work
again.

1. add `\:` to the second group of structMemberRE to make sure we can
   get ccstd::string instead of ccstd.
2. add `type.replace(/(\b)(?:ccstd::string)(\b)/, '$1string$2');` to
   make sure that ccstd::string can be replaced by string.
2022-04-27 17:07:39 +08:00
minggo 84c27e7f71 Merge branch 'v3.5.0' into v3.6.0_merge_v3.5 2022-04-24 13:41:27 +08:00
Santy-Wang 3da31ad481 move templates (#10781)
* move templates

* adjust github action

* adjust access authority
2022-04-18 10:24:54 +08:00
李吉林 f195f7dd2d add spline (#10684)
* add spline
2022-04-11 15:49:20 +08:00
Cocos Robot bff1fbe17d [ci skip][AUTO]: Automated clang-format update: c7f0f9c103dd416e903eedda42bc1f3f9c5368cb (#10682) (#10717)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-04-11 11:11:30 +08:00
minggo cd48cf7106 Replace CCASSERT with CC_ASSERT (#10682)
* replace CCASSERT with CC_ASSEERT
2022-04-10 16:03:46 +08:00
timlyeee 48e0b18920 add main.mm back while main function is needed for simulator (#10577) (#10697)
* add main.mm back while main function is needed for simulator

* add license
2022-04-08 14:57:18 +08:00
Cocos Robot 307eb701a1 [ci skip][AUTO]: Automated clang-format update: 48787d3a22ada5d0a8220075ac7859eaf8bcba44 (#10655) (#10660)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-04-06 10:28:01 +08:00
timlyeee d0195edb4f set V3.5.0 simulator window position to center (#10655)
* set simulator window position to center.

* add mac support
2022-04-06 09:59:36 +08:00
bofeng-song d8bdec5162 fix android crash due to eglSurface unavailable (#10621)
* skip setRendererAvailable &  isRendererAvailable (#10482)

* fix android crash due to eglSurface unavailable
2022-04-01 14:52:46 +08:00
timlyeee 61988646c1 add main.mm back while main function is needed for simulator (#10577)
* add main.mm back while main function is needed for simulator

* add license
2022-03-29 20:17:03 +08:00
minggo a6bf766170 Merge branch 'v3.5.0' into v3.6_merge_v3.5 2022-03-29 18:26:40 +08:00
qiuguohua 9a5f43d80c Modify the application interface name and remove the js keyword (#10556)
* Modify the application interface name and remove the js keyword
2022-03-29 15:08:49 +08:00
Cocos Robot c62f828551 [ci skip][AUTO]: Automated clang-format update: bdf9ae46e7c60cfc50876fff03424edccb4646e8 (#10543) (#10548)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-28 18:12:33 +08:00
qiuguohua 051e034f3f Put main.cpp in the template (#10543)
* Put main.cpp in the template
2022-03-28 18:03:51 +08:00
李吉林 baf95125fc profiler with surface transform (#10515)
* profiler with surface transform

* add namespace closing comment
2022-03-28 10:20:54 +08:00
hyde zhou b1e8733742 [v3.6.0 pipeline] uses Root::getPipeline instead of RenderPipeline::getInstance() (#10486)
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com>
Co-authored-by: GengineJS <476393671@qq.com>
Co-authored-by: zxx43 <zxx43@hotmail.com>
2022-03-25 11:04:50 +08:00
minggo ecbc619e4b remove unneeded macros (#10474)
* remove unneeded macros
* add cc_ for some macros
2022-03-25 11:01:48 +08:00
bofeng-song 8d5a2b0434 skip setRendererAvailable & isRendererAvailable (#10482) 2022-03-24 18:43:13 +08:00
hyde zhou af310bf8a4 use native root.pipeline (#10467) 2022-03-24 09:43:23 +08:00
李吉林 6c935352dd geometry renderer refactor (#10444) 2022-03-22 17:44:39 +08:00
Zeqiang Li fac0f58a71 skip getraw (#10429) 2022-03-22 11:16:27 +08:00
timlyeee 7d7f32e24e rename windows process name (#10422)
* remove file description in game.rc, the process name  will keep the same as project name
* add macro definition GAME_NAME for creating window, as no other way to read it.
2022-03-22 10:29:25 +08:00
hyde zhou 8fc925719e [v3.6.0 pipeline] pipeline update (#10391)
* add get pipelineSceneData

* present refactored

* added executor example
2022-03-18 15:27:38 +08:00
hyde zhou 573a1f0d7a [v3.6.0 pipeline] refactor native root.h (#10356)
* decouple native RenderPipeline
2022-03-16 16:56:18 +08:00
李吉林 d793157a71 add dynamic mesh (#10291)
* add dynamic mesh

* Mesh init refactor

* fix geometry renderer bug

* dynamic mesh review update

* MeshUtils refactor

* do not export createDynamicMesh
2022-03-16 16:55:49 +08:00
hyde zhou dd471f6657 V3.6.0 pipeline (#10234)
* Update the draw function

* pipeline runtime added to pipeline

Co-authored-by: GengineJS <476393671@qq.com>
Co-authored-by: zxx43 <zxx43@hotmail.com>
2022-03-11 18:05:33 +08:00
bofeng-song 91d50b2782 fix TextureCub's isRGBE can not overrided (#10307) 2022-03-11 11:49:42 +08:00
hyde zhou 7e68488a76 shadingScale moved from PipelineSceneData to Pipeline (#10292) 2022-03-10 09:57:59 +08:00
江战 7c3698dca0 3.6 Update layout_foot.h (#10289)
* Update layout_foot.h

* fix clang-foramt dir
2022-03-10 09:52:11 +08:00
timlyeee 8f53542267 fix win64 restart crash (#10233)
* fix win64 restart crash

* supply restart fix from v3.4.2/v3.5(supply a default context)
* temp hack for v8::Arraybuffer(abi conflict).
* remove use of windows dll for x86
2022-03-09 16:07:24 +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
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 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 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
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
hyde zhou 94516f5343 V3.6.0 pipeline (#10131) 2022-02-22 09:58:51 +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
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
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
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
江战 add8a68829 genbindings batch (#10106) 2022-02-15 09:45:16 +08:00