Home
last modified time | relevance | path

Searched refs:numStrips (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/core/
DSkRTree.cpp77 int numStrips = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(numBranches) / aspectRatio)); in CountNodes() local
78 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() local
126 int numTiles = SkScalarCeilToInt(SkIntToScalar(numBranches) / SkIntToScalar(numStrips)); in bulkLoad()
129 for (int i = 0; i < numStrips; ++i) { in bulkLoad()
/external/deqp/modules/gles3/functional/
Des3fPrimitiveRestartTests.cpp336 const int numStrips = 20; in init() local
338 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()