Lines Matching defs:fp
106 static GrFragmentProcessor* Create(const GrFragmentProcessor* fp) {
107 return new BlockInputFragmentProcessor(fp);
199 const GrFragmentProcessor* fp;
201 fp = GrProcessorTestFactory<GrFragmentProcessor>::Create(d);
202 SkASSERT(fp);
203 if (0 == fp->numChildProcessors()) {
206 fp->unref();
208 return fp;
223 const GrFragmentProcessor* fp;
225 fp = GrXfermodeFragmentProcessor::CreateFromTwoProcessors(minLevelsChild, otherChild, mode);
226 SkASSERT(fp);
228 fp = GrXfermodeFragmentProcessor::CreateFromTwoProcessors(otherChild, minLevelsChild, mode);
229 SkASSERT(fp);
231 return fp;
242 SkAutoTUnref<const GrFragmentProcessor> fp(
244 pipelineBuilder->addColorFragmentProcessor(fp);
250 SkAutoTUnref<const GrFragmentProcessor> fp(
252 SkASSERT(fp);
256 pipelineBuilder->addColorFragmentProcessor(fp);
258 pipelineBuilder->addCoverageFragmentProcessor(fp);
379 // Since FP factories internally randomize, call each 10 times.
389 SkAutoTUnref<const GrFragmentProcessor> fp(
392 BlockInputFragmentProcessor::Create(fp));