Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
skgpu::graphite::PrecompileDisplacementShader Class Referencefinal
Inheritance diagram for skgpu::graphite::PrecompileDisplacementShader:
skgpu::graphite::PrecompileShader skgpu::graphite::PrecompileBase SkRefCnt SkRefCntBase

Public Member Functions

 PrecompileDisplacementShader (sk_sp< PrecompileShader > displacement, sk_sp< PrecompileShader > color)
 
- Public Member Functions inherited from skgpu::graphite::PrecompileShader
sk_sp< PrecompileShadermakeWithLocalMatrix ()
 
sk_sp< PrecompileShadermakeWithColorFilter (sk_sp< PrecompileColorFilter >)
 
sk_sp< PrecompileShadermakeWithWorkingColorSpace (sk_sp< SkColorSpace >)
 
PrecompileShaderPriv priv ()
 
const PrecompileShaderPriv priv () const
 
- Public Member Functions inherited from skgpu::graphite::PrecompileBase
Type type () const
 
PrecompileBasePriv priv ()
 
const PrecompileBasePriv priv () const
 
- Public Member Functions inherited from SkRefCntBase
 SkRefCntBase ()
 
virtual ~SkRefCntBase ()
 
bool unique () const
 
void ref () const
 
void unref () const
 

Additional Inherited Members

- Public Types inherited from skgpu::graphite::PrecompileBase
enum class  Type {
  kBlender , kColorFilter , kImageFilter , kMaskFilter ,
  kShader
}
 
- Protected Member Functions inherited from skgpu::graphite::PrecompileShader
 PrecompileShader ()
 
 ~PrecompileShader () override
 
virtual bool isConstant (int) const
 
virtual bool isALocalMatrixShader () const
 
- Protected Member Functions inherited from skgpu::graphite::PrecompileBase
 PrecompileBase (Type type)
 
virtual int numIntrinsicCombinations () const
 
virtual int numChildCombinations () const
 
int numCombinations () const
 
virtual void addToKey (const KeyContext &, PaintParamsKeyBuilder *, PipelineDataGatherer *, int desiredCombination) const =0
 
- Static Protected Member Functions inherited from skgpu::graphite::PrecompileBase
template<typename T >
static std::pair< sk_sp< T >, intSelectOption (SkSpan< const sk_sp< T > > options, int desiredOption)
 
template<typename T >
static void AddToKey (const KeyContext &, PaintParamsKeyBuilder *, PipelineDataGatherer *, SkSpan< const sk_sp< T > > options, int desiredOption)
 

Detailed Description

Definition at line 1011 of file PrecompileShader.cpp.

Constructor & Destructor Documentation

◆ PrecompileDisplacementShader()

skgpu::graphite::PrecompileDisplacementShader::PrecompileDisplacementShader ( sk_sp< PrecompileShader displacement,
sk_sp< PrecompileShader color 
)
inline

Definition at line 1013 of file PrecompileShader.cpp.

1015 : fDisplacement(std::move(displacement))
1016 , fColor(std::move(color)) {
1017 fNumDisplacementCombos = fDisplacement->priv().numCombinations();
1018 fNumColorCombos = fColor->priv().numCombinations();
1019 }
DlColor color

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