8#ifndef skgpu_graphite_PrecompileInternal_DEFINED
9#define skgpu_graphite_PrecompileInternal_DEFINED
31class UniquePaintParamsID;
37 const KeyContext& keyContext,
39 bool withPrimitiveBlender,
51 return fInputs[index].get();
57 fInputs.reset(
inputs.size());
72 int desiredCombination)
const final {
82 void createPipelines(
const KeyContext& keyContext,
92 input->createPipelines(keyContext, gatherer, processCombination);
113 int desiredCombination)
const final {
PaintOptions::ProcessCombination ProcessCombination
virtual void onCreatePipelines(const KeyContext &, PipelineDataGatherer *, const PaintOptionsPriv::ProcessCombination &) const =0
PrecompileImageFilter(SkSpan< sk_sp< PrecompileImageFilter > > inputs)
virtual sk_sp< PrecompileColorFilter > isColorFilterNode() const
const PrecompileImageFilter * getInput(int index) const
virtual void createPipelines(const KeyContext &, PipelineDataGatherer *, const PaintOptionsPriv::ProcessCombination &) const =0
void PrecompileCombinations(Context *context, const PaintOptions &options, const KeyContext &keyContext, DrawTypeFlags drawTypes, bool withPrimitiveBlender, Coverage coverage)