8#ifndef GrBicubicTextureEffect_DEFINED
9#define GrBicubicTextureEffect_DEFINED
26namespace skgpu {
class KeyBuilder; }
42 const char*
name()
const override {
return "Bicubic"; }
44 std::unique_ptr<GrFragmentProcessor>
clone()
const override {
45 return std::unique_ptr<GrFragmentProcessor>(
new GrBicubicEffect(*
this));
102 static std::unique_ptr<GrFragmentProcessor>
Make(std::unique_ptr<GrFragmentProcessor>,
123 std::unique_ptr<ProgramImpl> onMakeProgramImpl()
const override;
#define GR_DECLARE_FRAGMENT_PROCESSOR_TEST
#define INHERITED(method,...)
const char * name() const override
static std::unique_ptr< GrFragmentProcessor > Make(GrSurfaceProxyView view, SkAlphaType, const SkMatrix &, SkCubicResampler, Direction)
static constexpr SkCubicResampler gCatmullRom
static std::unique_ptr< GrFragmentProcessor > MakeSubset(GrSurfaceProxyView view, SkAlphaType, const SkMatrix &, const GrSamplerState::WrapMode wrapX, const GrSamplerState::WrapMode wrapY, const SkRect &subset, SkCubicResampler, Direction, const GrCaps &)
std::unique_ptr< GrFragmentProcessor > clone() const override
static constexpr SkCubicResampler gMitchell
GrFragmentProcessor(ClassID classID, OptimizationFlags optimizationFlags)