林玮
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
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
林玮
c2009089f4
fix: touch issue on retina display ( #12834 )
...
(cherry picked from commit d5894fdafe122414e2a69dbd242c627c7f7cfd9c)
2022-09-21 15:36:56 +08:00
hyde zhou
f85ca2fe82
[develop pipeline] refactor framegraph code and updated pipeline ( #12794 )
2022-09-16 18:14:49 +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
林玮
785fd91511
Add multi-windows support ( #12243 )
...
Co-authored-by: bofeng.song <bofeng.song@chukong-inc.com >
2022-09-15 14:55:44 +08:00
oahc09
448c093cf4
improve:remove IXRInteraface's dependent from GFXDevice.h ( #12690 )
...
* improve:remove IXRInteraface's dependent from GFXDevice.h
* improve:remove IXRInteraface's redundant code from DeviceValidator.h/cpp
2022-09-06 17:44:46 +08:00
James Chen
dc81a20f3a
[v3.6.1] Fix jointTexture configuration not loaded on native platforms. ( #12639 )
...
* Fix jointTexture configuration not loaded on native platforms.
* Remove unused std::floor in Root.cpp
* Fix clang-tidy
2022-09-01 12:56:40 +08:00
QingliWang
6a8f53b186
Add features for XR developement. ( #12413 )
...
* Change Android mainloop, add global config and template projects for XR.
* Change gfx/gles device's process flow for XR, working with other PRs, waiting.
* Change gfx/Vulkan device's process flow for XR, working with other PRs, waiting.
* Change render process for XR.
* Develop XR input and events.
* Develop 3D feature of UI widgets and raycast effect for XR.
Co-authored-by: fqamic <fqamic@vip.qq.com >
2022-08-22 16:34:45 +08:00
minggo
e0bfd1d380
Merge branch 'v3.6.0' into merge_v3.6
2022-07-26 12:01:26 +08:00
hyde zhou
0c82b143fc
[V3.6.0 pipeline] added web forward and deferred pipelines ( #11646 )
...
* added custom web forward and deferred pipelines
2022-07-21 12:40:13 +08:00
James Chen
ab733d5644
[v3.6.0] Fix some potential memory issues ( #12045 )
...
* Fix deleting IntrusivePtr _pipeline object in Rot.cpp.
* Remove unused code.
* Avoid nullptr dereference in SceneCulling.cpp
* Fix memory leaks for some objective-c code.
* [dragonbones] Avoid extra memory allocation and copy in CCFactory.cpp
* [dragonbones] DragonBonesData::binary needed to be 'freed' rather than 'delete'd.
* [dragonbones] Fix using delete to release memory allocated by 'new[]' in SlotColorTimelineState.
* Remove variable srcOffset & dstOffset in Mesh::merge
2022-07-18 16:39:26 +08:00
James Chen
f644e78e5c
[v3.6.0] Refactor native Batcher2d lifecycle ( #12011 )
2022-07-15 14:17:33 +08:00
James Chen
e3d0f93460
getGeometryRenderer::update must be wrapped in CC_USE_GEOMETRY_RENDERER macro. ( #11928 )
2022-07-11 18:57:10 +08:00
bofeng-song
7c8492c668
remove unneeded code, gameActivity has been ensured the render lifecycle ( #11897 )
2022-07-08 18:20:38 +08:00
李吉林
1f12c3e88e
fix geometry renderer update buffer in metal ( #11772 )
...
* fix geometry renderer update buffer in metal
2022-06-30 16:37:07 +08:00
hyde zhou
e45943058e
add macro ( #11484 )
...
* add render-pipeline macro
2022-06-13 18:38:26 +08:00
yangchao
c46b8d29ab
add server mode marco ( #11476 )
2022-06-13 13:46:19 +08:00
hyde zhou
24ab74050d
V3.6.0 pipeline ( #11327 )
...
* Refactoring EffectAsset, ProgramLib, (Material) Pass.
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com >
Co-authored-by: zxx43 <zxx43@hotmail.com >
Co-authored-by: GengineJS <476393671@qq.com >
2022-06-13 11:15:21 +08:00
李吉林
1e34d3551a
V3.6.0 geometry compatibility ( #11393 )
...
* compatibility for geometry renderer
* add deprecated.ts
* add empty implementation in web-pipeline
* ts lint
2022-06-08 11:11:10 +08:00
hyde zhou
02407dbc70
V3.6.0 pipeline ( #11277 )
...
* 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
* transfer env
* switch env
* switch env
* 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
* before applying another idea
* 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
* run test case
* adding native impl
* remove unused native
* queue added
* pass reorder v1.0
* adding native pipeline
* adding native pipeline
* fix bug
* render graph setup added
* render graph updated
* fix ccstd::string
* getFirstChildLayout, num of children must be 1
* remove examples
* structure refactor
* pass reorder & framegraphDispatcher interface
* remove test code
* remove debug code
* ts added object detection
* ts get name added
* RenderGraph setup moved
* add ts layout graph implement
* fix lint
* fix ci: implicit type conversion
* ci
* adding warmup
* turn off custom
* pipeline updated
* format
* try disable clang 64 to 32 narrow warning
Co-authored-by: zxx43 <zxx43@hotmail.com >
Co-authored-by: GengineJS <476393671@qq.com >
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com >
2022-06-01 19:06:59 +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
minggo
ac92997d96
do not handle Root in engine ( #11140 )
2022-05-18 18:20:55 +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
271cc5cf23
Remove some format rule ( #10919 )
...
* remove some rules
* format all codes with new format rule
2022-05-04 13:09:24 +08:00
李吉林
3457292707
refactor exit process ( #10880 )
...
* refactor exit process
* add override
* fix geometry-renderer missing in deferred pipeline
* invoke destroy directly
* fix ESLint error
* add -misc-static-assert for clang-tidy
2022-04-27 14:59:23 +08:00
minggo
444bfe31c4
Refactor CC_NEW/CC_DELETE ( #10810 )
...
* replace CC_NEW/CC_DELETE with ccnew/delete
2022-04-21 16:39:34 +08:00
minggo
cb1234b63a
Revert "fix memory leak ( #10804 )" ( #10823 )
...
This reverts commit 3374c7e41c .
2022-04-21 13:52:20 +08:00
李吉林
3374c7e41c
fix memory leak ( #10804 )
2022-04-20 14:43:02 +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
bofeng-song
d419d41944
fix elg & gl error ( #10473 )
...
* skip rendering if renderer is not available
2022-03-24 15:04:36 +08:00
minggo
7f4cb9e3b1
Remove string ( #10469 )
...
* replace std::string with ccstd::string
2022-03-24 11:53:10 +08:00
minggo
34bf14269c
unify stl ( #10402 )
...
* add ccstd::vector
* replace cc::vector with ccstd::vector
* replace std::vector with ccstd::vector
* do not include <vector>
2022-03-21 15:55:02 +08:00
Cocos Robot
71288fcf7a
[ci skip][AUTO]: Automated clang-format update: aed8a54418a115b3e3ec8c3d69be3498817a0043 ( #10387 ) ( #10412 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-03-21 13:47:58 +08:00
李吉林
8b611affa2
V3.6.0 font debug profiler ( #10387 )
...
* add Font&DebugRender&Profiler
* add profiler for metal
* fix profiler review problem
2022-03-21 11:41:54 +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
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
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
mmyduckx
e52bb2bf06
add forward declaration for pipeline ( #10082 )
2022-02-14 09:31:00 +08:00
mmyduckx
e332c02ca0
add forward declaration for 3d/scene-graph/scene ( #4246 )
...
* add forward declaration for 3d/scene-graph/scene
* fix genbindings error
* define ctor in cpp
2022-02-09 15:41:00 +08:00
bofeng-song
cdb02a37a0
fix TextureCube crash & skybox not work ( #4171 )
2022-01-14 13:38:12 +08:00
minggo
5410a48a58
Implement more logic in native ( #4131 )
...
Co-authored-by: bofeng.song <bofeng.song@chukong-inc.com >
Co-authored-by: dumganhar <dumganhar@gmail.com >
Co-authored-by: mmyduckx <308303735@qq.com >
Co-authored-by: Patrice Jiang <397136899@qq.com >
Co-authored-by: 江战 <40414978+PatriceJiang@users.noreply.github.com >
2022-01-07 18:39:40 +08:00