/external/skia/src/gpu/effects/ |
D | GrDistanceFieldGeoProc.cpp | 247 int texIdx = random->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx : in TestCreate() 258 GrTextureParams params(tileModes, random->nextBool() ? GrTextureParams::kBilerp_FilterMode : in TestCreate() 267 random->nextBool() ? in TestCreate() 471 int texIdx = random->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx in TestCreate() 482 GrTextureParams params(tileModes, random->nextBool() ? GrTextureParams::kBilerp_FilterMode in TestCreate() 489 random->nextBool() ? kSimilarity_DistanceFieldEffectFlag : 0); in TestCreate() 736 int texIdx = random->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx : in TestCreate() 747 GrTextureParams params(tileModes, random->nextBool() ? GrTextureParams::kBilerp_FilterMode : in TestCreate() 751 flags |= random->nextBool() ? kUniformScale_DistanceFieldEffectMask : 0; in TestCreate() 752 flags |= random->nextBool() ? kBGR_DistanceFieldEffectFlag : 0; in TestCreate()
|
D | GrSimpleTextureEffect.cpp | 63 int texIdx = random->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx : in TestCreate() 74 GrTextureParams params(tileModes, random->nextBool() ? GrTextureParams::kBilerp_FilterMode : in TestCreate()
|
D | GrConvolutionEffect.cpp | 225 int texIdx = random->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx : in TestCreate() 227 Direction dir = random->nextBool() ? kX_Direction : kY_Direction; in TestCreate() 238 bool useBounds = random->nextBool(); in TestCreate()
|
D | GrTextureDomain.cpp | 293 int texIdx = random->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx : in TestCreate() 303 bool bilerp = mode != GrTextureDomain::kRepeat_Mode ? random->nextBool() : false; in TestCreate() 304 GrCoordSet coords = random->nextBool() ? kLocal_GrCoordSet : kDevice_GrCoordSet; in TestCreate()
|
D | GrBitmapTextGeoProc.cpp | 170 int texIdx = random->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx : in TestCreate() 181 GrTextureParams params(tileModes, random->nextBool() ? GrTextureParams::kBilerp_FilterMode : in TestCreate()
|
D | GrMatrixConvolutionEffect.cpp | 244 int texIdx = random->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx : in TestCreate() 262 bool convolveAlpha = random->nextBool(); in TestCreate()
|
D | GrCoverageSetOpXP.cpp | 258 bool invertCoverage = random->nextBool(); in TestCreate()
|
D | GrBicubicEffect.cpp | 187 int texIdx = random->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx : in TestCreate()
|
D | GrConfigConversionEffect.cpp | 139 swapRB = random->nextBool(); in TestCreate()
|
D | GrDashingEffect.cpp | 1240 bool useAA = random->nextBool(); in BATCH_TEST_DEFINE() 1241 bool msaaRT = random->nextBool(); in BATCH_TEST_DEFINE() 1245 if (random->nextBool()) { in BATCH_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()
|
D | GLProgramsTest.cpp | 117 texDesc.fOrigin = random->nextBool() == true ? kTopLeft_GrSurfaceOrigin : in random_render_target() 119 texDesc.fSampleCnt = random->nextBool() == true ? SkTMin(4, caps->maxSampleCount()) : 0; in random_render_target() 176 state |= random->nextBool() * i; in set_random_state() 204 if (random->nextBool()) { in set_random_stencil()
|
D | LListTest.cpp | 269 if (random.nextBool()) { in TestTLList()
|
/external/skia/src/gpu/ |
D | GrDefaultGeoProcFactory.cpp | 241 if (random->nextBool()) { in TestCreate() 244 if (random->nextBool()) { in TestCreate() 247 if (random->nextBool()) { in TestCreate()
|
D | GrTestUtils.cpp | 223 bool strokeAndFill = random->nextBool(); in TestStrokeRec() 224 SkScalar strokeWidth = random->nextBool() ? 0.f : 1.f; in TestStrokeRec()
|
D | GrRectBatch.cpp | 261 bool hasLocalRect = random->nextBool(); in BATCH_TEST_DEFINE() 262 bool hasLocalMatrix = random->nextBool(); in BATCH_TEST_DEFINE()
|
D | GrContext.cpp | 1893 geometry.fStrokeWidth = random->nextBool() ? 0.0f : 1.0f; in BATCH_TEST_DEFINE() 1895 return StrokeRectBatch::Create(geometry, random->nextBool()); in BATCH_TEST_DEFINE() 1968 bool hasTexCoords = random->nextBool(); in BATCH_TEST_DEFINE() 1969 bool hasIndices = random->nextBool(); in BATCH_TEST_DEFINE() 1970 bool hasColors = random->nextBool(); in BATCH_TEST_DEFINE()
|
D | GrOvalRenderer.cpp | 219 random->nextBool(), in TestCreate() 407 random->nextBool(), in TestCreate() 2062 bool useCoverageAA = random->nextBool(); in BATCH_TEST_DEFINE() 2079 bool useCoverageAA = random->nextBool(); in BATCH_TEST_DEFINE()
|
/external/skia/bench/ |
D | MatrixBench.cpp | 151 SkScalar rot0 = (fRandom.nextBool()) ? fRandom.nextRangeF(-180, 180) : 0.0f; in onPreDraw() 153 SkScalar sy = (fRandom.nextBool()) ? fRandom.nextRangeF(-3000.f, 3000.f) : sx; in onPreDraw()
|
/external/skia/src/effects/ |
D | SkArithmeticMode_gpu.cpp | 150 bool enforcePMColor = rand->nextBool(); in TestCreate() 331 bool enforcePMColor = random->nextBool(); in TestCreate()
|
D | SkMorphologyImageFilter.cpp | 549 int texIdx = random->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx : in TestCreate() 551 Direction dir = random->nextBool() ? kX_Direction : kY_Direction; in TestCreate() 554 MorphologyType type = random->nextBool() ? GrMorphologyEffect::kErode_MorphologyType : in TestCreate()
|
D | SkDisplacementMapEffect.cpp | 522 int texIdxDispl = random->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx : in TestCreate() 524 int texIdxColor = random->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx : in TestCreate()
|
D | SkPerlinNoiseShader.cpp | 608 bool stitchTiles = random->nextBool(); in TestCreate() 616 SkShader* shader = random->nextBool() ? in TestCreate()
|
/external/skia/include/utils/ |
D | SkRandom.h | 129 bool nextBool() { return this->nextU() >= 0x80000000; } in nextBool() function
|
/external/skia/samplecode/ |
D | SamplePathFuzz.cpp | 202 return fRand.nextBool(); in makeBool() 275 bool antiAlias = fRand.nextBool(); in makePaint()
|