Lines Matching refs:ComposeOneFragmentProcessor

138 class ComposeOneFragmentProcessor : public GrFragmentProcessor {  class
145 ComposeOneFragmentProcessor(const GrFragmentProcessor* dst, SkXfermode::Mode mode, Child child) in ComposeOneFragmentProcessor() function in ComposeOneFragmentProcessor
148 this->initClassID<ComposeOneFragmentProcessor>(); in ComposeOneFragmentProcessor()
175 return fMode == that.cast<ComposeOneFragmentProcessor>().fMode; in onIsEqual()
232 SkXfermode::Mode mode = args.fFp.cast<ComposeOneFragmentProcessor>().mode(); in emitCode()
233 ComposeOneFragmentProcessor::Child child = in emitCode()
234 args.fFp.cast<ComposeOneFragmentProcessor>().child(); in emitCode()
248 if (ComposeOneFragmentProcessor::kDst_Child == child) { in emitCode()
261 GR_DEFINE_FRAGMENT_PROCESSOR_TEST(ComposeOneFragmentProcessor);
263 const GrFragmentProcessor* ComposeOneFragmentProcessor::TestCreate(GrProcessorTestData* d) { in TestCreate()
270 ComposeOneFragmentProcessor::Child child = d->fRandom->nextBool() ? in TestCreate()
271 ComposeOneFragmentProcessor::kDst_Child : in TestCreate()
272 ComposeOneFragmentProcessor::kSrc_Child; in TestCreate()
273 return new ComposeOneFragmentProcessor(dst, mode, child); in TestCreate()
276 GrGLSLFragmentProcessor* ComposeOneFragmentProcessor::onCreateGLSLInstance() const { in onCreateGLSLInstance()
291 return new ComposeOneFragmentProcessor(dst, mode, in CreateFromDstProcessor()
292 ComposeOneFragmentProcessor::kDst_Child); in CreateFromDstProcessor()
305 return new ComposeOneFragmentProcessor(src, mode, in CreateFromSrcProcessor()
306 ComposeOneFragmentProcessor::kSrc_Child); in CreateFromSrcProcessor()