• Home
  • Raw
  • Download

Lines Matching refs:GrFragmentProcessor

28 class CircularRRectEffect : public GrFragmentProcessor {
49 static GrFPResult Make(std::unique_ptr<GrFragmentProcessor>, GrClipEdgeType,
56 std::unique_ptr<GrFragmentProcessor> clone() const override;
61 CircularRRectEffect(std::unique_ptr<GrFragmentProcessor> inputFP,
69 bool onIsEqual(const GrFragmentProcessor& other) const override;
77 using INHERITED = GrFragmentProcessor;
81 GrFPResult CircularRRectEffect::Make(std::unique_ptr<GrFragmentProcessor> inputFP, in Make()
87 return GrFPSuccess(std::unique_ptr<GrFragmentProcessor>( in Make()
91 CircularRRectEffect::CircularRRectEffect(std::unique_ptr<GrFragmentProcessor> inputFP, in CircularRRectEffect()
110 std::unique_ptr<GrFragmentProcessor> CircularRRectEffect::clone() const { in clone()
111 return std::unique_ptr<GrFragmentProcessor>(new CircularRRectEffect(*this)); in clone()
114 bool CircularRRectEffect::onIsEqual(const GrFragmentProcessor& other) const { in onIsEqual()
125 std::unique_ptr<GrFragmentProcessor> CircularRRectEffect::TestCreate(GrProcessorTestData* d) { in GR_DEFINE_FRAGMENT_PROCESSOR_TEST()
131 std::unique_ptr<GrFragmentProcessor> fp = d->inputFP(); in GR_DEFINE_FRAGMENT_PROCESSOR_TEST()
150 void onSetData(const GrGLSLProgramDataManager&, const GrFragmentProcessor&) override;
295 const GrFragmentProcessor& processor) { in onSetData()
381 std::unique_ptr<GrFragmentProcessor::ProgramImpl> CircularRRectEffect::onMakeProgramImpl() const { in onMakeProgramImpl()
388 class EllipticalRRectEffect : public GrFragmentProcessor {
390 static GrFPResult Make(std::unique_ptr<GrFragmentProcessor>, GrClipEdgeType, const SkRRect&);
396 std::unique_ptr<GrFragmentProcessor> clone() const override;
401 EllipticalRRectEffect(std::unique_ptr<GrFragmentProcessor>, GrClipEdgeType, const SkRRect&);
408 bool onIsEqual(const GrFragmentProcessor& other) const override;
415 using INHERITED = GrFragmentProcessor;
418 GrFPResult EllipticalRRectEffect::Make(std::unique_ptr<GrFragmentProcessor> inputFP, in Make()
424 return GrFPSuccess(std::unique_ptr<GrFragmentProcessor>( in Make()
428 EllipticalRRectEffect::EllipticalRRectEffect(std::unique_ptr<GrFragmentProcessor> inputFP, in EllipticalRRectEffect()
444 std::unique_ptr<GrFragmentProcessor> EllipticalRRectEffect::clone() const { in clone()
445 return std::unique_ptr<GrFragmentProcessor>(new EllipticalRRectEffect(*this)); in clone()
448 bool EllipticalRRectEffect::onIsEqual(const GrFragmentProcessor& other) const { in onIsEqual()
459 std::unique_ptr<GrFragmentProcessor> EllipticalRRectEffect::TestCreate(GrProcessorTestData* d) { in GR_DEFINE_FRAGMENT_PROCESSOR_TEST()
486 std::unique_ptr<GrFragmentProcessor> fp = d->inputFP(); in GR_DEFINE_FRAGMENT_PROCESSOR_TEST()
519 void onSetData(const GrGLSLProgramDataManager&, const GrFragmentProcessor&) override;
621 const GrFragmentProcessor& effect) { in onSetData()
689 std::unique_ptr<GrFragmentProcessor::ProgramImpl> EllipticalRRectEffect::onMakeProgramImpl() const { in onMakeProgramImpl()
695 GrFPResult GrRRectEffect::Make(std::unique_ptr<GrFragmentProcessor> inputFP, in Make()
699 auto fp = GrFragmentProcessor::Rect(std::move(inputFP), edgeType, rrect.getBounds()); in Make()
712 auto fp = GrFragmentProcessor::Rect(std::move(inputFP), edgeType, rrect.getBounds()); in Make()
780 GrFragmentProcessor::Rect(std::move(inputFP), edgeType, rrect.getBounds()); in Make()