Lines Matching refs:pointPos

2488 	bool					verifyWidePointAt				(const tcu::IVec2& pointPos, const tcu::Surface& viewport, const GeneratedPoint& refPoint, const tcu::IVec4& bbox, ResultPointType pointType, int componentNdx, int& logFloodCounter);
2489 tcu::IVec2 scanPointWidthAt (const tcu::IVec2& pointPos, const tcu::Surface& viewport, int expectedPointSize, int componentNdx) const;
3171 const tcu::IVec2 pointPos = tcu::IVec2(deRoundFloatToInt32((refPoint.center.x()*0.5f + 0.5f) * (float)viewport.getWidth()),
3176 if (pointPos.x() >= verificationArea.x() &&
3177 pointPos.y() >= verificationArea.y() &&
3178 pointPos.x() < verificationArea.z() &&
3179 pointPos.y() < verificationArea.w())
3181 if (viewport.getPixel(pointPos.x(), pointPos.y()).toIVec()[componentNdx])
3182 return verifyWidePointAt(pointPos, viewport, refPoint, verificationArea, pointType, componentNdx, logFloodCounter);
3188 const tcu::IVec2 testPos = pointPos + tcu::IVec2(dx, dy);
3204 if (pointPos.x() + halfPointSizeFloor < verificationArea.x() - 1 ||
3205 pointPos.y() + halfPointSizeFloor < verificationArea.y() - 1 ||
3206 pointPos.x() - halfPointSizeFloor >= verificationArea.z() - 1 ||
3207 pointPos.y() - halfPointSizeFloor >= verificationArea.w() - 1)
3214 << "Missing wide point near " << pointPos << ", vertex coordinates=" << refPoint.center.swizzle(0, 1) << "."
3221 bool PointRenderCase::verifyWidePointAt (const tcu::IVec2& pointPos, const tcu::Surface& viewport, const GeneratedPoint& refPoint, const tcu::IVec4& bbox, ResultPointType pointType, int componentNdx, int& logFloodCounter)
3233 for (int y = pointPos.y();; --y)
3243 else if (pointPos.y() - y > expectedPointSize)
3248 else if (viewport.getPixel(pointPos.x(), y).toIVec()[componentNdx] == 0)
3254 widthsUpwards.push_back(scanPointWidthAt(tcu::IVec2(pointPos.x(), y), viewport, expectedPointSize, componentNdx));
3270 for (int y = pointPos.y()+1;; ++y)
3280 else if (y - pointPos.y() > expectedPointSize)
3285 else if (viewport.getPixel(pointPos.x(), y).toIVec()[componentNdx] == 0)
3291 widthsDownwards.push_back(scanPointWidthAt(tcu::IVec2(pointPos.x(), y), viewport, expectedPointSize, componentNdx));
3340 << "Missing " << expectedPointSize << "x" << expectedPointSize << " point near " << pointPos << ", vertex coordinates=" << refPoint.center.swizzle(0, 1) << "."
3346 tcu::IVec2 PointRenderCase::scanPointWidthAt (const tcu::IVec2& pointPos, const tcu::Surface& viewport, int expectedPointSize, int componentNdx) const
3348 int minX = pointPos.x();
3349 int maxX = pointPos.x();
3352 for (int x = pointPos.x()-1; x >= 0; --x)
3354 if (viewport.getPixel(x, pointPos.y()).toIVec()[componentNdx] == 0)
3358 if (pointPos.x() - x > expectedPointSize)
3363 for (int x = pointPos.x()+1; x < viewport.getWidth(); ++x)
3365 if (viewport.getPixel(x, pointPos.y()).toIVec()[componentNdx] == 0)
3369 if (x - pointPos.x() > expectedPointSize)