24 std::optional<SkBlendMode>
asBlendMode() const final {
return fBlendMode; }
29 int desiredCombination)
const final {
40 return sk_make_sp<PrecompileBlendModeBlender>(blendMode);
sk_sp< T > sk_ref_sp(T *obj)
std::optional< SkBlendMode > asBlendMode() const final
PrecompileBlendModeBlender(SkBlendMode blendMode)
void addToKey(const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, int desiredCombination) const final
~PrecompileBlender() override
const SkRuntimeEffect * GetKnownRuntimeEffect(StableKey stableKey)
SK_API sk_sp< PrecompileBlender > Arithmetic()
SK_API sk_sp< PrecompileBlender > Mode(SkBlendMode)
sk_sp< PrecompileBlender > MakePrecompileBlender(sk_sp< SkRuntimeEffect > effect, SkSpan< const PrecompileChildOptions > childOptions)
void AddModeBlend(const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, SkBlendMode bm)