Commit Graph

22 Commits

Author SHA1 Message Date
hyde zhou 43b4cb30f2 develop pipeline add subpass (#15166)
pr-test is not ready, skip it.
2023-06-01 10:39:20 +08:00
hyde zhou 8a7586c925 [develop pipeline] add resolve (#15121) 2023-05-23 10:11:44 +08:00
hyde zhou d1369d2ab4 V3.7.3 pipeline (#14772) 2023-04-19 23:23:43 +08:00
hyde zhou 6ed4719968 pipeline update (#14486)
* adding queue phase

* adding per phase descriptor set

* adding render phase descriptor set

* Optimize memory usage and rendering time of WebPipeline (#106)

* Pass ubo execution optimization (#107)

* adding compute shader

* add compute shader

* add compute dispatch

* add compute shader

* adding subpass

* add dummy web subpass builder

* remove present pass

* remove present pass

* adding subpass to RenderGraph

* fix unit test

* lint fix

* fix lint

* adding raster subpass

* native subpass builder added

* Complete render phase to layoutgraph (#108)

* rename RasterTag to RasterPassTag

* rename ComputePass to Compute

* subpassGraph added

* add shading rate attachment

* fix typo

* RenderSwapchain default constructible

* Optimize Execution Memory (#110)

* add storage buffer/texture support

* add storage buffer and shading rate texture

* fix lint

* fix typo

* V3.7.2 pipeline (#109)

* fix merge conflict

---------

Co-authored-by: GengineJS <476393671@qq.com>
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com>
2023-03-09 17:57:05 +08:00
hyde zhou 7e9a01f5e2 refactored web profiler and native framebuffer (#14168) 2023-02-08 15:49:06 +08:00
pandamicro afd22296b4 MIT license update and to new year 2023 (#13927)
* Cpp MIT license update and to date
* TS MIT license update and to date
2022-12-28 11:25:12 +08:00
hyde zhou df9b49b539 [pipeline] update custom pipeline (#13744) 2022-12-22 19:09:48 +08:00
hyde zhou 96042f6bb8 [develop] add SamplerInfo to custom pipeline (#13021) 2022-10-12 15:30:21 +08:00
hyde zhou 4adb5387af [develop] change boost::string_view to std::string_view (#12982) 2022-10-09 10:59:39 +08:00
hyde zhou bb5aa2523f [pipeline] rename graph _vertices (#12802) 2022-09-20 14:43:44 +08:00
hyde zhou f85ca2fe82 [develop pipeline] refactor framegraph code and updated pipeline (#12794) 2022-09-16 18:14:49 +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
hyde zhou 04191c8d4c uses ccstd::variant instead of boost::variant2::variant (#11437) 2022-06-09 21:24:06 +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 024737aebc fixed #11195: Rename cc::optional, cc::any, cc::variant to ccstd::optional, ccstd::any, ccstd::variant (#11197)
* Move Any.h/Optional.h/Variant.h to base/std and rename them to lowercase.

* fixed #11195: Rename cc::optional, cc::any, cc::variant to ccstd::optional, ccstd::any, ccstd::variant

* Format code.
2022-05-24 18:47:16 +08:00
hyde zhou e9a4bdd4dc V3.6.0 pipeline (#10882) 2022-05-01 07:30:06 +08:00
hyde zhou 5181eb0bdf uses ccstd::pmr::vector (#10588) 2022-03-31 13:52:03 +08:00
hyde zhou 58b78e24ac [v3.6.0 pipeline] uses ccstd::pmr::string (#10573)
* update the pipeline ubo

* use ccstd::pmr::string

Co-authored-by: GengineJS <476393671@qq.com>
2022-03-29 20:19:21 +08:00
hyde zhou 5dc38fcb6f [V3.6.0 pipeline] pipeline updates (#10345) 2022-03-23 16:36:37 +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
hyde zhou 94516f5343 V3.6.0 pipeline (#10131) 2022-02-22 09:58:51 +08:00