Lines Matching refs:targetSize
263 …RandomizedRenderGrid (const IVec2& targetSize, const IVec2& cellSize, int maxCellCount, deUint32 s…
272 …static IVec2 getRandomOffset (deUint32 seed, IVec2 targetSize, IVec2 cellSize, IVec2 grid, int c…
282 RandomizedRenderGrid::RandomizedRenderGrid (const IVec2& targetSize, const IVec2& cellSize, int max… in RandomizedRenderGrid() argument
283 : m_targetSize (targetSize) in RandomizedRenderGrid()
285 , m_grid (targetSize / cellSize) in RandomizedRenderGrid()
288 …, m_cellCount (deMin32(maxCellCount, ((targetSize.y() % cellSize.y()) == 0) && m_grid.y() > 1 ? … in RandomizedRenderGrid()
289 , m_baseRandomOffset (getRandomOffset(seed, targetSize, cellSize, m_grid, m_cellCount)) in RandomizedRenderGrid()
293 IVec2 RandomizedRenderGrid::getRandomOffset (deUint32 seed, IVec2 targetSize, IVec2 cellSize, IVec2… in getRandomOffset() argument
297 IVec2 extraSpace = targetSize - (cellSize * grid); in getRandomOffset()
304 DE_ASSERT(targetSize.x() > cellSize.x() && targetSize.y() > cellSize.y()); in getRandomOffset()
307 DE_ASSERT(extraSpace.x() + grid.x() * cellSize.x() == targetSize.x()); in getRandomOffset()
2326 IVec3 getTestedSize (deUint32 target, deUint32 format, const IVec3& targetSize) in getTestedSize() argument
2335 const int size = (1 + (targetSize.x() / multiplier)) * multiplier; in getTestedSize()
2341 return (1 + (targetSize / texelBlockPixelSize)) * texelBlockPixelSize; in getTestedSize()
2345 const int width = (1 + targetSize.x() / texelBlockPixelSize.x()) * texelBlockPixelSize.x(); in getTestedSize()
2346 const int height = ((targetSize.y() / texelBlockPixelSize.y()) - 1) * texelBlockPixelSize.y(); in getTestedSize()
2400 const IVec3 targetSize = isCompressedCase ? IVec3(128, 128, 16) : IVec3(64, 64, 8); in addCopyTests() local
2401 const IVec3 srcSize = getTestedSize(srcTarget, srcFormat, targetSize); in addCopyTests()
2402 const IVec3 dstSize = getTestedSize(dstTarget, dstFormat, targetSize); in addCopyTests()