• Home
  • Raw
  • Download

Lines Matching refs:fRandom

273     int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx  in TestCreate()
283 kTileModes[d->fRandom->nextULessThan(SK_ARRAY_COUNT(kTileModes))], in TestCreate()
284 kTileModes[d->fRandom->nextULessThan(SK_ARRAY_COUNT(kTileModes))], in TestCreate()
286 GrSamplerParams params(tileModes, d->fRandom->nextBool() ? GrSamplerParams::kBilerp_FilterMode in TestCreate()
290 flags |= d->fRandom->nextBool() ? kSimilarity_DistanceFieldEffectFlag : 0; in TestCreate()
292 flags |= d->fRandom->nextBool() ? kScaleOnly_DistanceFieldEffectFlag : 0; in TestCreate()
295 return GrDistanceFieldA8TextGeoProc::Make(GrRandomColor(d->fRandom), in TestCreate()
296 GrTest::TestMatrix(d->fRandom), in TestCreate()
299 d->fRandom->nextF(), in TestCreate()
302 d->fRandom->nextBool()); in TestCreate()
514 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx in TestCreate()
524 kTileModes[d->fRandom->nextULessThan(SK_ARRAY_COUNT(kTileModes))], in TestCreate()
525 kTileModes[d->fRandom->nextULessThan(SK_ARRAY_COUNT(kTileModes))], in TestCreate()
527 GrSamplerParams params(tileModes, d->fRandom->nextBool() ? GrSamplerParams::kBilerp_FilterMode in TestCreate()
531 flags |= d->fRandom->nextBool() ? kSimilarity_DistanceFieldEffectFlag : 0; in TestCreate()
533 flags |= d->fRandom->nextBool() ? kScaleOnly_DistanceFieldEffectFlag : 0; in TestCreate()
536 return GrDistanceFieldPathGeoProc::Make(GrRandomColor(d->fRandom), in TestCreate()
537 GrTest::TestMatrix(d->fRandom), in TestCreate()
541 d->fRandom->nextBool()); in TestCreate()
814 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx : in TestCreate()
824 kTileModes[d->fRandom->nextULessThan(SK_ARRAY_COUNT(kTileModes))], in TestCreate()
825 kTileModes[d->fRandom->nextULessThan(SK_ARRAY_COUNT(kTileModes))], in TestCreate()
827 GrSamplerParams params(tileModes, d->fRandom->nextBool() ? GrSamplerParams::kBilerp_FilterMode in TestCreate()
831 flags |= d->fRandom->nextBool() ? kSimilarity_DistanceFieldEffectFlag : 0; in TestCreate()
833 flags |= d->fRandom->nextBool() ? kScaleOnly_DistanceFieldEffectFlag : 0; in TestCreate()
835 flags |= d->fRandom->nextBool() ? kBGR_DistanceFieldEffectFlag : 0; in TestCreate()
836 return GrDistanceFieldLCDTextGeoProc::Make(GrRandomColor(d->fRandom), in TestCreate()
837 GrTest::TestMatrix(d->fRandom), in TestCreate()
841 d->fRandom->nextBool()); in TestCreate()