Home
last modified time | relevance | path

Searched refs:kNumPoints (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/bench/
DPathBench.cpp326 fPoints.reset(kNumPoints); in createData()
327 for (int i = 0; i < kNumPoints; ++i) { in createData()
346 path->moveTo(fPoints[(fCurrPoint++) & (kNumPoints - 1)]); in makePath()
349 path->lineTo(fPoints[(fCurrPoint++) & (kNumPoints - 1)]); in makePath()
352 path->quadTo(fPoints[(fCurrPoint + 0) & (kNumPoints - 1)], in makePath()
353 fPoints[(fCurrPoint + 1) & (kNumPoints - 1)]); in makePath()
357 path->conicTo(fPoints[(fCurrPoint + 0) & (kNumPoints - 1)], in makePath()
358 fPoints[(fCurrPoint + 1) & (kNumPoints - 1)], in makePath()
363 path->cubicTo(fPoints[(fCurrPoint + 0) & (kNumPoints - 1)], in makePath()
364 fPoints[(fCurrPoint + 1) & (kNumPoints - 1)], in makePath()
[all …]
/third_party/skia/tests/
DMatrixTest.cpp793 static const int kNumPoints = 5; in check_decompScale() local
794 const SkPoint testPts[kNumPoints] = { in check_decompScale()
802 SkPoint v1[kNumPoints]; in check_decompScale()
803 original.mapPoints(v1, testPts, kNumPoints); in check_decompScale()
805 SkPoint v2[kNumPoints]; in check_decompScale()
810 scaleMat.mapPoints(v2, testPts, kNumPoints); in check_decompScale()
811 remaining.mapPoints(v2, kNumPoints); in check_decompScale()
813 for (int i = 0; i < kNumPoints; ++i) { in check_decompScale()
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
Draw_hash_set_benchmark.cc197 const size_t kNumPoints = 10; in CacheInSteadyStateArgs() local
198 for (size_t i = 0; i != kNumPoints; ++i) in CacheInSteadyStateArgs()
200 capacity * (max_load_factor + i * max_load_factor / kNumPoints) / 2)); in CacheInSteadyStateArgs()