8#ifndef skgpu_graphite_PaintParams_DEFINED
9#define skgpu_graphite_PaintParams_DEFINED
23class PaintParamsKeyBuilder;
24class PipelineDataGatherer;
64 bool dither()
const {
return fDither; }
bool skipColorXform() const
PaintParams & operator=(const PaintParams &)
sk_sp< SkBlender > refFinalBlender() const
sk_sp< SkBlender > refPrimitiveBlender() const
SkBlender * finalBlender() const
DstReadRequirement dstReadRequirement() const
void toKey(const KeyContext &, PaintParamsKeyBuilder *, PipelineDataGatherer *) const
PaintParams(const SkPaint &, sk_sp< SkBlender > primitiveBlender, sk_sp< SkShader > clipShader, DstReadRequirement dstReadReq, bool skipColorXform)
std::optional< SkBlendMode > asFinalBlendMode() const
static SkColor4f Color4fPrepForDst(SkColor4f srgb, const SkColorInfo &dstColorInfo)
sk_sp< SkColorFilter > refColorFilter() const
SkBlender * primitiveBlender() const
void notifyImagesInUse(Recorder *, DrawContext *) const
SkColorFilter * colorFilter() const
sk_sp< SkShader > refShader() const
PaintParams(const PaintParams &)
SkShader * shader() const
Dart_NativeFunction function
std::function< void()> AddToKeyFn
void AddKnownModeBlend(const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, SkBlendMode bm)
void Compose(const KeyContext &keyContext, PaintParamsKeyBuilder *keyBuilder, PipelineDataGatherer *gatherer, AddToKeyFn addInnerToKey, AddToKeyFn addOuterToKey)
void AddDitherBlock(const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, SkColorType ct)
void AddDstReadBlock(const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, DstReadRequirement dstReadReq)
void Blend(const KeyContext &keyContext, PaintParamsKeyBuilder *keyBuilder, PipelineDataGatherer *gatherer, AddToKeyFn addBlendToKey, AddToKeyFn addSrcToKey, AddToKeyFn addDstToKey)
void AddModeBlend(const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, SkBlendMode bm)