Home
last modified time | relevance | path

Searched refs:bottomLength (Results 1 – 2 of 2) sorted by relevance

/third_party/flutter/skia/src/utils/
DSkPatchUtils.cpp170 SkScalar bottomLength = approx_arc_length(pts, kNumPtsCubic); in GetLevelOfDetail() local
180 if (topLength < 0 || bottomLength < 0 || leftLength < 0 || rightLength < 0) { in GetLevelOfDetail()
185 int lodX = static_cast<int>(SkMaxScalar(topLength, bottomLength) / kPartitionSize); in GetLevelOfDetail()
/third_party/skia/src/utils/
DSkPatchUtils.cpp172 SkScalar bottomLength = 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()