#include <pipeline_descriptor.h>
Definition at line 24 of file pipeline_descriptor.h.
|
default |
|
default |
| PipelineDescriptor & impeller::PipelineDescriptor::AddStageEntrypoint | ( | std::shared_ptr< const ShaderFunction > | function | ) |
Definition at line 82 of file pipeline_descriptor.cc.
References function, and impeller::kUnknown.
Referenced by flutter::gpu::RenderPipeline::BindToPipelineDescriptor(), impeller::PipelineBuilder< VertexShader_, FragmentShader_ >::InitializePipelineDescriptorDefaults(), and impeller::testing::TEST_P().
| void impeller::PipelineDescriptor::ClearColorAttachment | ( | size_t | index | ) |
Definition at line 182 of file pipeline_descriptor.cc.
| void impeller::PipelineDescriptor::ClearDepthAttachment | ( | ) |
Definition at line 177 of file pipeline_descriptor.cc.
References impeller::kUnknown, and SetDepthPixelFormat().
Referenced by impeller::ContentContextOptions::ApplyToPipelineDescriptor().
| void impeller::PipelineDescriptor::ClearStencilAttachments | ( | ) |
Definition at line 171 of file pipeline_descriptor.cc.
References impeller::kUnknown, and SetStencilPixelFormat().
Referenced by impeller::ContentContextOptions::ApplyToPipelineDescriptor().
| std::optional< StencilAttachmentDescriptor > impeller::PipelineDescriptor::GetBackStencilAttachmentDescriptor | ( | ) | const |
Definition at line 244 of file pipeline_descriptor.cc.
Referenced by impeller::ConfigureStencil(), and impeller::CreateDepthStencilDescriptor().
| const ColorAttachmentDescriptor * impeller::PipelineDescriptor::GetColorAttachmentDescriptor | ( | size_t | index | ) | const |
Definition at line 125 of file pipeline_descriptor.cc.
Referenced by impeller::ContentContextOptions::ApplyToPipelineDescriptor(), and GetLegacyCompatibleColorAttachment().
| const std::map< size_t, ColorAttachmentDescriptor > & impeller::PipelineDescriptor::GetColorAttachmentDescriptors | ( | ) | const |
Definition at line 213 of file pipeline_descriptor.cc.
Referenced by impeller::CreateCompatRenderPassForPipeline(), and impeller::GetMTLRenderPipelineDescriptor().
| CullMode impeller::PipelineDescriptor::GetCullMode | ( | ) | const |
Definition at line 257 of file pipeline_descriptor.cc.
| PixelFormat impeller::PipelineDescriptor::GetDepthPixelFormat | ( | ) | const |
Definition at line 239 of file pipeline_descriptor.cc.
Referenced by impeller::CreateCompatRenderPassForPipeline(), and impeller::GetMTLRenderPipelineDescriptor().
| std::optional< DepthAttachmentDescriptor > impeller::PipelineDescriptor::GetDepthStencilAttachmentDescriptor | ( | ) | const |
Definition at line 208 of file pipeline_descriptor.cc.
Referenced by impeller::ContentContextOptions::ApplyToPipelineDescriptor(), impeller::CreateCompatRenderPassForPipeline(), and impeller::CreateDepthStencilDescriptor().
| std::shared_ptr< const ShaderFunction > impeller::PipelineDescriptor::GetEntrypointForStage | ( | ShaderStage | stage | ) | const |
Definition at line 227 of file pipeline_descriptor.cc.
| std::optional< StencilAttachmentDescriptor > impeller::PipelineDescriptor::GetFrontStencilAttachmentDescriptor | ( | ) | const |
Definition at line 203 of file pipeline_descriptor.cc.
Referenced by impeller::ContentContextOptions::ApplyToPipelineDescriptor(), impeller::ConfigureStencil(), and impeller::CreateDepthStencilDescriptor().
|
overridevirtual |
Implements impeller::Comparable< PipelineDescriptor >.
Definition at line 23 of file pipeline_descriptor.cc.
References fml::HashCombine(), and fml::HashCombineSeed().
Referenced by impeller::testing::TEST().
| std::string_view impeller::PipelineDescriptor::GetLabel | ( | ) | const |
Definition at line 235 of file pipeline_descriptor.cc.
Referenced by impeller::PipelineVK::Create(), impeller::CreateCompatRenderPassForPipeline(), impeller::GetMTLRenderPipelineDescriptor(), and impeller::ReportPipelineCreationFeedbackToLog().
| const ColorAttachmentDescriptor * impeller::PipelineDescriptor::GetLegacyCompatibleColorAttachment | ( | ) | const |
Definition at line 132 of file pipeline_descriptor.cc.
References GetColorAttachmentDescriptor().
| size_t impeller::PipelineDescriptor::GetMaxColorAttacmentBindIndex | ( | ) | const |
Definition at line 103 of file pipeline_descriptor.cc.
| PolygonMode impeller::PipelineDescriptor::GetPolygonMode | ( | ) | const |
Definition at line 281 of file pipeline_descriptor.cc.
| PrimitiveType impeller::PipelineDescriptor::GetPrimitiveType | ( | ) | const |
Definition at line 273 of file pipeline_descriptor.cc.
|
inline |
Definition at line 36 of file pipeline_descriptor.h.
Referenced by impeller::CreateCompatRenderPassForPipeline(), and impeller::GetMTLRenderPipelineDescriptor().
| const std::vector< Scalar > & impeller::PipelineDescriptor::GetSpecializationConstants | ( | ) | const |
Definition at line 290 of file pipeline_descriptor.cc.
Referenced by impeller::GetMTLRenderPipelineDescriptor().
| const std::map< ShaderStage, std::shared_ptr< const ShaderFunction > > & impeller::PipelineDescriptor::GetStageEntrypoints | ( | ) | const |
Definition at line 223 of file pipeline_descriptor.cc.
Referenced by impeller::GetMTLRenderPipelineDescriptor().
| PixelFormat impeller::PipelineDescriptor::GetStencilPixelFormat | ( | ) | const |
Definition at line 198 of file pipeline_descriptor.cc.
Referenced by impeller::CreateCompatRenderPassForPipeline(), and impeller::GetMTLRenderPipelineDescriptor().
| const std::shared_ptr< VertexDescriptor > & impeller::PipelineDescriptor::GetVertexDescriptor | ( | ) | const |
Definition at line 218 of file pipeline_descriptor.cc.
Referenced by impeller::GetMTLRenderPipelineDescriptor().
| WindingOrder impeller::PipelineDescriptor::GetWindingOrder | ( | ) | const |
Definition at line 265 of file pipeline_descriptor.cc.
| bool impeller::PipelineDescriptor::HasStencilAttachmentDescriptors | ( | ) | const |
Definition at line 248 of file pipeline_descriptor.cc.
Referenced by impeller::ConfigureStencil(), and impeller::CreateCompatRenderPassForPipeline().
|
overridevirtual |
Implements impeller::Comparable< PipelineDescriptor >.
Definition at line 53 of file pipeline_descriptor.cc.
References impeller::DeepCompareMap(), and impeller::DeepComparePointer().
Referenced by impeller::testing::TEST().
| void impeller::PipelineDescriptor::ResetAttachments | ( | ) |
Definition at line 191 of file pipeline_descriptor.cc.
| PipelineDescriptor & impeller::PipelineDescriptor::SetColorAttachmentDescriptor | ( | size_t | index, |
| ColorAttachmentDescriptor | desc | ||
| ) |
Definition at line 111 of file pipeline_descriptor.cc.
Referenced by impeller::ContentContextOptions::ApplyToPipelineDescriptor(), impeller::PipelineBuilder< VertexShader_, FragmentShader_ >::InitializePipelineDescriptorDefaults(), and impeller::testing::TEST_P().
| PipelineDescriptor & impeller::PipelineDescriptor::SetColorAttachmentDescriptors | ( | std::map< size_t, ColorAttachmentDescriptor > | descriptors | ) |
Definition at line 118 of file pipeline_descriptor.cc.
| void impeller::PipelineDescriptor::SetCullMode | ( | CullMode | mode | ) |
Definition at line 253 of file pipeline_descriptor.cc.
Referenced by InternalFlutterGpu_RenderPass_SetCullMode().
| PipelineDescriptor & impeller::PipelineDescriptor::SetDepthPixelFormat | ( | PixelFormat | format | ) |
Definition at line 140 of file pipeline_descriptor.cc.
References format.
Referenced by ClearDepthAttachment(), and impeller::PipelineBuilder< VertexShader_, FragmentShader_ >::InitializePipelineDescriptorDefaults().
| PipelineDescriptor & impeller::PipelineDescriptor::SetDepthStencilAttachmentDescriptor | ( | std::optional< DepthAttachmentDescriptor > | desc | ) |
Definition at line 152 of file pipeline_descriptor.cc.
Referenced by impeller::ContentContextOptions::ApplyToPipelineDescriptor(), and impeller::PipelineBuilder< VertexShader_, FragmentShader_ >::InitializePipelineDescriptorDefaults().
| PipelineDescriptor & impeller::PipelineDescriptor::SetLabel | ( | std::string_view | label | ) |
Definition at line 72 of file pipeline_descriptor.cc.
Referenced by impeller::PipelineBuilder< VertexShader_, FragmentShader_ >::InitializePipelineDescriptorDefaults(), impeller::testing::TEST(), impeller::testing::TEST(), and impeller::testing::TEST_P().
| void impeller::PipelineDescriptor::SetPolygonMode | ( | PolygonMode | mode | ) |
Definition at line 277 of file pipeline_descriptor.cc.
Referenced by impeller::ContentContextOptions::ApplyToPipelineDescriptor(), and InternalFlutterGpu_RenderPass_SetPolygonMode().
| void impeller::PipelineDescriptor::SetPrimitiveType | ( | PrimitiveType | type | ) |
Definition at line 269 of file pipeline_descriptor.cc.
References type.
Referenced by impeller::ContentContextOptions::ApplyToPipelineDescriptor(), InternalFlutterGpu_RenderPass_SetPrimitiveType(), and impeller::testing::TEST().
| PipelineDescriptor & impeller::PipelineDescriptor::SetSampleCount | ( | SampleCount | samples | ) |
Definition at line 77 of file pipeline_descriptor.cc.
Referenced by impeller::ContentContextOptions::ApplyToPipelineDescriptor().
| void impeller::PipelineDescriptor::SetSpecializationConstants | ( | std::vector< Scalar > | values | ) |
Definition at line 285 of file pipeline_descriptor.cc.
| PipelineDescriptor & impeller::PipelineDescriptor::SetStencilAttachmentDescriptors | ( | std::optional< StencilAttachmentDescriptor > | front, |
| std::optional< StencilAttachmentDescriptor > | back | ||
| ) |
Definition at line 163 of file pipeline_descriptor.cc.
| PipelineDescriptor & impeller::PipelineDescriptor::SetStencilAttachmentDescriptors | ( | std::optional< StencilAttachmentDescriptor > | front_and_back | ) |
Definition at line 158 of file pipeline_descriptor.cc.
References SetStencilAttachmentDescriptors().
Referenced by impeller::ContentContextOptions::ApplyToPipelineDescriptor(), impeller::PipelineBuilder< VertexShader_, FragmentShader_ >::InitializePipelineDescriptorDefaults(), SetStencilAttachmentDescriptors(), and impeller::testing::TEST_P().
| PipelineDescriptor & impeller::PipelineDescriptor::SetStencilPixelFormat | ( | PixelFormat | format | ) |
Definition at line 146 of file pipeline_descriptor.cc.
References format.
Referenced by ClearStencilAttachments(), impeller::PipelineBuilder< VertexShader_, FragmentShader_ >::InitializePipelineDescriptorDefaults(), and impeller::testing::TEST_P().
| PipelineDescriptor & impeller::PipelineDescriptor::SetVertexDescriptor | ( | std::shared_ptr< VertexDescriptor > | vertex_descriptor | ) |
Definition at line 97 of file pipeline_descriptor.cc.
Referenced by flutter::gpu::RenderPipeline::BindToPipelineDescriptor(), impeller::PipelineBuilder< VertexShader_, FragmentShader_ >::InitializePipelineDescriptorDefaults(), impeller::testing::TEST(), impeller::testing::TEST(), impeller::testing::TEST(), and impeller::testing::TEST_P().
| void impeller::PipelineDescriptor::SetWindingOrder | ( | WindingOrder | order | ) |
Definition at line 261 of file pipeline_descriptor.cc.
Referenced by InternalFlutterGpu_RenderPass_SetWindingOrder().