8#ifndef GrGrModulateAtlasCoverageEffect_DEFINED
9#define GrGrModulateAtlasCoverageEffect_DEFINED
19namespace skgpu {
class KeyBuilder; }
27 kInvertCoverage = 1 << 0,
39 const char*
name()
const override {
40 return "GrModulateAtlasCoverageFP";
43 std::unique_ptr<GrFragmentProcessor>
clone()
const override {
44 return std::make_unique<GrModulateAtlasCoverageEffect>(*
this);
52 return fFlags ==
fp.fFlags && fBounds ==
fp.fBounds;
54 std::unique_ptr<ProgramImpl> onMakeProgramImpl()
const override;
#define GR_MAKE_BITFIELD_CLASS_OPS(X)
std::unique_ptr< GrFragmentProcessor > clone() const override
GR_DECL_BITFIELD_CLASS_OPS_FRIENDS(Flags)
const char * name() const override
GrModulateAtlasCoverageEffect(Flags flags, std::unique_ptr< GrFragmentProcessor > inputFP, GrSurfaceProxyView atlasView, const SkMatrix &devToAtlasMatrix, const SkIRect &devIBounds)
FlutterSemanticsFlag flags