Searched refs:avgLength (Results 1 - 3 of 3) sorted by relevance
/third_party/skia/src/core/ |
H A D | SkScan_AntiPath.cpp | 613 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 D | SkPathComplexityDfx.cpp | 55 SkScalar avgLength = 0.f; in ShowPathComplexityDfx() local 56 compute_complexity(path, avgLength, complexity); in ShowPathComplexityDfx()
|
H A D | SkPathComplexityDfx.h | 35 void compute_complexity(const SkPath& path, SkScalar& avgLength, SkScalar& complexity);
|
Completed in 2 milliseconds