8#ifndef skgpu_graphite_FactoryFunctions_DEFINED
9#define skgpu_graphite_FactoryFunctions_DEFINED
19class PrecompileBlender;
20class PrecompileColorFilter;
21class PrecompileImageFilter;
22class PrecompileMaskFilter;
23class PrecompileShader;
27namespace PrecompileShaders {
37namespace PrecompileImageFilters {
79namespace PrecompileMaskFilters {
99 std::optional<SkRuntimeEffect::ChildType>
type()
const;
PrecompileShader * shader() const
PrecompileBlender * blender() const
std::optional< SkRuntimeEffect::ChildType > type() const
PrecompileBase * base() const
PrecompileColorFilter * colorFilter() const
PrecompileChildPtr()=default
SK_API sk_sp< PrecompileImageFilter > Blur(sk_sp< PrecompileImageFilter > input)
SK_API sk_sp< PrecompileImageFilter > ColorFilter(sk_sp< PrecompileColorFilter > colorFilter, sk_sp< PrecompileImageFilter > input)
SK_API sk_sp< PrecompileImageFilter > MatrixConvolution(sk_sp< PrecompileImageFilter > input)
SK_API sk_sp< PrecompileImageFilter > DisplacementMap(sk_sp< PrecompileImageFilter > input)
SK_API sk_sp< PrecompileImageFilter > Arithmetic(sk_sp< PrecompileImageFilter > background, sk_sp< PrecompileImageFilter > foreground)
SK_API sk_sp< PrecompileImageFilter > Morphology(sk_sp< PrecompileImageFilter > input)
SK_API sk_sp< PrecompileImageFilter > Lighting(sk_sp< PrecompileImageFilter > input)
SK_API sk_sp< PrecompileImageFilter > Blend(SkBlendMode bm, sk_sp< PrecompileImageFilter > background, sk_sp< PrecompileImageFilter > foreground)
SK_API sk_sp< PrecompileMaskFilter > Blur()
SK_API sk_sp< PrecompileShader > YUVImage()
sk_sp< PrecompileBlender > MakePrecompileBlender(sk_sp< SkRuntimeEffect > effect, SkSpan< const PrecompileChildOptions > childOptions)
sk_sp< PrecompileShader > MakePrecompileShader(sk_sp< SkRuntimeEffect > effect, SkSpan< const PrecompileChildOptions > childOptions)
sk_sp< PrecompileColorFilter > MakePrecompileColorFilter(sk_sp< SkRuntimeEffect > effect, SkSpan< const PrecompileChildOptions > childOptions)