Lines Matching refs:refPoint
2411 …bool verifyWidePoint (const tcu::Surface& viewport, const GeneratedPoint& refPoint, const …
2412 …u::IVec2& pointPos, const tcu::Surface& viewport, const GeneratedPoint& refPoint, const tcu::IVec4…
2990 const GeneratedPoint& refPoint = refPoints[pointNdx]; in verifyNarrowPointPattern() local
2993 if (refPoint.center.x() < bbox.min.x() - epsilon || in verifyNarrowPointPattern()
2994 refPoint.center.y() < bbox.min.y() - epsilon || in verifyNarrowPointPattern()
2995 refPoint.center.x() > bbox.max.x() + epsilon || in verifyNarrowPointPattern()
2996 refPoint.center.y() > bbox.max.y() + epsilon) in verifyNarrowPointPattern()
3001 …const tcu::IVec2 pixelCenter(deRoundFloatToInt32((refPoint.center.x() * 0.5f + 0.5f) * (float)view… in verifyNarrowPointPattern()
3002 deRoundFloatToInt32((refPoint.center.y() * 0.5f + 0.5f) * (float)viewport.getHeight())); in verifyNarrowPointPattern()
3011 const int componentNdx = (refPoint.even) ? (1) : (2); // analyze either green or blue channel in verifyNarrowPointPattern()
3033 …<< "Missing point near " << pixelCenter << ", vertex coordinates=" << refPoint.center.swizzle(0, 1… in verifyNarrowPointPattern()
3051 const GeneratedPoint& refPoint = refPoints[pointNdx]; in verifyWidePointPattern() local
3053 if (refPoint.center.x() >= bbox.min.x() && in verifyWidePointPattern()
3054 refPoint.center.y() >= bbox.min.y() && in verifyWidePointPattern()
3055 refPoint.center.x() <= bbox.max.x() && in verifyWidePointPattern()
3056 refPoint.center.y() <= bbox.max.y()) in verifyWidePointPattern()
3059 anyError |= !verifyWidePoint(viewport, refPoint, bbox, POINT_FULL, logFloodCounter); in verifyWidePointPattern()
3061 else if (refPoint.center.x() >= bbox.min.x() + (float)refPoint.size / 2.0f && in verifyWidePointPattern()
3062 refPoint.center.y() >= bbox.min.y() - (float)refPoint.size / 2.0f && in verifyWidePointPattern()
3063 refPoint.center.x() <= bbox.max.x() + (float)refPoint.size / 2.0f && in verifyWidePointPattern()
3064 refPoint.center.y() <= bbox.max.y() - (float)refPoint.size / 2.0f) in verifyWidePointPattern()
3067 anyError |= !verifyWidePoint(viewport, refPoint, bbox, POINT_PARTIAL, logFloodCounter); in verifyWidePointPattern()
3074 bool PointRenderCase::verifyWidePoint (const tcu::Surface& viewport, const GeneratedPoint& refPoint… in verifyWidePoint() argument
3076 const int componentNdx = (refPoint.even) ? (1) : (2); in verifyWidePoint()
3077 const int halfPointSizeCeil = (refPoint.size + 1) / 2; in verifyWidePoint()
3078 const int halfPointSizeFloor = (refPoint.size + 1) / 2; in verifyWidePoint()
3079 …BoundingBoxArea(bbox, tcu::IVec2(viewport.getWidth(), viewport.getHeight()), (float)refPoint.size); in verifyWidePoint()
3084 …const tcu::IVec2 pointPos = tcu::IVec2(deRoundFloatToInt32((refPoint.center.x()*0.5f + 0.5f) * (… in verifyWidePoint()
3085 … deRoundFloatToInt32((refPoint.center.y()*0.5f + 0.5f) * (float)viewport.getHeight())); in verifyWidePoint()
3095 …return verifyWidePointAt(pointPos, viewport, refPoint, verificationArea, pointType, componentNdx, … in verifyWidePoint()
3112 …return verifyWidePointAt(testPos, viewport, refPoint, verificationArea, pointType, componentNdx, l… in verifyWidePoint()
3127 …<< "Missing wide point near " << pointPos << ", vertex coordinates=" << refPoint.center.swizzle(0,… in verifyWidePoint()
3134 …u::IVec2& pointPos, const tcu::Surface& viewport, const GeneratedPoint& refPoint, const tcu::IVec4… in verifyWidePointAt() argument
3136 const int expectedPointSize = refPoint.size; in verifyWidePointAt()
3253 …edPointSize << " point near " << pointPos << ", vertex coordinates=" << refPoint.center.swizzle(0,… in verifyWidePointAt()