Lines Matching refs:curX
528 int curX = 0; in flushRuns() local
547 while (curX != finalX) { in flushRuns()
548 SkASSERT(finalX >= curX); in flushRuns()
551 if ((finalX - (BlockDim*(curX / BlockDim))) >= BlockDim) { in flushRuns()
552 const int col = curX % BlockDim; in flushRuns()
554 SkASSERT(curX + colsLeft <= finalX); in flushRuns()
561 curX += colsLeft; in flushRuns()
565 if ((finalX - curX) >= BlockDim) { in flushRuns()
566 SkASSERT((curX % BlockDim) == 0); in flushRuns()
576 while((finalX - curX) >= BlockDim) { in flushRuns()
579 curX += BlockDim; in flushRuns()
584 if (curX < finalX) { in flushRuns()
585 const int col = curX % BlockDim; in flushRuns()
586 const int colsLeft = finalX - curX; in flushRuns()
589 curX += colsLeft; in flushRuns()
592 SkASSERT(curX == finalX); in flushRuns()
611 curX = finalX; in flushRuns()
616 if ((curX % BlockDim) > 0) { in flushRuns()
619 SkASSERT(nextX[i] == kLongestRun || nextX[i] == curX); in flushRuns()
622 const int col = curX % BlockDim; in flushRuns()