Searched refs:numStrips (Results 1 – 2 of 2) sorted by relevance
78 int numStrips = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(numBranches) / aspectRatio)); in CountNodes() local79 int numTiles = SkScalarCeilToInt(SkIntToScalar(numBranches) / SkIntToScalar(numStrips)); in CountNodes()82 for (int i = 0; i < numStrips; ++i) { in CountNodes()126 int numStrips = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(numBranches) / fAspectRatio)); in bulkLoad() local127 int numTiles = SkScalarCeilToInt(SkIntToScalar(numBranches) / SkIntToScalar(numStrips)); in bulkLoad()130 for (int i = 0; i < numStrips; ++i) { in bulkLoad()
351 const int numStrips = 20; in init() local353 for (int stripNdx = 0; stripNdx < numStrips; stripNdx++) in init()359 float fx = -0.9f + 1.8f * (float)(i/2*2) / numStrips; in init()360 float fy = -0.9f + 1.8f * ((float)stripNdx + (i%2 == 0 ? 0.0f : 0.8f)) / numStrips; in init()368 if (stripNdx < numStrips - 1) // Add a restart after all but last strip. in init()