Home | History | Annotate | Download | only in utils

Lines Matching defs:lodY

159     int lodY = static_cast<int>(SkMaxScalar(leftLength, rightLength) / kPartitionSize);
161 return SkISize::Make(SkMax32(8, lodX), SkMax32(8, lodY));
193 const SkColor colors[4], const SkPoint texCoords[4], int lodX, int lodY) {
194 if (lodX < 1 || lodY < 1 || NULL == cubics || NULL == data) {
200 lodY64 = (lodY + 1),
209 if (data->fVertexCount > 10000 || lodX > 200 || lodY > 200) {
210 SkScalar weightX = static_cast<SkScalar>(lodX) / (lodX + lodY);
211 SkScalar weightY = static_cast<SkScalar>(lodY) / (lodX + lodY);
214 // 60000 indices ( sqrt(60000 / 6) that comes from data->fIndexCount = lodX * lodY * 6)
216 lodY = static_cast<int>(weightY * 200);
217 data->fVertexCount = (lodX + 1) * (lodY + 1);
219 data->fIndexCount = lodX * lodY * 6;
253 int stride = lodY + 1;
256 fLeft.restart(lodY);
257 fRight.restart(lodY);
259 for (int y = 0; y <= lodY; y++) {
260 int dataIndex = x * (lodY + 1) + y;
316 if(x < lodX && y < lodY) {
317 int i = 6 * (x * lodY + y);
325 v = SkScalarClampMax(v + 1.f / lodY, 1);