• Home
  • Raw
  • Download

Lines Matching refs:GrXferProcessor

374 class PorterDuffXferProcessor : public GrXferProcessor {
392 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override { in onGetBlendInfo()
399 bool onIsEqual(const GrXferProcessor& xpBase) const override { in onIsEqual()
406 using INHERITED = GrXferProcessor;
447 std::unique_ptr<GrXferProcessor::ProgramImpl> PorterDuffXferProcessor::makeProgramImpl() const { in makeProgramImpl()
477 class ShaderPDXferProcessor : public GrXferProcessor {
491 bool onIsEqual(const GrXferProcessor& xpBase) const override { in onIsEqual()
498 using INHERITED = GrXferProcessor;
508 std::unique_ptr<GrXferProcessor::ProgramImpl> ShaderPDXferProcessor::makeProgramImpl() const { in makeProgramImpl()
518 const GrXferProcessor& proc) override { in makeProgramImpl()
538 class PDLCDXferProcessor : public GrXferProcessor {
540 static sk_sp<const GrXferProcessor> Make(SkBlendMode mode,
552 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override { in onGetBlendInfo()
558 bool onIsEqual(const GrXferProcessor& xpBase) const override { in onIsEqual()
569 using INHERITED = GrXferProcessor;
579 sk_sp<const GrXferProcessor> PDLCDXferProcessor::Make(SkBlendMode mode, in Make()
591 return sk_sp<GrXferProcessor>(new PDLCDXferProcessor(blendConstantPM, alpha)); in Make()
594 std::unique_ptr<GrXferProcessor::ProgramImpl> PDLCDXferProcessor::makeProgramImpl() const { in makeProgramImpl()
615 void onSetData(const GrGLSLProgramDataManager& pdm, const GrXferProcessor& xp) override { in makeProgramImpl()
690 sk_sp<const GrXferProcessor> GrPorterDuffXPFactory::makeXferProcessor( in makeXferProcessor()
722 return sk_sp<const GrXferProcessor>(new ShaderPDXferProcessor(fBlendMode, coverage)); in makeXferProcessor()
724 return sk_sp<const GrXferProcessor>(new PorterDuffXferProcessor(blendFormula, coverage)); in makeXferProcessor()
803 void GrPorterDuffXPFactory::TestGetXPOutputTypes(const GrXferProcessor* xp, in TestGetXPOutputTypes()
818 const GrXferProcessor& GrPorterDuffXPFactory::SimpleSrcOverXP() { in SimpleSrcOverXP()
826 sk_sp<const GrXferProcessor> GrPorterDuffXPFactory::MakeSrcOverXferProcessor( in MakeSrcOverXferProcessor()
837 return sk_sp<GrXferProcessor>(new PorterDuffXferProcessor(blendFormula, coverage)); in MakeSrcOverXferProcessor()
868 return sk_sp<GrXferProcessor>(new ShaderPDXferProcessor(SkBlendMode::kSrcOver, coverage)); in MakeSrcOverXferProcessor()
870 return sk_sp<GrXferProcessor>(new PorterDuffXferProcessor(blendFormula, coverage)); in MakeSrcOverXferProcessor()
873 sk_sp<const GrXferProcessor> GrPorterDuffXPFactory::MakeNoCoverageXP(SkBlendMode blendmode) { in MakeNoCoverageXP()