Lines Matching refs:lodX
185 int lodX = static_cast<int>(SkMaxScalar(topLength, bottomLength) / kPartitionSize); in GetLevelOfDetail() local
188 return SkISize::Make(SkMax32(8, lodX), SkMax32(8, lodY)); in GetLevelOfDetail()
236 const SkPoint srcTexCoords[4], int lodX, int lodY, in MakeVertices() argument
238 if (lodX < 1 || lodY < 1 || nullptr == cubics) { in MakeVertices()
243 const int64_t lodX64 = (lodX + 1), in MakeVertices()
258 if (vertexCount > 10000 || lodX > 200 || lodY > 200) { in MakeVertices()
259 float weightX = static_cast<float>(lodX) / (lodX + lodY); in MakeVertices()
260 float weightY = static_cast<float>(lodY) / (lodX + lodY); in MakeVertices()
265 lodX = std::max(1, sk_float_floor2int_no_saturate(weightX * 200)); in MakeVertices()
267 vertexCount = (lodX + 1) * (lodY + 1); in MakeVertices()
269 const int indexCount = lodX * lodY * 6; in MakeVertices()
301 fBottom.restart(lodX); in MakeVertices()
302 fTop.restart(lodX); in MakeVertices()
306 for (int x = 0; x <= lodX; x++) { in MakeVertices()
351 if(x < lodX && y < lodY) { in MakeVertices()
362 u = SkScalarClampMax(u + 1.f / lodX, 1); in MakeVertices()