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

#include <PrecompileShaderPriv.h>

Public Member Functions

bool isConstant (int desiredCombination) const
 
bool isALocalMatrixShader () const
 
int numChildCombinations () const
 
int numCombinations () const
 
void addToKey (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, int desiredCombination) const
 

Friends

class PrecompileShader
 

Detailed Description

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

Definition at line 18 of file PrecompileShaderPriv.h.

Member Function Documentation

◆ addToKey()

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

Definition at line 33 of file PrecompileShaderPriv.h.

36 {
37 fPrecompileShader->addToKey(keyContext, builder, gatherer, desiredCombination);
38 }
virtual void addToKey(const KeyContext &, PaintParamsKeyBuilder *, PipelineDataGatherer *, int desiredCombination) const =0

◆ isALocalMatrixShader()

bool skgpu::graphite::PrecompileShaderPriv::isALocalMatrixShader ( ) const
inline

Definition at line 24 of file PrecompileShaderPriv.h.

24 {
25 return fPrecompileShader->isALocalMatrixShader();
26 }
virtual bool isALocalMatrixShader() const

◆ isConstant()

bool skgpu::graphite::PrecompileShaderPriv::isConstant ( int  desiredCombination) const
inline

Definition at line 20 of file PrecompileShaderPriv.h.

20 {
21 return fPrecompileShader->isConstant(desiredCombination);
22 }
virtual bool isConstant(int) const

◆ numChildCombinations()

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

Definition at line 29 of file PrecompileShaderPriv.h.

29{ return fPrecompileShader->numChildCombinations(); }
virtual int numChildCombinations() const

◆ numCombinations()

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

Definition at line 31 of file PrecompileShaderPriv.h.

31{ return fPrecompileShader->numCombinations(); }

Friends And Related Function Documentation

◆ PrecompileShader

friend class PrecompileShader
friend

Definition at line 41 of file PrecompileShaderPriv.h.


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