mmyduckx
63e5694cfe
Sync shadow info ( #11259 )
...
* sync ts shadowInfo planeDirection&planeHeight
2022-05-31 14:27:41 +08:00
James Chen
fdc977ee78
[v3.6] Cleanup code, fix typo and add missing property bindings ( #11254 )
...
* Fix typo: Fog::setfogRange -> Fog::setFogRange
* Model::getInstancedAttributeBlock should return reference.
* Update scene.ini
* Fix errors in scene.ini.
* Put Node::_children private.
* Update access level, return value, typo.
* revert Ambient.h
* Remove an unused method: RenderScene::removeModel(index_t idx);
* Update scene.ini
* Add missing propery bindings in Shadows & AmbientInfo.
* Remove unused accessor in Ambient.h
2022-05-31 09:57:30 +08:00
hyde zhou
243547ffac
V3.6.0 pipeline ( #11021 )
...
* 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
* fix misuse of drawAPI on metal (#10195 )
* 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
* decouple GlobalDescriptorSetManager from RenderPipeline
* formatting
* move interface onGlobalPipelineStateChanged from PipelineSceneData to Pipeline
* 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>
* add setViewport setScissor
* scene transversal modified
* accidentally omitted
* remove pipeline event from pipeline, decouple terrain from render pipeline
* shadingScale moved from PipelineSceneData to Pipeline
* Pipeline removed from PipelineSceneData
* pipelineEvent refactored
* fix typo
* rendergraph executes
* interface changed
* fix submit
* Update the draw function
* pipeline runtime added to pipeline
* automatically barrier
* typo
* comment
* forgot sth important
* add classic/custom pipeline switch
* web pipeline can be enabled
* relax pipeline interface
* pipeline use gfx::Color
* decouple native RenderPipeline
* fix clang tidy
* add get pipelineSceneData
* present refactored
* added executor example
* half way done
* find slot
* merge & sort layout
* layout graph updated
* enable native usesCustomPipeline
* change mergedbs
* fix comment
* fix eslint error
* fix
* draft
* update the rendergraph compiler
* update the compiler
* update executor
* update to latest
* revert mtlcmdbuffer manually
* valid added
* external node
* add framebuffer
* fix linter
* fix linter
* fix implicit narrow cast
* fix linter
* use native root.pipeline
* use Root to get pipeline instance
* fix ccstd::string
* turn off validation
* cleanup
* ccstd::pmr::string changed
* update the pipeline ubo
* use ccstd::pmr::string
* uses ccstd::pmr::vector
* uses ccstd::pmr::map
* reconstruction
* external res
* compile issue
* clang tidy
* fix ccstd::pmr::string hash
* fix potential issue
* Fixed some rendering errors of webpipeline in the editor
* Optimize attachment load/storeOp logic
* update executor
* WebPipeline bug fixed in editor
* Fix the problem of resource cache error when camera is deleted or added
* webpipeline performs logic adjustments and bug fixes
* render graph updated
* descriptor updated
* descriptor updated
* fix member traits
* libstdc++ does not support hashing std::pmr::string on linux
* refactor descriptor
* jsb allocator walkaround
* rename
* descriptor type refactored
* fix default
* adding layout graph builder
* adding native layout builder
* adding native builder
* adding layout graph
* adding descriptor
* adding descriptor layout
* create layout graph builder added
* fix root
* format
* add web layout graph builder
* refactor web layout graph
* fix intrusive ptr
* descriptor set data updated
* debug string added
* adding render graph
* adding resource graph
* adding native pipeline
* graph remove edge temporary fix
* remove_edge simplified
* remove edge simplified
* outIter renamed
* remove edges simplified
* fix reference graph impl
* adding native impl
* remove unused native
* queue added
* adding native pipeline
* adding native pipeline
* fix bug
* render graph setup added
* render graph updated
* fix ccstd::string
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com >
Co-authored-by: GengineJS <476393671@qq.com >
Co-authored-by: zxx43 <zxx43@hotmail.com >
2022-05-30 11:50:22 +08:00
James Chen
b65b47c04b
[v3.6][native] Cleanup code, minor changes ( #11237 )
...
* [v3.6][native] Cleanup code, minor changes
2022-05-27 09:46:04 +08:00
ChiaNing
48194f1d37
Update bindings-generator environment configuration instructions ( #11231 )
...
* Update bindings-generator environment configuration instructions
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-05-26 13:41:25 +08:00
James Chen
8f8924c3f4
fixed #10929 : Hash computation in native engine causes loss of precision, use 32 bits hash for all platforms ( #11179 )
...
* fixed #10929 : Hash computation in native engine causes loss of precision. Force use 32 bits hash for all platforms.
* More uint64_t -> ccstd:hash_t
* Some uint64_t -> uint32_t in SkeletalAnimationUtils.h/.cpp
* operator() return ccstd::hash_t now and add some comments.
* size_t -> ccstd::hash_t in StringPool.h, Font.h/.cpp
2022-05-25 13:54:57 +08:00
minggo
7814949998
Merge branch 'v3.5.1' into v3.6.0_merge_v3.5.1
2022-05-24 11:53:57 +08:00
Zhang mingzhen
c09995b45a
supplement JSB documents ( #11153 )
...
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2022-05-23 09:37:07 +08:00
minggo
75dcf062c6
refactor startup/shutdown process of gfx device ( #11123 )
...
* refactor startup/shutdown process of gfx device
2022-05-17 17:29:09 +08:00
James Chen
7203b63a50
fixed #3d-tasks/11110: [native] Avoid two implementation of CCObject ( #11060 )
...
* fixed #3d-tasks/11110: [native] Avoid two implementation of CCObject
* Add more comments in CCObject.cpp
2022-05-16 09:49:45 +08:00
minggo
0c12729812
refactor startup/shutdown of file system ( #11089 )
...
* refactor startup/shutdown of file system
2022-05-16 09:48:24 +08:00
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
hyde zhou
39f46507e2
add enum comments generation ( #10922 )
2022-05-01 08:11:14 +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