Searched refs:deCeilFloatToInt32 (Results 1 – 15 of 15) sorted by relevance
208 const int rowPitch = m_alignment * deCeilFloatToInt32(pixelSize * width / (float)m_alignment); in iterate()218 …const deUint8 redThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (1 << deMin32(m_context… in iterate()219 …const deUint8 greenThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (1 << deMin32(m_conte… in iterate()220 …const deUint8 blueThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (1 << deMin32(m_contex… in iterate()221 …const deUint8 alphaThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (1 << deMin32(m_conte… in iterate()
340 const int ix0 = deCeilFloatToInt32(ldru.x() * (float)region.w - 0.5f); in setPixelColors()341 const int ix1 = deCeilFloatToInt32(ldru.z() * (float)region.w - 0.5f); in setPixelColors()342 const int iy0 = deCeilFloatToInt32(ldru.y() * (float)region.h - 0.5f); in setPixelColors()343 const int iy1 = deCeilFloatToInt32(ldru.w() * (float)region.h - 0.5f); in setPixelColors()
436 …const deInt32 maxLevel = (lodMax + epsilon < 0.5f) ? (0) : (deCeilFloatToInt32(lodMax + epsilon + … in makeSafeLods()437 …const deInt32 minLevel = (lodMin - epsilon < 0.5f) ? (0) : (deCeilFloatToInt32(lodMin - epsilon + … in makeSafeLods()
157 int minScissorW = deCeilFloatToInt32(minScissorSize*targetWidth); in computeRandomRenderState()158 int minScissorH = deCeilFloatToInt32(minScissorSize*targetHeight); in computeRandomRenderState()230 int minW = deCeilFloatToInt32(minSize*targetWidth); in computeRandomQuad()231 int minH = deCeilFloatToInt32(minSize*targetHeight); in computeRandomQuad()
697 int ix0 = deCeilFloatToInt32(sx0 - 0.5f); in computeVertexReference()698 int ix1 = deCeilFloatToInt32(sx1 - 0.5f); in computeVertexReference()699 int iy0 = deCeilFloatToInt32(sy0 - 0.5f); in computeVertexReference()700 int iy1 = deCeilFloatToInt32(sy1 - 0.5f); in computeVertexReference()
189 const int minW = deCeilFloatToInt32(minSize*targetW); in getRandomQuad()190 const int minH = deCeilFloatToInt32(minSize*targetH); in getRandomQuad()
2147 …I64Vec2(deCeilFloatToInt32(triangleScreenSpace[0].x()*numSubPixels), deCeilFloatToInt32(triangleSc… in calculateTriangleCoverage()2148 …I64Vec2(deCeilFloatToInt32(triangleScreenSpace[1].x()*numSubPixels), deCeilFloatToInt32(triangleSc… in calculateTriangleCoverage()2149 …I64Vec2(deCeilFloatToInt32(triangleScreenSpace[2].x()*numSubPixels), deCeilFloatToInt32(triangleSc… in calculateTriangleCoverage()
1761 …, m_maxDiffRed (deCeilFloatToInt32(256.0f * (2.0f / (1 << m_renderCtx.getRenderTarget().getPixelF… in VertexArrayTest()1762 …, m_maxDiffGreen (deCeilFloatToInt32(256.0f * (2.0f / (1 << m_renderCtx.getRenderTarget().getPixel… in VertexArrayTest()1763 …, m_maxDiffBlue (deCeilFloatToInt32(256.0f * (2.0f / (1 << m_renderCtx.getRenderTarget().getPixel… in VertexArrayTest()
1020 const int minY = deCeilFloatToInt32 (((-quadSize / w) * 0.5f + 0.5f) * height + 1.0f); in execute()1022 const int minX = deCeilFloatToInt32 (((-quadSize / w) * 0.5f + 0.5f) * width + 1.0f); in execute()
3214 …m_maxDiffRed = deCeilFloatToInt32(256.0f * (6.0f / (1 << m_renderCtx.getRenderTarget().getPixelFor… in init()3215 …m_maxDiffGreen = deCeilFloatToInt32(256.0f * (6.0f / (1 << m_renderCtx.getRenderTarget().getPixelF… in init()3216 …m_maxDiffBlue = deCeilFloatToInt32(256.0f * (6.0f / (1 << m_renderCtx.getRenderTarget().getPixelFo… in init()
3252 const int maxX = deCeilFloatToInt32(float(x+1.5f) / dstW * srcW); in compareGenMipmapVeryLenient()3253 const int maxY = deCeilFloatToInt32(float(y+1.5f) / dstH * srcH); in compareGenMipmapVeryLenient()
314 const int rowPitch = m_alignment * deCeilFloatToInt32(pixelSize * rowWidth / (float)m_alignment); in clearColor()356 …const int rowPitch = m_alignment * deCeilFloatToInt32(pixelSize * rowWidth / (float)m_align… in iterate()363 …const deUint8 redThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (1 << deMin32(m_context… in iterate()364 …const deUint8 greenThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (1 << deMin32(m_conte… in iterate()365 …const deUint8 blueThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (1 << deMin32(m_contex… in iterate()366 …const deUint8 alphaThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (1 << deMin32(m_conte… in iterate()
436 const int ix0 = deCeilFloatToInt32(ldru.x() * (float)region.w - 0.5f); in setPixelColors()437 const int ix1 = deCeilFloatToInt32(ldru.z() * (float)region.w - 0.5f); in setPixelColors()438 const int iy0 = deCeilFloatToInt32(ldru.y() * (float)region.h - 0.5f); in setPixelColors()439 const int iy1 = deCeilFloatToInt32(ldru.w() * (float)region.h - 0.5f); in setPixelColors()
213 DE_INLINE deInt32 deCeilFloatToInt32 (float x) { return (deInt32)(deFloatCeil(x)); } in deCeilFloatToInt32() function
118 pixelBox.z() = deCeilFloatToInt32(vertexBox.z() + size/2.0f); in getViewportBoundingBoxArea()119 pixelBox.w() = deCeilFloatToInt32(vertexBox.w() + size/2.0f); in getViewportBoundingBoxArea()4623 …const tcu::IVec2 insideBorder (deCeilFloatToInt32(0.25f * result.getWidth()) + 1, deFloorFloatToIn… in verifyImage()4624 …outsideBorder (deFloorFloatToInt32(0.25f * result.getWidth()) - 1, deCeilFloatToInt32(0.5f * resul… in verifyImage()