Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
skgpu::graphite::VelloFineAreaAlpha8Step Class Referencefinal

#include <VelloComputeSteps.h>

Inheritance diagram for skgpu::graphite::VelloFineAreaAlpha8Step:
skgpu::graphite::VelloFineStepBase< vello_cpp::ShaderStage::FineAreaR8, kAlpha_8_SkColorType > skgpu::graphite::VelloStep< S > skgpu::graphite::ComputeStep

Public Member Functions

 VelloFineAreaAlpha8Step ()
 
- Public Member Functions inherited from skgpu::graphite::VelloFineStepBase< vello_cpp::ShaderStage::FineAreaR8, kAlpha_8_SkColorType >
std::tuple< SkISize, SkColorTypecalculateTextureParameters (int index, const ComputeStep::ResourceDesc &) const override
 
- Public Member Functions inherited from skgpu::graphite::VelloStep< S >
 ~VelloStep () override=default
 
NativeShaderSource nativeShaderSource (NativeShaderFormat format) const override
 
- Public Member Functions inherited from skgpu::graphite::ComputeStep
virtual ~ComputeStep ()=default
 
virtual std::string computeSkSL () const
 
virtual NativeShaderSource nativeShaderSource (NativeShaderFormat) const
 
virtual size_t calculateBufferSize (int resourceIndex, const ResourceDesc &) const
 
virtual std::tuple< SkISize, SkColorTypecalculateTextureParameters (int resourceIndex, const ResourceDesc &) const
 
virtual SamplerDesc calculateSamplerParameters (int resourceIndex, const ResourceDesc &) const
 
virtual WorkgroupSize calculateGlobalDispatchSize () const
 
virtual void prepareStorageBuffer (int resourceIndex, const ResourceDesc &resource, void *buffer, size_t bufferSize) const
 
virtual void prepareUniformBuffer (int resourceIndex, const ResourceDesc &, UniformManager *) const
 
SkSpan< const ResourceDescresources () const
 
SkSpan< const WorkgroupBufferDescworkgroupBuffers () const
 
uint32_t uniqueID () const
 
const char * name () const
 
WorkgroupSize localDispatchSize () const
 
bool supportsNativeShader () const
 

Additional Inherited Members

- Public Types inherited from skgpu::graphite::ComputeStep
enum class  DataFlow { kPrivate , kShared }
 
enum class  ResourceType {
  kUniformBuffer , kStorageBuffer , kReadOnlyStorageBuffer , kIndirectBuffer ,
  kWriteOnlyStorageTexture , kReadOnlyTexture , kSampledTexture
}
 
enum class  ResourcePolicy { kNone , kClear , kMapped }
 
enum class  NativeShaderFormat { kWGSL , kMSL }
 
- Protected Types inherited from skgpu::graphite::ComputeStep
enum class  Flags : uint8_t { kNone = 0b00000 , kSupportsNativeShader = 0b00010 }
 
- Protected Member Functions inherited from skgpu::graphite::VelloFineStepBase< vello_cpp::ShaderStage::FineAreaR8, kAlpha_8_SkColorType >
 VelloFineStepBase (SkSpan< const ComputeStep::ResourceDesc > resources)
 
- Protected Member Functions inherited from skgpu::graphite::VelloStep< S >
 VelloStep (SkSpan< const ResourceDesc > resources)
 
- Protected Member Functions inherited from skgpu::graphite::ComputeStep
 ComputeStep (std::string_view name, WorkgroupSize localDispatchSize, SkSpan< const ResourceDesc > resources, SkSpan< const WorkgroupBufferDesc > workgroupBuffers={}, Flags baseFlags=Flags::kNone)
 

Detailed Description

Definition at line 301 of file VelloComputeSteps.h.

Constructor & Destructor Documentation

◆ VelloFineAreaAlpha8Step()

skgpu::graphite::VelloFineAreaAlpha8Step::VelloFineAreaAlpha8Step ( )

Definition at line 286 of file VelloComputeSteps.cpp.

static constexpr ComputeStep::ResourceDesc kFineAreaResources[]

The documentation for this class was generated from the following files: