/external/skia/src/gpu/effects/ |
D | GrDistanceFieldGeoProc.cpp | 243 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx : in TestCreate() 254 GrTextureParams params(tileModes, d->fRandom->nextBool() ? GrTextureParams::kBilerp_FilterMode : in TestCreate() 263 d->fRandom->nextBool() ? in TestCreate() 265 d->fRandom->nextBool()); in TestCreate() 453 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx in TestCreate() 464 GrTextureParams params(tileModes, d->fRandom->nextBool() ? GrTextureParams::kBilerp_FilterMode in TestCreate() 471 d->fRandom->nextBool() ? in TestCreate() 473 d->fRandom->nextBool()); in TestCreate() 725 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx : in TestCreate() 736 GrTextureParams params(tileModes, d->fRandom->nextBool() ? GrTextureParams::kBilerp_FilterMode : in TestCreate() [all …]
|
D | GrSimpleTextureEffect.cpp | 50 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx : in TestCreate() 61 GrTextureParams params(tileModes, d->fRandom->nextBool() ? GrTextureParams::kBilerp_FilterMode : in TestCreate()
|
D | GrBitmapTextGeoProc.cpp | 168 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx : in TestCreate() 179 GrTextureParams params(tileModes, d->fRandom->nextBool() ? GrTextureParams::kBilerp_FilterMode : in TestCreate() 197 d->fRandom->nextBool()); in TestCreate()
|
D | GrConvolutionEffect.cpp | 210 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx : in TestCreate() 212 Direction dir = d->fRandom->nextBool() ? kX_Direction : kY_Direction; in TestCreate() 223 bool useBounds = d->fRandom->nextBool(); in TestCreate()
|
D | GrTextureDomain.cpp | 284 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx : in TestCreate() 294 bool bilerp = mode != GrTextureDomain::kRepeat_Mode ? d->fRandom->nextBool() : false; in TestCreate() 295 GrCoordSet coords = d->fRandom->nextBool() ? kLocal_GrCoordSet : kDevice_GrCoordSet; in TestCreate()
|
D | GrMatrixConvolutionEffect.cpp | 228 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx : in TestCreate() 247 bool convolveAlpha = d->fRandom->nextBool(); in TestCreate()
|
D | GrDashingEffect.cpp | 980 d->fRandom->nextBool()); in TestCreate() 1211 d->fRandom->nextBool()); in TestCreate() 1243 bool useAA = random->nextBool(); in DRAW_BATCH_TEST_DEFINE() 1244 bool msaaRT = random->nextBool(); in DRAW_BATCH_TEST_DEFINE() 1248 if (random->nextBool()) { in DRAW_BATCH_TEST_DEFINE()
|
D | GrBicubicEffect.cpp | 183 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx : in TestCreate()
|
/external/skia/src/gpu/ |
D | GrDefaultGeoProcFactory.cpp | 276 if (d->fRandom->nextBool()) { in TestCreate() 279 if (d->fRandom->nextBool()) { in TestCreate() 282 if (d->fRandom->nextBool()) { in TestCreate() 285 if (d->fRandom->nextBool()) { in TestCreate() 293 d->fRandom->nextBool(), in TestCreate() 294 d->fRandom->nextBool(), in TestCreate()
|
D | GrTestUtils.cpp | 222 bool strokeAndFill = random->nextBool(); in randomize_stroke_rec() 223 SkScalar strokeWidth = random->nextBool() ? 0.f : 1.f; in randomize_stroke_rec()
|
/external/skia/tests/ |
D | PathOpsTightBoundsTest.cpp | 25 if (ran.nextBool()) { in testTightBoundsLines() 68 if (ran.nextBool()) { in testTightBoundsQuads() 75 if (ran.nextBool()) { in testTightBoundsQuads()
|
D | GLProgramsTest.cpp | 160 texDesc.fOrigin = random->nextBool() == true ? kTopLeft_GrSurfaceOrigin : in random_render_target() 162 texDesc.fSampleCnt = random->nextBool() == true ? SkTMin(4, caps->maxSampleCount()) : 0; in random_render_target() 268 state |= random->nextBool() * i; in set_random_state() 296 if (random->nextBool()) { in set_random_stencil()
|
/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/fuzz/ |
D | FuzzParsePath.cpp | 58 if (fuzz->nextBool()) { in add_comma() 78 char symbol = legal.fSymbol | (fuzz->nextBool() ? 0x20 : 0); in MakeRandomParsePathPiece()
|
D | Fuzz.h | 19 bool nextBool();
|
/external/skia/src/gpu/batches/ |
D | GrDrawVerticesBatch.cpp | 285 bool hasTexCoords = random->nextBool(); in DRAW_BATCH_TEST_DEFINE() 286 bool hasIndices = random->nextBool(); in DRAW_BATCH_TEST_DEFINE() 287 bool hasColors = random->nextBool(); in DRAW_BATCH_TEST_DEFINE()
|
D | GrNonAAStrokeRectBatch.cpp | 248 SkScalar strokeWidth = random->nextBool() ? 0.0f : 1.0f; in DRAW_BATCH_TEST_DEFINE() 250 return GrNonAAStrokeRectBatch::Create(color, viewMatrix, rect, strokeWidth, random->nextBool()); in DRAW_BATCH_TEST_DEFINE()
|
D | GrNonAAFillRectBatch.cpp | 331 bool hasLocalRect = random->nextBool(); in DRAW_BATCH_TEST_DEFINE() 332 bool hasLocalMatrix = random->nextBool(); in DRAW_BATCH_TEST_DEFINE()
|
/external/skia/bench/ |
D | MatrixBench.cpp | 151 SkScalar rot0 = (fRandom.nextBool()) ? fRandom.nextRangeF(-180, 180) : 0.0f; in onDelayedSetup() 153 SkScalar sy = (fRandom.nextBool()) ? fRandom.nextRangeF(-3000.f, 3000.f) : sx; in onDelayedSetup()
|
/external/skia/src/effects/ |
D | SkArithmeticMode_gpu.cpp | 126 bool enforcePMColor = d->fRandom->nextBool(); in TestCreate() 291 bool enforcePMColor = d->fRandom->nextBool(); in TestCreate()
|
D | SkMorphologyImageFilter.cpp | 437 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx : in TestCreate() 439 Direction dir = d->fRandom->nextBool() ? kX_Direction : kY_Direction; in TestCreate() 442 MorphologyType type = d->fRandom->nextBool() ? GrMorphologyEffect::kErode_MorphologyType : in TestCreate()
|
D | SkAvoidXfermode.cpp | 338 SkAvoidXfermode::Mode mode = d->fRandom->nextBool() ? SkAvoidXfermode::kAvoidColor_Mode in TestCreate() 517 SkAvoidXfermode::Mode mode = d->fRandom->nextBool() ? SkAvoidXfermode::kAvoidColor_Mode in TestCreate()
|
/external/skia/src/gpu/text/ |
D | GrAtlasTextContext.cpp | 380 skPaint.setLCDRenderText(random->nextBool()); in DRAW_BATCH_TEST_DEFINE() 381 skPaint.setAntiAlias(skPaint.isLCDRenderText() ? true : random->nextBool()); in DRAW_BATCH_TEST_DEFINE() 382 skPaint.setSubpixelText(random->nextBool()); in DRAW_BATCH_TEST_DEFINE()
|
/external/skia/include/utils/ |
D | SkRandom.h | 129 bool nextBool() { return this->nextU() >= 0x80000000; } in nextBool() function
|
/external/skia/samplecode/ |
D | SamplePathFuzz.cpp | 203 return fRand.nextBool(); in makeBool() 276 bool antiAlias = fRand.nextBool(); in makePaint()
|