Home
last modified time | relevance | path

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

/external/skqp/src/core/
DSkRTree.cpp78 int numStrips = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(numBranches) / aspectRatio)); in CountNodes() local
79 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() local
127 int numTiles = SkScalarCeilToInt(SkIntToScalar(numBranches) / SkIntToScalar(numStrips)); in bulkLoad()
130 for (int i = 0; i < numStrips; ++i) { in bulkLoad()
/external/deqp/modules/gles3/functional/
Des3fPrimitiveRestartTests.cpp351 const int numStrips = 20; in init() local
353 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()