Flutter Engine
The Flutter Engine
Public Member Functions | Friends | List of all members
skgpu::graphite::PrecompileBlenderPriv Class Reference

#include <PrecompileBlenderPriv.h>

Public Member Functions

std::optional< SkBlendModeasBlendMode () const
 
int numChildCombinations () const
 
int numCombinations () const
 
void addToKey (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, int desiredCombination) const
 

Friends

class PrecompileBlender
 

Detailed Description

Class that exposes methods in PrecompileBlender that are only intended for use internal to Skia. This class is purely a privileged window into PrecompileBlender. It should never have additional data members or virtual methods.

Definition at line 18 of file PrecompileBlenderPriv.h.

Member Function Documentation

◆ addToKey()

void skgpu::graphite::PrecompileBlenderPriv::addToKey ( const KeyContext keyContext,
PaintParamsKeyBuilder builder,
PipelineDataGatherer gatherer,
int  desiredCombination 
) const
inline

Definition at line 27 of file PrecompileBlenderPriv.h.

30 {
31 fPrecompileBlender->addToKey(keyContext, builder, gatherer, desiredCombination);
32 }
virtual void addToKey(const KeyContext &, PaintParamsKeyBuilder *, PipelineDataGatherer *, int desiredCombination) const =0

◆ asBlendMode()

std::optional< SkBlendMode > skgpu::graphite::PrecompileBlenderPriv::asBlendMode ( ) const
inline

Definition at line 20 of file PrecompileBlenderPriv.h.

20{ return fPrecompileBlender->asBlendMode(); }
virtual std::optional< SkBlendMode > asBlendMode() const

◆ numChildCombinations()

int skgpu::graphite::PrecompileBlenderPriv::numChildCombinations ( ) const
inline

Definition at line 23 of file PrecompileBlenderPriv.h.

23{ return fPrecompileBlender->numChildCombinations(); }
virtual int numChildCombinations() const

◆ numCombinations()

int skgpu::graphite::PrecompileBlenderPriv::numCombinations ( ) const
inline

Definition at line 25 of file PrecompileBlenderPriv.h.

25{ return fPrecompileBlender->numCombinations(); }

Friends And Related Function Documentation

◆ PrecompileBlender

friend class PrecompileBlender
friend

Definition at line 35 of file PrecompileBlenderPriv.h.


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