Lines Matching defs:GrBicubicEffect
8 #include "src/gpu/effects/GrBicubicEffect.h"
19 class GrBicubicEffect::Impl : public ProgramImpl {
30 void GrBicubicEffect::Impl::emitCode(EmitArgs& args) {
31 const GrBicubicEffect& bicubicEffect = args.fFp.cast<GrBicubicEffect>();
43 if (bicubicEffect.fDirection == GrBicubicEffect::Direction::kXY) {
104 void GrBicubicEffect::Impl::onSetData(const GrGLSLProgramDataManager& pdm,
106 auto& bicubicEffect = fp.cast<GrBicubicEffect>();
114 std::unique_ptr<GrFragmentProcessor> GrBicubicEffect::Make(GrSurfaceProxyView view,
122 new GrBicubicEffect(std::move(fp), kernel, direction, clamp)));
125 std::unique_ptr<GrFragmentProcessor> GrBicubicEffect::Make(GrSurfaceProxyView view,
138 new GrBicubicEffect(std::move(fp), kernel, direction, clamp)));
141 std::unique_ptr<GrFragmentProcessor> GrBicubicEffect::MakeSubset(
157 new GrBicubicEffect(std::move(fp), kernel, direction, clamp)));
160 std::unique_ptr<GrFragmentProcessor> GrBicubicEffect::MakeSubset(
185 new GrBicubicEffect(std::move(fp), kernel, direction, clamp)));
188 std::unique_ptr<GrFragmentProcessor> GrBicubicEffect::Make(std::unique_ptr<GrFragmentProcessor> fp,
195 new GrBicubicEffect(std::move(fp), kernel, direction, clamp)));
198 GrBicubicEffect::GrBicubicEffect(std::unique_ptr<GrFragmentProcessor> fp,
210 GrBicubicEffect::GrBicubicEffect(const GrBicubicEffect& that)
216 SkString GrBicubicEffect::getShaderDfxInfo() const
223 void GrBicubicEffect::onAddToKey(const GrShaderCaps& caps, GrProcessorKeyBuilder* b) const {
228 std::unique_ptr<GrFragmentProcessor::ProgramImpl> GrBicubicEffect::onMakeProgramImpl() const {
232 bool GrBicubicEffect::onIsEqual(const GrFragmentProcessor& other) const {
233 const auto& that = other.cast<GrBicubicEffect>();
240 SkPMColor4f GrBicubicEffect::constantOutputForConstantInput(const SkPMColor4f& input) const {
244 GR_DEFINE_FRAGMENT_PROCESSOR_TEST(GrBicubicEffect);
247 std::unique_ptr<GrFragmentProcessor> GrBicubicEffect::TestCreate(GrProcessorTestData* d) {
260 auto kernel = d->fRandom->nextBool() ? GrBicubicEffect::gMitchell
261 : GrBicubicEffect::gCatmullRom;