Home | History | Annotate | Download | only in functional

Lines Matching refs:pointPos

2412 	bool					verifyWidePointAt				(const tcu::IVec2& pointPos, const tcu::Surface& viewport, const GeneratedPoint& refPoint, const tcu::IVec4& bbox, ResultPointType pointType, int componentNdx, int& logFloodCounter);
2413 tcu::IVec2 scanPointWidthAt (const tcu::IVec2& pointPos, const tcu::Surface& viewport, int expectedPointSize, int componentNdx) const;
3084 const tcu::IVec2 pointPos = tcu::IVec2(deRoundFloatToInt32((refPoint.center.x()*0.5f + 0.5f) * (float)viewport.getWidth()),
3089 if (pointPos.x() >= verificationArea.x() &&
3090 pointPos.y() >= verificationArea.y() &&
3091 pointPos.x() < verificationArea.z() &&
3092 pointPos.y() < verificationArea.w())
3094 if (viewport.getPixel(pointPos.x(), pointPos.y()).toIVec()[componentNdx])
3095 return verifyWidePointAt(pointPos, viewport, refPoint, verificationArea, pointType, componentNdx, logFloodCounter);
3101 const tcu::IVec2 testPos = pointPos + tcu::IVec2(dx, dy);
3117 if (pointPos.x() + halfPointSizeFloor < verificationArea.x() - 1 ||
3118 pointPos.y() + halfPointSizeFloor < verificationArea.y() - 1 ||
3119 pointPos.x() - halfPointSizeFloor >= verificationArea.z() - 1 ||
3120 pointPos.y() - halfPointSizeFloor >= verificationArea.w() - 1)
3127 << "Missing wide point near " << pointPos << ", vertex coordinates=" << refPoint.center.swizzle(0, 1) << "."
3134 bool PointRenderCase::verifyWidePointAt (const tcu::IVec2& pointPos, const tcu::Surface& viewport, const GeneratedPoint& refPoint, const tcu::IVec4& bbox, ResultPointType pointType, int componentNdx, int& logFloodCounter)
3146 for (int y = pointPos.y();; --y)
3156 else if (pointPos.y() - y > expectedPointSize)
3161 else if (viewport.getPixel(pointPos.x(), y).toIVec()[componentNdx] == 0)
3167 widthsUpwards.push_back(scanPointWidthAt(tcu::IVec2(pointPos.x(), y), viewport, expectedPointSize, componentNdx));
3183 for (int y = pointPos.y()+1;; ++y)
3193 else if (y - pointPos.y() > expectedPointSize)
3198 else if (viewport.getPixel(pointPos.x(), y).toIVec()[componentNdx] == 0)
3204 widthsDownwards.push_back(scanPointWidthAt(tcu::IVec2(pointPos.x(), y), viewport, expectedPointSize, componentNdx));
3253 << "Missing " << expectedPointSize << "x" << expectedPointSize << " point near " << pointPos << ", vertex coordinates=" << refPoint.center.swizzle(0, 1) << "."
3259 tcu::IVec2 PointRenderCase::scanPointWidthAt (const tcu::IVec2& pointPos, const tcu::Surface& viewport, int expectedPointSize, int componentNdx) const
3261 int minX = pointPos.x();
3262 int maxX = pointPos.x();
3265 for (int x = pointPos.x()-1; x >= 0; --x)
3267 if (viewport.getPixel(x, pointPos.y()).toIVec()[componentNdx] == 0)
3271 if (pointPos.x() - x > expectedPointSize)
3276 for (int x = pointPos.x()+1; x < viewport.getWidth(); ++x)
3278 if (viewport.getPixel(x, pointPos.y()).toIVec()[componentNdx] == 0)
3282 if (x - pointPos.x() > expectedPointSize)