Searched refs:numVerbs (Results 1 – 12 of 12) sorted by relevance
/external/skia/src/gpu/tessellate/ |
D | GrPathStencilFillOp.cpp | 51 int numVerbs = fPath.countVerbs(); in prePreparePrograms() local 52 if (numVerbs <= 0) { in prePreparePrograms() 59 bool drawTrianglesAsIndirectCurveDraw = (numVerbs < 50); in prePreparePrograms()
|
D | GrTessellationPathRenderer.cpp | 224 int numVerbs = path.countVerbs(); in make_op() local 225 if (numVerbs > 0) { in make_op() 234 float cpuTessellationWork = numVerbs * SkNextLog2(numVerbs); // N log N. in make_op()
|
D | GrStrokeTessellateOp.h | 44 bool canUseHardwareTessellation(int numVerbs, const GrCaps& caps);
|
D | GrStrokeTessellateOp.cpp | 150 bool GrStrokeTessellateOp::canUseHardwareTessellation(int numVerbs, const GrCaps& caps) { in canUseHardwareTessellation() argument 170 return numVerbs >= 50; in canUseHardwareTessellation()
|
/external/skqp/src/gpu/ccpr/ |
D | GrCCFiller.cpp | 99 int numVerbs = fGeometry.verbs().count() - currPathVerbsIdx - 1; in parseDeviceSpaceFill() local 100 int64_t tessellationWork = (int64_t)numVerbs * (32 - SkCLZ(numVerbs)); // N log N. in parseDeviceSpaceFill()
|
/external/skia/src/core/ |
D | SkPathRef.cpp | 348 if (int numVerbs = path.countVerbs()) { in growForVerbsInPath() local 349 memcpy(fVerbs.append(numVerbs), path.fVerbs.begin(), numVerbs * sizeof(fVerbs[0])); in growForVerbsInPath()
|
/external/skia/samplecode/ |
D | SampleSimpleStroker.cpp | 305 const int numVerbs = path.countVerbs(); in appendPathReversed() local 310 for (int i = numVerbs - 1, j = numPoints; i >= 0; i--) { in appendPathReversed()
|
D | SampleVariableWidthStroker.cpp | 850 const int numVerbs = path.countVerbs(); in appendPathReversed() local 854 verbs.resize(numVerbs); in appendPathReversed() 856 path.getVerbs(verbs.data(), numVerbs); in appendPathReversed() 859 for (int i = numVerbs - 1, j = numPoints; i >= 0; i--) { in appendPathReversed()
|
/external/skia/bench/ |
D | TessellateBench.cpp | 246 int numVerbs = 28 - SkNextLog2(rand.nextRangeU(0, (1 << 27) - 1)); in make_motionmark_paths() local 248 for (int j = 0; j < numVerbs; ++j) { in make_motionmark_paths()
|
/external/skia/modules/canvaskit/ |
D | canvaskit_bindings.cpp | 470 void PathAddVerbsPointsWeights(SkPath& path, uintptr_t /* uint8_t* */ verbsPtr, int numVerbs, in PathAddVerbsPointsWeights() argument 491 for (int v = 0; v < numVerbs; ++v) { in PathAddVerbsPointsWeights() 532 SkPath MakePathFromVerbsPointsWeights(uintptr_t /* uint8_t* */ verbsPtr, int numVerbs, in MakePathFromVerbsPointsWeights() argument 536 PathAddVerbsPointsWeights(path, verbsPtr, numVerbs, ptsPtr, numPts, wtsPtr, numWts); in MakePathFromVerbsPointsWeights()
|
/external/skqp/tests/ |
D | PathTest.cpp | 3161 int numVerbs = (rand.nextU() >> 16) % 10; in test_raw_iter() local 3163 for (int j = 0; j < numVerbs; ++j) { in test_raw_iter() 3238 numVerbs = numIterVerbs; in test_raw_iter() 3288 REPORTER_ASSERT(reporter, numIterVerbs == numVerbs); in test_raw_iter() 4870 const size_t numVerbs = numMoves + numConics; in DEF_TEST() local 4874 REPORTER_ASSERT(reporter, path.countVerbs() == numVerbs); in DEF_TEST()
|
/external/skia/tests/ |
D | PathTest.cpp | 3162 int numVerbs = (rand.nextU() >> 16) % 10; in test_range_iter() local 3164 for (int j = 0; j < numVerbs; ++j) { in test_range_iter() 3238 numVerbs = numIterVerbs; in test_range_iter() 3288 REPORTER_ASSERT(reporter, numIterVerbs == numVerbs); in test_range_iter() 5049 const size_t numVerbs = numMoves + numConics; in DEF_TEST() local 5053 REPORTER_ASSERT(reporter, path.countVerbs() == numVerbs); in DEF_TEST()
|