Lines Matching refs:IVec2
107 static tcu::IVec4 getViewportBoundingBoxArea (const ProjectedBBox& bbox, const tcu::IVec2& viewport… in getViewportBoundingBoxArea()
605 tcu::IVec2 viewportPos;
606 tcu::IVec2 viewportSize;
622 …virtual IterationConfig generateConfig (int iteration, const tcu::IVec2& renderTargetSize) c…
627 IterationConfig generateRandomConfig (int seed, const tcu::IVec2& renderTargetSize) const;
628 … (const tcu::Vec2& patternPos, const tcu::Vec2& patternSize, const tcu::IVec2& viewportSize, AAB…
703 const tcu::IVec2 renderTargetSize = (m_renderTarget == RENDERTARGET_DEFAULT) ? in init()
704 … (tcu::IVec2(m_context.getRenderTarget().getWidth(), m_context.getRenderTarget().getHeight())) : in init()
705 (tcu::IVec2(FBO_SIZE, FBO_SIZE)); in init()
837 BBoxRenderCase::IterationConfig BBoxRenderCase::generateRandomConfig (int seed, const tcu::IVec2& r… in generateRandomConfig()
882 …ea (const tcu::Vec2& patternPos, const tcu::Vec2& patternSize, const tcu::IVec2& viewportSize, AAB… in getViewportPatternArea()
1043 IterationConfig generateConfig (int iteration, const tcu::IVec2& renderTargetSize) const;
1319 GridRenderCase::IterationConfig GridRenderCase::generateConfig (int iteration, const tcu::IVec2& re… in generateConfig()
1531 IterationConfig generateConfig (int iteration, const tcu::IVec2& renderTargetSize) const;
1536 …tcu::IVec2 getNumberOfLinesRange (int queryAreaBegin, int queryAreaEnd, float patternStart, fl…
1537 …owBegin, int rowEnd, int rowViewportBegin, int rowViewportEnd, const tcu::IVec2& numLines, int& fl…
1538 …int columnEnd, int columnViewportBegin, int columnViewportEnd, const tcu::IVec2& numLines, int& fl…
1539 …ss, const tcu::IVec4& area, int& floodCounter, int componentNdx, const tcu::IVec2& numLines) const;
1540 …ty (const tcu::ConstPixelBufferAccess& access, const tcu::IVec2& begin, const tcu::IVec2& end, …
1541 …tcu::IVec2 getNumMinimaMaxima (const tcu::ConstPixelBufferAccess& access, int componentNdx) c…
1542 …s (const tcu::ConstPixelBufferAccess& access, const tcu::IVec2& begin, const tcu::IVec2& end, …
1543 …void printLineWidthError (const tcu::IVec2& pos, int detectedLineWidth, const tcu::IVec2& li…
1814 LineRenderCase::IterationConfig LineRenderCase::generateConfig (int iteration, const tcu::IVec2& re… in generateConfig()
1914 …const tcu::IVec2 expectedHorizontalLines = getNumberOfLinesRange(viewportBBoxArea.y(), viewportB… in verifyRenderResult()
1915 …const tcu::IVec2 expectedVerticalLines = getNumberOfLinesRange(viewportBBoxArea.x(), viewportBBo… in verifyRenderResult()
2109 tcu::IVec2 LineRenderCase::getNumberOfLinesRange (int queryAreaBegin, int queryAreaEnd, float patte… in getNumberOfLinesRange()
2138 return tcu::IVec2(numLinesMin, numLinesMax); in getNumberOfLinesRange()
2141 …owBegin, int rowEnd, int rowViewportBegin, int rowViewportEnd, const tcu::IVec2& numLines, int& me… in scanRow()
2144 …const deUint8 lineWidthRes = checkLineWidths(access, tcu::IVec2(rowBegin, row), tcu::IVec2(rowEnd… in scanRow()
2145 …t8 lineContinuityRes = checkLineContinuity(access, tcu::IVec2(rowViewportBegin, row), tcu::IVec2(r… in scanRow()
2164 …int columnEnd, int columnViewportBegin, int columnViewportEnd, const tcu::IVec2& numLines, int& me… in scanColumn()
2167 …const deUint8 lineWidthRes = checkLineWidths(access, tcu::IVec2(column, columnBegin), tcu::IVec2(… in scanColumn()
2168 …lineContinuityRes = checkLineContinuity(access, tcu::IVec2(column, columnViewportBegin), tcu::IVec… in scanColumn()
2187 …nst tcu::IVec4& area, int& messageLimitCounter, int componentNdx, const tcu::IVec2& numLines) const in checkAreaNumLines()
2191 const tcu::IVec2 numMinimaMaxima = getNumMinimaMaxima(subAccess, componentNdx); in checkAreaNumLines()
2217 tcu::IVec2 LineRenderCase::getNumMinimaMaxima (const tcu::ConstPixelBufferAccess& access, int compo… in getNumMinimaMaxima()
2271 return tcu::IVec2(numMinima, numMaxima); in getNumMinimaMaxima()
2274 …nuity (const tcu::ConstPixelBufferAccess& access, const tcu::IVec2& begin, const tcu::IVec2& end, … in checkLineContinuity()
2277 const tcu::IVec2 advance = (begin.x() == end.x()) ? (tcu::IVec2(0, 1)) : (tcu::IVec2(1, 0)); in checkLineContinuity()
2282 for (tcu::IVec2 cursor = begin; cursor != end; cursor += advance) in checkLineContinuity()
2291 const tcu::IVec2 advanceNeighbor = tcu::IVec2(1, 1) - advance; in checkLineContinuity()
2292 const tcu::IVec2 cursorNeighborPos = cursor + advanceNeighbor; in checkLineContinuity()
2293 const tcu::IVec2 cursorNeighborNeg = cursor - advanceNeighbor; in checkLineContinuity()
2321 …idths (const tcu::ConstPixelBufferAccess& access, const tcu::IVec2& begin, const tcu::IVec2& end, … in checkLineWidths()
2325 const tcu::IVec2 lineWidthRange = (multisample) in checkLineWidths()
2326 …? (tcu::IVec2(lineRenderWidth, lineRenderWidth+1)) // multisampled "smooth" lines may spread to ne… in checkLineWidths()
2327 : (tcu::IVec2(lineRenderWidth, lineRenderWidth)); in checkLineWidths()
2328 const tcu::IVec2 relaxedLineWidthRange = (tcu::IVec2(lineRenderWidth-1, lineRenderWidth+1)); in checkLineWidths()
2334 const tcu::IVec2 advance = (begin.x() == end.x()) ? (tcu::IVec2(0, 1)) : (tcu::IVec2(1, 0)); in checkLineWidths()
2341 for (tcu::IVec2 cursor = begin - advance;; cursor -= advance) in checkLineWidths()
2356 for (tcu::IVec2 cursor = begin; cursor != end; cursor += advance) in checkLineWidths()
2387 for (tcu::IVec2 cursor = end;; cursor += advance) in checkLineWidths()
2433 …id LineRenderCase::printLineWidthError (const tcu::IVec2& pos, int detectedLineWidth, const tcu::I… in printLineWidthError()
2478 IterationConfig generateConfig (int iteration, const tcu::IVec2& renderTargetSize) const;
2488 …bool verifyWidePointAt (const tcu::IVec2& pointPos, const tcu::Surface& viewport, const Gen…
2489 …tcu::IVec2 scanPointWidthAt (const tcu::IVec2& pointPos, const tcu::Surface& viewport, int e…
2819 PointRenderCase::IterationConfig PointRenderCase::generateConfig (int iteration, const tcu::IVec2& … in generateConfig()
3088 …const tcu::IVec2 pixelCenter(deRoundFloatToInt32((refPoint.center.x() * 0.5f + 0.5f) * (float)view… in verifyNarrowPointPattern()
3105 const tcu::IVec2 testPos (pixelCenter.x() + dx, pixelCenter.y() + dy); in verifyNarrowPointPattern()
3166 …const tcu::IVec4 viewportBBoxArea = getViewportBoundingBoxArea(bbox, tcu::IVec2(viewport.getWidth(… in verifyWidePoint()
3171 …const tcu::IVec2 pointPos = tcu::IVec2(deRoundFloatToInt32((refPoint.center.x()*0.5f + 0.5f) * (… in verifyWidePoint()
3188 const tcu::IVec2 testPos = pointPos + tcu::IVec2(dx, dy); in verifyWidePoint()
3221 bool PointRenderCase::verifyWidePointAt (const tcu::IVec2& pointPos, const tcu::Surface& viewport, … in verifyWidePointAt()
3228 std::vector<tcu::IVec2> widthsUpwards; in verifyWidePointAt()
3229 std::vector<tcu::IVec2> widthsDownwards; in verifyWidePointAt()
3230 std::vector<tcu::IVec2> widths; in verifyWidePointAt()
3254 …widthsUpwards.push_back(scanPointWidthAt(tcu::IVec2(pointPos.x(), y), viewport, expectedPointSize,… in verifyWidePointAt()
3261 const tcu::IVec2& range = widthsUpwards.back(); in verifyWidePointAt()
3291 …widthsDownwards.push_back(scanPointWidthAt(tcu::IVec2(pointPos.x(), y), viewport, expectedPointSiz… in verifyWidePointAt()
3298 …const tcu::IVec2& range = (widthsDownwards.empty()) ? (widthsUpwards.front()) : (widthsDownwards… in verifyWidePointAt()
3317 tcu::IVec2 unionRange = widths[y]; in verifyWidePointAt()
3346 tcu::IVec2 PointRenderCase::scanPointWidthAt (const tcu::IVec2& pointPos, const tcu::Surface& viewp… in scanPointWidthAt()
3375 return tcu::IVec2(minX, maxX); in scanPointWidthAt()
3552 …:IVec2 srcSize = (m_src == TARGET_DEFAULT) ? (tcu::IVec2(m_context.getRenderTarget().getWidth(), m… in init()
3553 …:IVec2 dstSize = (m_dst == TARGET_DEFAULT) ? (tcu::IVec2(m_context.getRenderTarget().getWidth(), m… in init()
3567 …const tcu::IVec2 unionSize = tcu::IVec2(de::min(srcSize.x(), dstSize.x()), de::min(srcSize.y(), ds… in init()
3689 …IVec2 dstSize = (m_dst == TARGET_DEFAULT) ? (tcu::IVec2(m_context.getRenderTarget().getWidth(),… in verifyImage()
3748 …IVec2 srcSize = (m_src == TARGET_DEFAULT) ? (tcu::IVec2(m_context.getRenderTarget().getWidth(), … in fillSourceWithPattern()
4365 …const tcu::IVec2 renderTargetSize (m_context.getRenderTarget().getWidth(), m_context.getRenderTarg… in iterate()
4486 …const tcu::IVec2 renderTargetSize (m_context.getRenderTarget().getWidth(), m_context.getRenderTar… in renderTo()
4839 …const tcu::IVec2 viewportSize = tcu::IVec2(m_context.getRenderTarget().getWidth(), m_context.getR… in iterate()
4979 …const tcu::IVec2 insideBorder (deCeilFloatToInt32(0.25f * (float)result.getWidth()) + 1, deFloorFl… in verifyImage()
4980 …const tcu::IVec2 outsideBorder (deFloorFloatToInt32(0.25f * (float)result.getWidth()) - 1, deCeilF… in verifyImage()