Home
last modified time | relevance | path

Searched refs:numVerbs (Results 1 – 12 of 12) sorted by relevance

/third_party/skia/samplecode/
DSamplePathTessellators.cpp91 int numVerbs; in onPrepare() local
96 numVerbs = numVerbsToGetMiddleOut; in onPrepare()
102 numVerbs = numVerbsToGetMiddleOut; in onPrepare()
107 numVerbs = numVerbsToGetTessellation; in onPrepare()
113 numVerbs = numVerbsToGetTessellation; in onPrepare()
120 numVerbs, in onPrepare()
DSampleSimpleStroker.cpp305 const int numVerbs = path.countVerbs(); in appendPathReversed() local
310 for (int i = numVerbs - 1, j = numPoints; i >= 0; i--) { in appendPathReversed()
DSampleVariableWidthStroker.cpp850 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()
/third_party/skia/bench/graphite/
DIntersectionTreeBench.cpp136 int numVerbs = path.countVerbs(); in gatherRects() local
139 float cpuTessellationWork = numVerbs * SkNextLog2(numVerbs); // N log N. in gatherRects()
/third_party/skia/src/gpu/ops/
DTessellationPathRenderer.cpp37 int numVerbs = path.countVerbs(); in make_non_convex_fill_op() local
38 if (numVerbs > 0 && !path.isInverseFillType()) { in make_non_convex_fill_op()
44 float cpuTessellationWork = numVerbs * SkNextLog2(numVerbs); // N log N. in make_non_convex_fill_op()
DStrokeTessellateOp.cpp21 bool can_use_hardware_tessellation(int numVerbs, const GrPipeline& pipeline, const GrCaps& caps) { in can_use_hardware_tessellation() argument
34 return numVerbs >= caps.minStrokeVerbsForHwTessellation(); in can_use_hardware_tessellation()
/third_party/skia/src/core/
DSkPathRef.cpp348 if (int numVerbs = path.countVerbs()) { in growForVerbsInPath() local
349 memcpy(fVerbs.append(numVerbs), path.fVerbs.begin(), numVerbs * sizeof(fVerbs[0])); in growForVerbsInPath()
/third_party/flutter/skia/src/gpu/ccpr/
DGrCCFiller.cpp101 int numVerbs = fGeometry.verbs().count() - currPathVerbsIdx - 1; in parseDeviceSpaceFill() local
102 int64_t tessellationWork = (int64_t)numVerbs * (32 - SkCLZ(numVerbs)); // N log N. in parseDeviceSpaceFill()
/third_party/skia/bench/
DTessellateBench.cpp278 int numVerbs = 28 - SkNextLog2(rand.nextRangeU(0, (1 << 27) - 1)); in make_motionmark_paths() local
280 for (int j = 0; j < numVerbs; ++j) { in make_motionmark_paths()
/third_party/skia/modules/canvaskit/
Dcanvaskit_bindings.cpp466 void PathAddVerbsPointsWeights(SkPath& path, WASMPointerU8 verbsPtr, int numVerbs, in PathAddVerbsPointsWeights() argument
487 for (int v = 0; v < numVerbs; ++v) { in PathAddVerbsPointsWeights()
528 SkPath MakePathFromVerbsPointsWeights(WASMPointerU8 verbsPtr, int numVerbs, in MakePathFromVerbsPointsWeights() argument
532 PathAddVerbsPointsWeights(path, verbsPtr, numVerbs, ptsPtr, numPts, wtsPtr, numWts); in MakePathFromVerbsPointsWeights()
/third_party/flutter/skia/tests/
DPathTest.cpp3135 int numVerbs = (rand.nextU() >> 16) % 10; in test_raw_iter() local
3137 for (int j = 0; j < numVerbs; ++j) { in test_raw_iter()
3212 numVerbs = numIterVerbs; in test_raw_iter()
3262 REPORTER_ASSERT(reporter, numIterVerbs == numVerbs); in test_raw_iter()
5021 const size_t numVerbs = numMoves + numConics; in DEF_TEST() local
5025 REPORTER_ASSERT(reporter, path.countVerbs() == numVerbs); in DEF_TEST()
/third_party/skia/tests/
DPathTest.cpp3161 int numVerbs = (rand.nextU() >> 16) % 10; in test_range_iter() local
3163 for (int j = 0; j < numVerbs; ++j) { in test_range_iter()
3237 numVerbs = numIterVerbs; in test_range_iter()
3287 REPORTER_ASSERT(reporter, numIterVerbs == numVerbs); in test_range_iter()
5082 const size_t numVerbs = numMoves + numConics; in DEF_TEST() local
5086 REPORTER_ASSERT(reporter, path.countVerbs() == numVerbs); in DEF_TEST()