Home | History | Annotate | Download | only in utils

Lines Matching defs:lodY

139     int lodY = static_cast<int>(SkMaxScalar(leftLength, rightLength) / 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) {
180 lodY64 = (lodY + 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)
196 lodY = static_cast<int>(weightY * 200);
197 data->fVertexCount = (lodX + 1) * (lodY + 1);
199 data->fIndexCount = lodX * lodY * 6;
233 int stride = lodY + 1;
236 fLeft.restart(lodY);
237 fRight.restart(lodY);
239 for (int y = 0; y <= lodY; y++) {
240 int dataIndex = x * (lodY + 1) + y;
296 if(x < lodX && y < lodY) {
297 int i = 6 * (x * lodY + y);
305 v = SkScalarClampMax(v + 1.f / lodY, 1);