Lines Matching refs:CustomXP
75 class CustomXP : public GrXferProcessor { class
77 CustomXP(SkBlendMode mode, GrBlendEquation hwBlendEquation) in CustomXP() function in CustomXP
82 CustomXP(bool hasMixedSamples, SkBlendMode mode, GrProcessorAnalysisCoverage coverage) in CustomXP() function in CustomXP
124 const CustomXP& xp = p.cast<CustomXP>(); in GenKey()
139 const CustomXP& xp = args.fXP.cast<CustomXP>(); in emitOutputsForBlendState()
159 const CustomXP& xp = proc.cast<CustomXP>(); in emitBlendCodeForDstRead()
176 void CustomXP::onGetGLSLProcessorKey(const GrShaderCaps& caps, GrProcessorKeyBuilder* b) const { in onGetGLSLProcessorKey()
180 GrGLSLXferProcessor* CustomXP::createGLSLInstance() const { in createGLSLInstance()
185 bool CustomXP::onIsEqual(const GrXferProcessor& other) const { in onIsEqual()
186 const CustomXP& s = other.cast<CustomXP>(); in onIsEqual()
190 GrXferBarrierType CustomXP::xferBarrierType(const GrCaps& caps) const { in xferBarrierType()
197 void CustomXP::onGetBlendInfo(BlendInfo* blendInfo) const { in onGetBlendInfo()
253 return sk_sp<GrXferProcessor>(new CustomXP(fMode, fHWBlendEquation)); in makeXferProcessor()
255 return sk_sp<GrXferProcessor>(new CustomXP(hasMixedSamples, fMode, coverage)); in makeXferProcessor()