/external/skia/src/gpu/ops/ |
D | GrFillRectOp.cpp | 504 if (random->nextBool()) { in GR_DRAW_OP_TEST_DEFINE() 507 const GrUserStencilSettings* stencil = random->nextBool() ? nullptr in GR_DRAW_OP_TEST_DEFINE() 511 aaFlags |= random->nextBool() ? GrQuadAAFlags::kLeft : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE() 512 aaFlags |= random->nextBool() ? GrQuadAAFlags::kTop : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE() 513 aaFlags |= random->nextBool() ? GrQuadAAFlags::kRight : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE() 514 aaFlags |= random->nextBool() ? GrQuadAAFlags::kBottom : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE() 516 if (random->nextBool()) { in GR_DRAW_OP_TEST_DEFINE() 517 if (random->nextBool()) { in GR_DRAW_OP_TEST_DEFINE() 518 if (random->nextBool()) { in GR_DRAW_OP_TEST_DEFINE() 527 aaFlags |= random->nextBool() ? GrQuadAAFlags::kLeft : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE() [all …]
|
D | GrTextureOp.cpp | 741 auto origin = random->nextBool() ? kTopLeft_GrSurfaceOrigin : kBottomLeft_GrSurfaceOrigin; in GR_DRAW_OP_TEST_DEFINE() 742 GrMipMapped mipMapped = random->nextBool() ? GrMipMapped::kYes : GrMipMapped::kNo; in GR_DRAW_OP_TEST_DEFINE() 745 fit = random->nextBool() ? SkBackingFit::kApprox : SkBackingFit::kExact; in GR_DRAW_OP_TEST_DEFINE() 772 if (random->nextBool()) { in GR_DRAW_OP_TEST_DEFINE() 776 aaFlags |= random->nextBool() ? GrQuadAAFlags::kLeft : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE() 777 aaFlags |= random->nextBool() ? GrQuadAAFlags::kTop : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE() 778 aaFlags |= random->nextBool() ? GrQuadAAFlags::kRight : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE() 779 aaFlags |= random->nextBool() ? GrQuadAAFlags::kBottom : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE() 780 auto constraint = random->nextBool() ? SkCanvas::kStrict_SrcRectConstraint in GR_DRAW_OP_TEST_DEFINE()
|
D | GrLatticeOp.cpp | 405 random->nextBool() ? kTopLeft_GrSurfaceOrigin : kBottomLeft_GrSurfaceOrigin; in GR_DRAW_OP_TEST_DEFINE() 412 if (random->nextBool()) { in GR_DRAW_OP_TEST_DEFINE() 431 bool hasFlags = random->nextBool(); in GR_DRAW_OP_TEST_DEFINE() 437 flags[i] = random->nextBool() ? SkCanvas::Lattice::kTransparent in GR_DRAW_OP_TEST_DEFINE() 456 random->nextBool() ? GrSamplerState::Filter::kNearest : GrSamplerState::Filter::kBilerp; in GR_DRAW_OP_TEST_DEFINE()
|
/external/skqp/src/gpu/ops/ |
D | GrFillRectOp.cpp | 455 if (random->nextBool()) { in GR_DRAW_OP_TEST_DEFINE() 458 const GrUserStencilSettings* stencil = random->nextBool() ? nullptr in GR_DRAW_OP_TEST_DEFINE() 462 aaFlags |= random->nextBool() ? GrQuadAAFlags::kLeft : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE() 463 aaFlags |= random->nextBool() ? GrQuadAAFlags::kTop : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE() 464 aaFlags |= random->nextBool() ? GrQuadAAFlags::kRight : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE() 465 aaFlags |= random->nextBool() ? GrQuadAAFlags::kBottom : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE() 467 if (random->nextBool()) { in GR_DRAW_OP_TEST_DEFINE() 468 if (random->nextBool()) { in GR_DRAW_OP_TEST_DEFINE() 469 if (random->nextBool()) { in GR_DRAW_OP_TEST_DEFINE() 478 aaFlags |= random->nextBool() ? GrQuadAAFlags::kLeft : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE() [all …]
|
D | GrTextureOp.cpp | 599 auto origin = random->nextBool() ? kTopLeft_GrSurfaceOrigin : kBottomLeft_GrSurfaceOrigin; in GR_DRAW_OP_TEST_DEFINE() 600 GrMipMapped mipMapped = random->nextBool() ? GrMipMapped::kYes : GrMipMapped::kNo; in GR_DRAW_OP_TEST_DEFINE() 603 fit = random->nextBool() ? SkBackingFit::kApprox : SkBackingFit::kExact; in GR_DRAW_OP_TEST_DEFINE() 630 if (random->nextBool()) { in GR_DRAW_OP_TEST_DEFINE() 634 aaFlags |= random->nextBool() ? GrQuadAAFlags::kLeft : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE() 635 aaFlags |= random->nextBool() ? GrQuadAAFlags::kTop : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE() 636 aaFlags |= random->nextBool() ? GrQuadAAFlags::kRight : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE() 637 aaFlags |= random->nextBool() ? GrQuadAAFlags::kBottom : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE() 638 auto constraint = random->nextBool() ? SkCanvas::kStrict_SrcRectConstraint in GR_DRAW_OP_TEST_DEFINE()
|
D | GrLatticeOp.cpp | 399 random->nextBool() ? kTopLeft_GrSurfaceOrigin : kBottomLeft_GrSurfaceOrigin; in GR_DRAW_OP_TEST_DEFINE() 406 if (random->nextBool()) { in GR_DRAW_OP_TEST_DEFINE() 425 bool hasFlags = random->nextBool(); in GR_DRAW_OP_TEST_DEFINE() 431 flags[i] = random->nextBool() ? SkCanvas::Lattice::kTransparent in GR_DRAW_OP_TEST_DEFINE() 450 random->nextBool() ? GrSamplerState::Filter::kNearest : GrSamplerState::Filter::kBilerp; in GR_DRAW_OP_TEST_DEFINE()
|
/external/skia/src/gpu/effects/ |
D | GrDistanceFieldGeoProc.cpp | 284 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx in TestCreate() 295 GrSamplerState samplerState(wrapModes, d->fRandom->nextBool() in TestCreate() 300 flags |= d->fRandom->nextBool() ? kSimilarity_DistanceFieldEffectFlag : 0; in TestCreate() 302 flags |= d->fRandom->nextBool() ? kScaleOnly_DistanceFieldEffectFlag : 0; in TestCreate() 579 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx in TestCreate() 590 GrSamplerState samplerState(wrapModes, d->fRandom->nextBool() in TestCreate() 595 flags |= d->fRandom->nextBool() ? kSimilarity_DistanceFieldEffectFlag : 0; in TestCreate() 597 flags |= d->fRandom->nextBool() ? kScaleOnly_DistanceFieldEffectFlag : 0; in TestCreate() 602 d->fRandom->nextBool(), in TestCreate() 900 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx : in TestCreate() [all …]
|
D | GrBitmapTextGeoProc.cpp | 198 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx in TestCreate() 209 GrSamplerState samplerState(wrapModes, d->fRandom->nextBool() in TestCreate() 228 d->fRandom->nextBool(), in TestCreate() 230 GrTest::TestMatrix(d->fRandom), d->fRandom->nextBool()); in TestCreate()
|
D | GrSimpleTextureEffect.cpp | 70 int texIdx = testData->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx in TestCreate() 81 GrSamplerState params(wrapModes, testData->fRandom->nextBool() in TestCreate()
|
D | GrSimpleTextureEffect.fp | 59 int texIdx = testData->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx 70 GrSamplerState params(wrapModes, testData->fRandom->nextBool()
|
/external/skqp/src/gpu/effects/ |
D | GrDistanceFieldGeoProc.cpp | 284 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx in TestCreate() 295 GrSamplerState samplerState(wrapModes, d->fRandom->nextBool() in TestCreate() 300 flags |= d->fRandom->nextBool() ? kSimilarity_DistanceFieldEffectFlag : 0; in TestCreate() 302 flags |= d->fRandom->nextBool() ? kScaleOnly_DistanceFieldEffectFlag : 0; in TestCreate() 579 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx in TestCreate() 590 GrSamplerState samplerState(wrapModes, d->fRandom->nextBool() in TestCreate() 595 flags |= d->fRandom->nextBool() ? kSimilarity_DistanceFieldEffectFlag : 0; in TestCreate() 597 flags |= d->fRandom->nextBool() ? kScaleOnly_DistanceFieldEffectFlag : 0; in TestCreate() 602 d->fRandom->nextBool(), in TestCreate() 899 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx : in TestCreate() [all …]
|
D | GrBitmapTextGeoProc.cpp | 199 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx in TestCreate() 210 GrSamplerState samplerState(wrapModes, d->fRandom->nextBool() in TestCreate() 229 d->fRandom->nextBool(), in TestCreate() 231 GrTest::TestMatrix(d->fRandom), d->fRandom->nextBool()); in TestCreate()
|
D | GrSimpleTextureEffect.cpp | 70 int texIdx = testData->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx in TestCreate() 81 GrSamplerState params(wrapModes, testData->fRandom->nextBool() in TestCreate()
|
D | GrSimpleTextureEffect.fp | 59 int texIdx = testData->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx 70 GrSamplerState params(wrapModes, testData->fRandom->nextBool()
|
/external/skia/src/gpu/ |
D | GrDefaultGeoProcFactory.cpp | 280 if (d->fRandom->nextBool()) { in TestCreate() 283 if (d->fRandom->nextBool()) { in TestCreate() 286 if (d->fRandom->nextBool()) { in TestCreate() 289 if (d->fRandom->nextBool()) { in TestCreate() 291 if (d->fRandom->nextBool()) { in TestCreate() 295 if (d->fRandom->nextBool()) { in TestCreate() 305 d->fRandom->nextBool(), in TestCreate()
|
/external/skqp/src/gpu/ |
D | GrDefaultGeoProcFactory.cpp | 406 if (d->fRandom->nextBool()) { in TestCreate() 409 if (d->fRandom->nextBool()) { in TestCreate() 412 if (d->fRandom->nextBool()) { in TestCreate() 415 if (d->fRandom->nextBool()) { in TestCreate() 417 if (d->fRandom->nextBool()) { in TestCreate() 421 if (d->fRandom->nextBool()) { in TestCreate() 424 if (d->fRandom->nextBool()) { in TestCreate() 434 d->fRandom->nextBool(), in TestCreate()
|
D | GrTestUtils.cpp | 241 bool strokeAndFill = random->nextBool(); in randomize_stroke_rec() 242 SkScalar strokeWidth = random->nextBool() ? 0.f : 1.f; in randomize_stroke_rec() 265 if (random->nextBool()) { in TestStyle()
|
/external/skqp/src/gpu/text/ |
D | GrTextContext.cpp | 231 if (random->nextBool()) { in GR_DRAW_OP_TEST_DEFINE() 234 font.setEdging(random->nextBool() ? SkFont::Edging::kAntiAlias : SkFont::Edging::kAlias); in GR_DRAW_OP_TEST_DEFINE() 236 font.setSubpixel(random->nextBool()); in GR_DRAW_OP_TEST_DEFINE()
|
/external/skqp/tools/ |
D | random_parse_path.cpp | 53 if (rand->nextBool()) { in add_comma() 73 char symbol = legal.fSymbol | (rand->nextBool() ? 0x20 : 0); in MakeRandomParsePathPiece()
|
/external/skia/tools/ |
D | random_parse_path.cpp | 53 if (rand->nextBool()) { in add_comma() 73 char symbol = legal.fSymbol | (rand->nextBool() ? 0x20 : 0); in MakeRandomParsePathPiece()
|
/external/skia/src/gpu/text/ |
D | GrTextContext.cpp | 248 if (random->nextBool()) { in GR_DRAW_OP_TEST_DEFINE() 251 font.setEdging(random->nextBool() ? SkFont::Edging::kAntiAlias : SkFont::Edging::kAlias); in GR_DRAW_OP_TEST_DEFINE() 253 font.setSubpixel(random->nextBool()); in GR_DRAW_OP_TEST_DEFINE()
|
/external/skia/tests/ |
D | PathOpsTightBoundsTest.cpp | 25 if (ran.nextBool()) { in testTightBoundsLines() 68 if (ran.nextBool()) { in testTightBoundsQuads() 75 if (ran.nextBool()) { in testTightBoundsQuads()
|
/external/skqp/tests/ |
D | PathOpsTightBoundsTest.cpp | 25 if (ran.nextBool()) { in testTightBoundsLines() 68 if (ran.nextBool()) { in testTightBoundsQuads() 75 if (ran.nextBool()) { in testTightBoundsQuads()
|
/external/skqp/gm/ |
D | atlastext.cpp | 122 if (random.nextBool()) { in drawText() 132 if (random.nextBool()) { in drawText()
|
/external/skia/gm/ |
D | atlastext.cpp | 123 if (random.nextBool()) { in drawText() 133 if (random.nextBool()) { in drawText()
|