Flutter Engine
The Flutter Engine
|
#include <Precompile.h>
Public Types | |
enum class | Type { kBlender , kColorFilter , kImageFilter , kMaskFilter , kShader } |
Public Member Functions | |
PrecompileBase (Type type) | |
Type | type () const |
virtual int | numIntrinsicCombinations () const |
virtual int | numChildCombinations () const |
int | numCombinations () 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 |
Static Protected Member Functions | |
template<typename T > | |
static std::pair< sk_sp< T >, int > | SelectOption (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) |
Private Member Functions | |
virtual bool | isALocalMatrixShader () const |
virtual void | addToKey (const KeyContext &, PaintParamsKeyBuilder *, PipelineDataGatherer *, int desiredCombination) const =0 |
Friends | |
class | PaintOptions |
class | PrecompileBasePriv |
Definition at line 40 of file Precompile.h.
|
strong |
Enumerator | |
---|---|
kBlender | |
kColorFilter | |
kImageFilter | |
kMaskFilter | |
kShader |
Definition at line 42 of file Precompile.h.
|
inline |
Definition at line 51 of file Precompile.h.
|
privatepure virtual |
Implemented in skgpu::graphite::PrecompileBlendModeBlender, skgpu::graphite::PrecompileEmptyShader, skgpu::graphite::PrecompilePerlinNoiseShader, skgpu::graphite::PrecompileColorShader, skgpu::graphite::PrecompileBlendShader, skgpu::graphite::PrecompileCoordClampShader, skgpu::graphite::PrecompileImageShader, skgpu::graphite::PrecompileYUVImageShader, skgpu::graphite::PrecompileGradientShader, skgpu::graphite::PrecompileLocalMatrixShader, skgpu::graphite::PrecompileColorFilterShader, skgpu::graphite::PrecompileWorkingColorSpaceShader, skgpu::graphite::PrecompileCTMShader, skgpu::graphite::PrecompileBlurShader, skgpu::graphite::PrecompileBlurMaskFilter, skgpu::graphite::PrecompileBlendModeColorFilter, skgpu::graphite::PrecompileColorSpaceXformColorFilter, skgpu::graphite::PrecompileComposeColorFilter, skgpu::graphite::PrecompileGaussianColorFilter, skgpu::graphite::PrecompileMatrixColorFilter, skgpu::graphite::PrecompileTableColorFilter, and skgpu::graphite::PrecompileWithWorkingFormatColorFilter.
|
staticprotected |
Definition at line 111 of file Precompile.h.
|
inlineprivatevirtual |
Reimplemented in skgpu::graphite::PrecompileLocalMatrixShader.
Definition at line 86 of file Precompile.h.
|
inlinevirtual |
Reimplemented in skgpu::graphite::PrecompileBlendShader, skgpu::graphite::PrecompileCoordClampShader, skgpu::graphite::PrecompileLocalMatrixShader, skgpu::graphite::PrecompileColorFilterShader, skgpu::graphite::PrecompileWorkingColorSpaceShader, skgpu::graphite::PrecompileCTMShader, skgpu::graphite::PrecompileBlurShader, skgpu::graphite::PrecompileComposeColorFilter, and skgpu::graphite::PrecompileWithWorkingFormatColorFilter.
Definition at line 58 of file Precompile.h.
|
inline |
Definition at line 60 of file Precompile.h.
|
inlinevirtual |
Reimplemented in skgpu::graphite::PrecompileImageShader, skgpu::graphite::PrecompileYUVImageShader, skgpu::graphite::PrecompileGradientShader, skgpu::graphite::PrecompileLocalMatrixShader, and skgpu::graphite::PrecompileBlurShader.
Definition at line 57 of file Precompile.h.
|
inline |
Definition at line 47 of file PrecompileBasePriv.h.
|
inline |
Definition at line 50 of file PrecompileBasePriv.h.
|
staticprotected |
Definition at line 99 of file Precompile.h.
|
inline |
Definition at line 53 of file Precompile.h.
|
friend |
Definition at line 83 of file Precompile.h.
|
friend |
Definition at line 84 of file Precompile.h.