Lines Matching refs:lodY
186 int lodY = static_cast<int>(SkMaxScalar(leftLength, rightLength) / 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()
244 lodY64 = (lodY + 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()
266 lodY = std::max(1, sk_float_floor2int_no_saturate(weightY * 200)); in MakeVertices()
267 vertexCount = (lodX + 1) * (lodY + 1); in MakeVertices()
269 const int indexCount = lodX * lodY * 6; in MakeVertices()
305 int stride = lodY + 1; in MakeVertices()
308 fLeft.restart(lodY); in MakeVertices()
309 fRight.restart(lodY); in MakeVertices()
311 for (int y = 0; y <= lodY; y++) { in MakeVertices()
312 int dataIndex = x * (lodY + 1) + y; in MakeVertices()
351 if(x < lodX && y < lodY) { in MakeVertices()
352 int i = 6 * (x * lodY + y); in MakeVertices()
360 v = SkScalarClampMax(v + 1.f / lodY, 1); in MakeVertices()