Lines Matching refs:lodX
138 int lodX = static_cast<int>(SkMaxScalar(topLength, bottomLength) / kPartitionSize);
141 return SkISize::Make(SkMax32(8, lodX), SkMax32(8, lodY));
173 const SkColor colors[4], const SkPoint texCoords[4], int lodX, int lodY) {
174 if (lodX < 1 || lodY < 1 || nullptr == cubics || nullptr == data) {
179 const int64_t lodX64 = (lodX + 1),
189 if (data->fVertexCount > 10000 || lodX > 200 || lodY > 200) {
190 SkScalar weightX = static_cast<SkScalar>(lodX) / (lodX + lodY);
191 SkScalar weightY = static_cast<SkScalar>(lodY) / (lodX + lodY);
194 // 60000 indices ( sqrt(60000 / 6) that comes from data->fIndexCount = lodX * lodY * 6)
195 lodX = static_cast<int>(weightX * 200);
197 data->fVertexCount = (lodX + 1) * (lodY + 1);
199 data->fIndexCount = lodX * lodY * 6;
229 fBottom.restart(lodX);
230 fTop.restart(lodX);
234 for (int x = 0; x <= lodX; x++) {
296 if(x < lodX && y < lodY) {
307 u = SkScalarClampMax(u + 1.f / lodX, 1);