Home
last modified time | relevance | path

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

/third_party/skia/src/utils/
H A DSkPatchUtils.cpp168 SkScalar topLength = approx_arc_length(pts, kNumPtsCubic); in GetLevelOfDetail() local
182 if (topLength < 0 || bottomLength < 0 || leftLength < 0 || rightLength < 0) { in GetLevelOfDetail()
187 int lodX = static_cast<int>(std::max(topLength, bottomLength) / kPartitionSize); in GetLevelOfDetail()

Completed in 2 milliseconds