• Home
  • Raw
  • Download

Lines Matching refs:halfPixel

135 	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()
324 …{ tcu::Vector<deInt64,2>(-halfPixel, 0), false, DiamondCorners::CORNER_EDGE_CASE_NONE, Diam… in doesLineSegmentExitDiamond()
325 …{ tcu::Vector<deInt64,2>(0, halfPixel), false, DiamondCorners::CORNER_EDGE_CASE_HIT_FIRST_QUAR… in doesLineSegmentExitDiamond()
326 …{ tcu::Vector<deInt64,2>(halfPixel, 0), true, DiamondCorners::CORNER_EDGE_CASE_HIT, Diamon… in doesLineSegmentExitDiamond()
540 const deUint64 halfPixel = 1ll << (RASTERIZER_SUBPIXEL_BITS-1); in rasterizeSingleSample() local
556 const deInt64 sx0 = toSubpixelCoord(x0) + halfPixel; in rasterizeSingleSample()
557 const deInt64 sx1 = toSubpixelCoord(x0+1) + halfPixel; in rasterizeSingleSample()
558 const deInt64 sy0 = toSubpixelCoord(y0) + halfPixel; in rasterizeSingleSample()
559 const deInt64 sy1 = toSubpixelCoord(y0+1) + halfPixel; in rasterizeSingleSample()
712 const deUint64 halfPixel = 1ll << (RASTERIZER_SUBPIXEL_BITS-1); in rasterizeMultiSample() local
825 e01f[i] = float(evaluateEdge(m_edge01, sx[i] + halfPixel, sy[i] + halfPixel)); in rasterizeMultiSample()
826 e12f[i] = float(evaluateEdge(m_edge12, sx[i] + halfPixel, sy[i] + halfPixel)); in rasterizeMultiSample()
827 e20f[i] = float(evaluateEdge(m_edge20, sx[i] + halfPixel, sy[i] + halfPixel)); in rasterizeMultiSample()
933 const deInt64 halfPixel = 1ll << (RASTERIZER_SUBPIXEL_BITS-1); in rasterize() local
948 …osition = LineRasterUtil::toSubpixelVector(m_curPos) + tcu::Vector<deInt64,2>(halfPixel,halfPixel); in rasterize()
1132 const deInt64 halfPixel = 1ll << (RASTERIZER_SUBPIXEL_BITS-1); in rasterize() local
1141 …osition = LineRasterUtil::toSubpixelVector(m_curPos) + tcu::Vector<deInt64,2>(halfPixel,halfPixel); in rasterize()