Lines Matching refs:m_subpixelBits
454 , m_subpixelBits (subpixelBits) in TriangleRasterizer()
473 const deInt64 x0 = toSubpixelCoord(v0.x(), m_subpixelBits); in init()
474 const deInt64 y0 = toSubpixelCoord(v0.y(), m_subpixelBits); in init()
475 const deInt64 x1 = toSubpixelCoord(v1.x(), m_subpixelBits); in init()
476 const deInt64 y1 = toSubpixelCoord(v1.y(), m_subpixelBits); in init()
477 const deInt64 x2 = toSubpixelCoord(v2.x(), m_subpixelBits); in init()
478 const deInt64 y2 = toSubpixelCoord(v2.y(), m_subpixelBits); in init()
518 m_bboxMin.x() = floorSubpixelToPixelCoord (xMin, m_subpixelBits, m_horizontalFill == FILL_LEFT); in init()
519 m_bboxMin.y() = floorSubpixelToPixelCoord (yMin, m_subpixelBits, m_verticalFill == FILL_BOTTOM); in init()
520 m_bboxMax.x() = ceilSubpixelToPixelCoord (xMax, m_subpixelBits, m_horizontalFill == FILL_RIGHT); in init()
521 m_bboxMax.y() = ceilSubpixelToPixelCoord (yMax, m_subpixelBits, m_verticalFill == FILL_TOP); in init()
541 const deUint64 halfPixel = 1ll << (m_subpixelBits - 1); in rasterizeSingleSample()
557 const deInt64 sx0 = toSubpixelCoord(x0, m_subpixelBits) + halfPixel; in rasterizeSingleSample()
558 const deInt64 sx1 = toSubpixelCoord(x0+1, m_subpixelBits) + halfPixel; in rasterizeSingleSample()
559 const deInt64 sy0 = toSubpixelCoord(y0, m_subpixelBits) + halfPixel; in rasterizeSingleSample()
560 const deInt64 sy1 = toSubpixelCoord(y0+1, m_subpixelBits) + halfPixel; in rasterizeSingleSample()
701 const deUint64 halfPixel = 1ll << (m_subpixelBits - 1); in rasterizeMultiSample()
720 samplePos[c] = toSubpixelCoord(samplePts[c], m_subpixelBits); in rasterizeMultiSample()
728 const deInt64 sx0 = toSubpixelCoord(x0, m_subpixelBits); in rasterizeMultiSample()
729 const deInt64 sx1 = toSubpixelCoord(x0+1, m_subpixelBits); in rasterizeMultiSample()
730 const deInt64 sy0 = toSubpixelCoord(y0, m_subpixelBits); in rasterizeMultiSample()
731 const deInt64 sy1 = toSubpixelCoord(y0+1, m_subpixelBits); in rasterizeMultiSample()
860 , m_subpixelBits (subpixelBits) in SingleSampleLineRasterizer()
878 … -1) : tcu::Vector<deInt64,2>(-1, 0)) * (toSubpixelCoord(lineWidthPixels - 1, m_subpixelBits) / 2); in init()
880 const deInt64 x0 = toSubpixelCoord(v0.x(), m_subpixelBits) + widthOffset.x(); in init()
881 const deInt64 y0 = toSubpixelCoord(v0.y(), m_subpixelBits) + widthOffset.y(); in init()
882 const deInt64 x1 = toSubpixelCoord(v1.x(), m_subpixelBits) + widthOffset.x(); in init()
883 const deInt64 y1 = toSubpixelCoord(v1.y(), m_subpixelBits) + widthOffset.y(); in init()
886 const deInt64 xMin = de::min(x0, x1) - toSubpixelCoord(1, m_subpixelBits); in init()
887 const deInt64 xMax = de::max(x0, x1) + toSubpixelCoord(1, m_subpixelBits); in init()
888 const deInt64 yMin = de::min(y0, y1) - toSubpixelCoord(1, m_subpixelBits); in init()
889 const deInt64 yMax = de::max(y0, y1) + toSubpixelCoord(1, m_subpixelBits); in init()
896 …m_bboxMin.x() = de::clamp(floorSubpixelToPixelCoord(xMin, m_subpixelBits, true), m_viewport.x(), m… in init()
897 …m_bboxMax.x() = de::clamp(ceilSubpixelToPixelCoord (xMax, m_subpixelBits, true), m_viewport.x(), m… in init()
900 …m_bboxMin.y() = de::clamp(floorSubpixelToPixelCoord(yMin, m_subpixelBits, true), m_viewport.y() - … in init()
901 …m_bboxMax.y() = de::clamp(ceilSubpixelToPixelCoord (yMax, m_subpixelBits, true), m_viewport.y() - … in init()
906 …m_bboxMin.y() = de::clamp(floorSubpixelToPixelCoord(yMin, m_subpixelBits, true), m_viewport.y(), m… in init()
907 …m_bboxMax.y() = de::clamp(ceilSubpixelToPixelCoord (yMax, m_subpixelBits, true), m_viewport.y(), m… in init()
910 …m_bboxMin.x() = de::clamp(floorSubpixelToPixelCoord(xMin, m_subpixelBits, true), m_viewport.x() - … in init()
911 …m_bboxMax.x() = de::clamp(ceilSubpixelToPixelCoord (xMax, m_subpixelBits, true), m_viewport.x() - … in init()
936 const deInt64 halfPixel = 1ll << (m_subpixelBits - 1); in rasterize()
942 …hOffset = -minorDirection.cast<deInt64>() * (toSubpixelCoord(lineWidth - 1, m_subpixelBits) / 2); in rasterize()
943 …r<deInt64,2> pa = LineRasterUtil::toSubpixelVector(m_v0.xy(), m_subpixelBits) + widthOffset; in rasterize()
944 …r<deInt64,2> pb = LineRasterUtil::toSubpixelVector(m_v1.xy(), m_subpixelBits) + widthOffset; in rasterize()
953 …nt64,2> diamondPosition = LineRasterUtil::toSubpixelVector(m_curPos, m_subpixelBits) + tcu::Vector… in rasterize()
956 if (LineRasterUtil::doesLineSegmentExitDiamond(line, diamondPosition, m_subpixelBits)) in rasterize()
1110 : m_subpixelBits(subpixelBits) in LineExitDiamondGenerator()
1120 const deInt64 x0 = toSubpixelCoord(v0.x(), m_subpixelBits); in init()
1121 const deInt64 y0 = toSubpixelCoord(v0.y(), m_subpixelBits); in init()
1122 const deInt64 x1 = toSubpixelCoord(v1.x(), m_subpixelBits); in init()
1123 const deInt64 y1 = toSubpixelCoord(v1.y(), m_subpixelBits); in init()
1126 const deInt64 xMin = de::min(x0, x1) - toSubpixelCoord(1, m_subpixelBits); in init()
1127 const deInt64 xMax = de::max(x0, x1) + toSubpixelCoord(1, m_subpixelBits); in init()
1128 const deInt64 yMin = de::min(y0, y1) - toSubpixelCoord(1, m_subpixelBits); in init()
1129 const deInt64 yMax = de::max(y0, y1) + toSubpixelCoord(1, m_subpixelBits); in init()
1131 m_bboxMin.x() = floorSubpixelToPixelCoord(xMin, m_subpixelBits, true); in init()
1132 m_bboxMin.y() = floorSubpixelToPixelCoord(yMin, m_subpixelBits, true); in init()
1133 m_bboxMax.x() = ceilSubpixelToPixelCoord (xMax, m_subpixelBits, true); in init()
1134 m_bboxMax.y() = ceilSubpixelToPixelCoord (yMax, m_subpixelBits, true); in init()
1146 const deInt64 halfPixel = 1ll << (m_subpixelBits - 1); in rasterize()
1147 …nst tcu::Vector<deInt64,2> pa = LineRasterUtil::toSubpixelVector(m_v0.xy(), m_subpixelBits); in rasterize()
1148 …nst tcu::Vector<deInt64,2> pb = LineRasterUtil::toSubpixelVector(m_v1.xy(), m_subpixelBits); in rasterize()
1155 …nt64,2> diamondPosition = LineRasterUtil::toSubpixelVector(m_curPos, m_subpixelBits) + tcu::Vector… in rasterize()
1157 if (LineRasterUtil::doesLineSegmentExitDiamond(line, diamondPosition, m_subpixelBits)) in rasterize()