Searched defs:compareThreshold (Results 1 - 8 of 8) sorted by relevance

/external/deqp/framework/common/
H A DtcuRGBA.hpp137 inline bool compareThreshold (RGBA a, RGBA b, RGBA threshold) function in namespace:tcu
/external/deqp/modules/gles2/functional/
H A Des2fBlendTests.cpp272 UVec4 compareThreshold = m_context.getRenderTarget().getPixelFormat().getColorThreshold().toIVec().asUint() local
275 bool comparePass = tcu::intThresholdCompare(m_testCtx.getLog(), "CompareResult", "Image Comparison Result", referenceImg.getAccess(), renderedImg.getAccess(), compareThreshold, tcu::COMPARE_LOG_RESULT);
H A Des2fPolygonOffsetTests.cpp77 inline bool compareThreshold (const tcu::IVec4& a, const tcu::IVec4& b, const tcu::IVec4& threshold) function in namespace:deqp::gles2::Functional::__anon4021
117 if (compareThreshold(cRef, cTest, threshold))
133 if (compareThreshold(cRef, cTest, threshold))
/external/deqp/modules/gles3/functional/
H A Des3fBlendTests.cpp327 UVec4 compareThreshold = (m_useSrgbFbo ? tcu::PixelFormat(8, 8, 8, 8) : m_context.getRenderTarget().getPixelFormat()).getColorThreshold().toIVec().asUint() local
332 compareThreshold, tcu::COMPARE_LOG_RESULT);
H A Des3fPolygonOffsetTests.cpp80 inline bool compareThreshold (const tcu::IVec4& a, const tcu::IVec4& b, const tcu::IVec4& threshold) function in namespace:deqp::gles3::Functional::__anon4167
120 if (compareThreshold(cRef, cTest, threshold))
136 if (compareThreshold(cRef, cTest, threshold))
/external/deqp/modules/gles31/functional/
H A Des31fAdvancedBlendTests.cpp549 const UVec4 compareThreshold = (useFbo ? tcu::PixelFormat(8, 8, 8, 8) : m_context.getRenderTarget().getPixelFormat()).getColorThreshold().toIVec().asUint() local
555 tcu::RGBA(compareThreshold[0], compareThreshold[1], compareThreshold[2], compareThreshold[3]),
H A Des31fLayoutBindingTests.cpp537 const tcu::RGBA compareThreshold = tcu::RGBA(de::clamp(2 * surfaceThreshold.getRed(), 0, 255), local
557 return tcu::pixelThresholdCompare(m_testCtx.getLog(), "Render result", "Result verification", reference, result, compareThreshold, tcu::COMPARE_LOG_RESULT);
/external/deqp/modules/glshared/
H A DglsDrawTest.cpp3521 static inline bool colorsEqual (const tcu::RGBA& colorA, const tcu::RGBA& colorB, const tcu::IVec3& compareThreshold) argument
3528 return tcu::compareThresholdMasked(colorA, colorB, tcu::RGBA(compareThreshold.x(), compareThreshold.y(), compareThreshold.z(), 0), TCU_RGBA_RGB_MASK);
3532 static bool pixelNeighborhoodContainsColor (const tcu::Surface& target, int x, int y, const tcu::RGBA& color, const tcu::IVec3& compareThreshold) argument
3542 if (colorsEqual(color, targetCmpPixel, compareThreshold))
3567 static bool edgeRelaxedImageCompare (tcu::TestLog& log, const char* imageSetName, const char* imageSetDesc, const tcu::Surface& reference, const tcu::Surface& result, const tcu::IVec3& compareThreshold, const tcu::IVec3& renderTargetThreshold, int maxAllowedInvalidPixels) argument
3593 const bool directMatch = colorsEqual(refPixel, screenPixel, compareThreshold);
3594 const bool isOkReferencePixel = directMatch || pixelNeighborhoodContainsColor(result, x, y, refPixel, compareThreshold); // screen image has a matching pixel nearby (~= If something is drawn on reference, it must be drawn to screen too.)
3595 const bool isOkScreenPixel = directMatch || pixelNeighborhoodContainsColor(reference, x, y, screenPixel, compareThreshold); // referenc
3662 intersectionRelaxedLineImageCompare(tcu::TestLog& log, const char* imageSetName, const char* imageSetDesc, const tcu::Surface& reference, const tcu::Surface& result, const tcu::IVec3& compareThreshold, int maxAllowedInvalidPixels) argument
[all...]

Completed in 367 milliseconds