Home
last modified time | relevance | path

Searched refs:avgLength (Results 1 - 3 of 3) sorted by relevance

/third_party/skia/src/core/
H A DSkScan_AntiPath.cpp613 void compute_complexity(const SkPath& path, SkScalar& avgLength, SkScalar& complexity) {
617 avgLength = complexity = -1;
628 avgLength = sumLength / (kSampleSize - 1);
636 SkScalar intersections = sk_ieee_float_divide(sqr(n) * sqr(avgLength), diagonalSqr);
646 static bool ShouldUseAAA(const SkPath& path, SkScalar avgLength, SkScalar complexity) {
798 SkScalar avgLength, complexity;
799 compute_complexity(path, avgLength, complexity);
801 if (ShouldUseAAA(path, avgLength, complexity)) {
H A DSkPathComplexityDfx.cpp55 SkScalar avgLength = 0.f; in ShowPathComplexityDfx() local
56 compute_complexity(path, avgLength, complexity); in ShowPathComplexityDfx()
H A DSkPathComplexityDfx.h35 void compute_complexity(const SkPath& path, SkScalar& avgLength, SkScalar& complexity);

Completed in 2 milliseconds