Home
last modified time | relevance | path

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

/external/deqp/framework/referencerenderer/
DrrRasterizer.cpp135 const deUint64 halfPixel = 1ll << (RASTERIZER_SUBPIXEL_BITS-1); in isTheCenterOfTheFragment() local
136 return ((a.x() & (pixelSize-1)) == halfPixel && in isTheCenterOfTheFragment()
137 (a.y() & (pixelSize-1)) == halfPixel); in isTheCenterOfTheFragment()
240 const deInt64 halfPixel = 1ll << (RASTERIZER_SUBPIXEL_BITS-1); in doesLineSegmentExitDiamond() local
259 const deInt64 broadRejectDistance = 2 * halfPixel; in doesLineSegmentExitDiamond()
286 …diamondCenter + tcu::Vector<deInt64,2>(0, -halfPixel), diamondCenter + tcu::Vector<deInt64,2>(- in doesLineSegmentExitDiamond()
287 … diamondCenter + tcu::Vector<deInt64,2>(-halfPixel, 0), diamondCenter + tcu::Vector<deInt64,2>(… in doesLineSegmentExitDiamond()
288 … diamondCenter + tcu::Vector<deInt64,2>(0, halfPixel), diamondCenter + tcu::Vector<deInt64,2>( in doesLineSegmentExitDiamond()
289 … diamondCenter + tcu::Vector<deInt64,2>(halfPixel, 0), diamondCenter + tcu::Vector<deInt64,2>(… in doesLineSegmentExitDiamond()
323 …{ tcu::Vector<deInt64,2>(0, -halfPixel), false, DiamondCorners::CORNER_EDGE_CASE_HIT_SECOND_QUA… in doesLineSegmentExitDiamond()
[all …]
/external/deqp/modules/gles31/functional/
Des31fPrimitiveBoundingBoxTests.cpp810 const float halfPixel = 0.5f; in getViewportPatternArea() local
821 pixelBox.x() = (int)deFloatCeil(vertexBox.x()+halfPixel); in getViewportPatternArea()
822 pixelBox.y() = (int)deFloatCeil(vertexBox.y()+halfPixel); in getViewportPatternArea()
823 pixelBox.z() = (int)deFloatFloor(vertexBox.z()-halfPixel); in getViewportPatternArea()
824 pixelBox.w() = (int)deFloatFloor(vertexBox.w()-halfPixel); in getViewportPatternArea()
828 pixelBox.x() = (int)deFloatFloor(vertexBox.x()-halfPixel); in getViewportPatternArea()
829 pixelBox.y() = (int)deFloatFloor(vertexBox.y()-halfPixel); in getViewportPatternArea()
830 pixelBox.z() = (int)deFloatCeil(vertexBox.z()+halfPixel); in getViewportPatternArea()
831 pixelBox.w() = (int)deFloatCeil(vertexBox.w()+halfPixel); in getViewportPatternArea()