Searched refs:numStrips (Results 1 – 2 of 2) sorted by relevance
77 int numStrips = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(numBranches) / aspectRatio)); in CountNodes() local78 int numTiles = SkScalarCeilToInt(SkIntToScalar(numBranches) / SkIntToScalar(numStrips)); in CountNodes()81 for (int i = 0; i < numStrips; ++i) { in CountNodes()125 int numStrips = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(numBranches) / fAspectRatio)); in bulkLoad() local126 int numTiles = SkScalarCeilToInt(SkIntToScalar(numBranches) / SkIntToScalar(numStrips)); in bulkLoad()129 for (int i = 0; i < numStrips; ++i) { in bulkLoad()
336 const int numStrips = 20; in init() local338 for (int stripNdx = 0; stripNdx < numStrips; stripNdx++) in init()344 float fx = -0.9f + 1.8f * (float)(i/2*2) / numStrips; in init()345 float fy = -0.9f + 1.8f * ((float)stripNdx + (i%2 == 0 ? 0.0f : 0.8f)) / numStrips; in init()353 if (stripNdx < numStrips - 1) // Add a restart after all but last strip. in init()