/external/deqp/framework/common/ |
D | tcuBilinearImageCompare.cpp | 127 if (compareThreshold(resPix, readRGBA8(reference, x1, y1), threshold) || in comparePixelRGBA8() 128 compareThreshold(resPix, readRGBA8(reference, x0, y1), threshold) || in comparePixelRGBA8() 129 compareThreshold(resPix, readRGBA8(reference, x2, y1), threshold) || in comparePixelRGBA8() 130 compareThreshold(resPix, readRGBA8(reference, x0, y0), threshold) || in comparePixelRGBA8() 131 compareThreshold(resPix, readRGBA8(reference, x1, y0), threshold) || in comparePixelRGBA8() 132 compareThreshold(resPix, readRGBA8(reference, x2, y0), threshold) || in comparePixelRGBA8() 133 compareThreshold(resPix, readRGBA8(reference, x0, y2), threshold) || in comparePixelRGBA8() 134 compareThreshold(resPix, readRGBA8(reference, x1, y2), threshold) || in comparePixelRGBA8() 135 compareThreshold(resPix, readRGBA8(reference, x2, y2), threshold)) in comparePixelRGBA8() 183 … if (compareThreshold(resPix, bilinearSampleRGBA8(reference, (deUint32)u, (deUint32)v), threshold)) in comparePixelRGBA8()
|
D | tcuRGBA.hpp | 137 inline bool compareThreshold (RGBA a, RGBA b, RGBA threshold) in compareThreshold() function
|
/external/deqp/modules/gles31/functional/ |
D | es31fShaderHelperInvocationTests.cpp | 394 const bool isBg = tcu::compareThreshold(resPix, bgRef, threshold); in verifyHelperInvocationValue() 395 const bool isFg = tcu::compareThreshold(resPix, fgRef, threshold); in verifyHelperInvocationValue() 560 if (tcu::compareThreshold(color, neighborColor, threshold)) in hasNeighborWithColor() 585 const bool isBg = tcu::compareThreshold(resPix, bgRef, isBgThreshold); in verifyHelperInvocationDerivate() 586 const bool isFg = tcu::compareThreshold(resPix, fgRef, isFgThreshold); in verifyHelperInvocationDerivate()
|
D | es31fAdvancedBlendTests.cpp | 565 …const UVec4 compareThreshold = (useFbo ? tcu::PixelFormat(8, 8, 8, 8) : m_context.getRenderTarget(… in iterate() local 571 … tcu::RGBA(compareThreshold[0], compareThreshold[1], compareThreshold[2], compareThreshold[3]), in iterate()
|
D | es31fLayoutBindingTests.cpp | 646 const tcu::RGBA compareThreshold = tcu::RGBA(de::clamp(2 * surfaceThreshold.getRed(), 0, 255), in drawAndVerifyResult() local 666 …etLog(), "Render result", "Result verification", reference, result, compareThreshold, tcu::COMPARE… in drawAndVerifyResult()
|
/external/deqp/modules/gles3/functional/ |
D | es3fFramebufferBlitTests.cpp | 195 const bool signConfig = tcu::compareThreshold(baseColor, cellColorA, threshold); in compare() 220 …const bool isValidColor = tcu::compareThreshold(color, cellColorA, threshold) || tcu::compareThres… in compare() 249 if (tcu::compareThreshold(color, cellColorA, threshold)) in compare() 251 else if (tcu::compareThreshold(color, cellColorB, threshold)) in compare() 260 if (tcu::compareThreshold(color, cellColorA, threshold)) in compare() 262 else if (tcu::compareThreshold(color, cellColorB, threshold)) in compare() 274 const bool resultSign = tcu::compareThreshold(cellColorA, color, threshold); in compare()
|
D | es3fPrerequisiteTests.cpp | 245 bool isPixelOk = compareThreshold(refRGBA, resRGBA, colorThreshold); in iterate()
|
D | es3fBlendTests.cpp | 327 …UVec4 compareThreshold = (m_useSrgbFbo ? tcu::PixelFormat(8, 8, 8, 8) : m_context.getRenderTarget(… in iterate() local 332 compareThreshold, tcu::COMPARE_LOG_RESULT); in iterate()
|
D | es3fShaderFragDataTests.cpp | 94 const bool isOk = compareThreshold(resultColor, expectedColor, threshold); in compareSingleColor()
|
D | es3fPolygonOffsetTests.cpp | 80 inline bool compareThreshold (const tcu::IVec4& a, const tcu::IVec4& b, const tcu::IVec4& threshold) in compareThreshold() function 120 if (compareThreshold(cRef, cTest, threshold)) in compareImages() 136 if (compareThreshold(cRef, cTest, threshold)) in compareImages()
|
D | es3fFboMultisampleTests.cpp | 332 TCU_CHECK(compareThreshold(color, tcu::RGBA::green(), threshold)); in test()
|
D | es3fMultisampleTests.cpp | 136 …if (!tcu::compareThreshold(pixColor, insideColor, tcu::RGBA(3, 3, 3, 3))) // Pixel color differs f… in isPixelRegionUnicolored() 163 if (!tcu::compareThreshold(img.getPixel(x, y), refColor, tcu::RGBA(3, 3, 3, 3))) in drawUnicolorTestErrors() 608 if (tcu::compareThreshold(color, m_detectedColors[i], tcu::RGBA(3, 3, 3, 3))) in iterate()
|
/external/deqp/modules/glshared/ |
D | glsDrawTest.cpp | 3454 … colorsEqual (const tcu::RGBA& colorA, const tcu::RGBA& colorB, const tcu::IVec3& compareThreshold) in colorsEqual() argument 3461 …pareThresholdMasked(colorA, colorB, tcu::RGBA(compareThreshold.x(), compareThreshold.y(), compareT… in colorsEqual() 3465 …nst tcu::Surface& target, int x, int y, const tcu::RGBA& color, const tcu::IVec3& compareThreshold) in pixelNeighborhoodContainsColor() argument 3475 if (colorsEqual(color, targetCmpPixel, compareThreshold)) in pixelNeighborhoodContainsColor() 3500 …::Surface& reference, const tcu::Surface& result, const tcu::IVec3& compareThreshold, const tcu::I… in edgeRelaxedImageCompare() argument 3526 const bool directMatch = colorsEqual(refPixel, screenPixel, compareThreshold); in edgeRelaxedImageCompare() 3527 …rectMatch || pixelNeighborhoodContainsColor(result, x, y, refPixel, compareThreshold); // screen… in edgeRelaxedImageCompare() 3528 …tch || pixelNeighborhoodContainsColor(reference, x, y, screenPixel, compareThreshold); // referenc… in edgeRelaxedImageCompare() 3575 …son failed. Color threshold = (" << compareThreshold.x() << ", " << compareThreshold.y() << ", " <… in edgeRelaxedImageCompare() 3595 …::Surface& reference, const tcu::Surface& result, const tcu::IVec3& compareThreshold, int maxAllow… in intersectionRelaxedLineImageCompare() argument [all …]
|
D | glsVertexArrayTests.cpp | 1849 …bool refThin = (!tcu::compareThreshold(refPixel, ref.getPixel(x-1, y ), threshold) && !tcu::co… in compare() 1850 …(!tcu::compareThreshold(refPixel, ref.getPixel(x , y-1), threshold) && !tcu::compareThreshold(ref… in compare() 1851 …bool screenThin = (!tcu::compareThreshold(screenPixel, screen.getPixel(x-1, y ), threshold) && … in compare() 1852 …(!tcu::compareThreshold(screenPixel, screen.getPixel(x , y-1), threshold) && !tcu::compareThresho… in compare()
|
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/ |
D | esextcTextureCubeMapArrayETC2Support.cpp | 352 const float compareThreshold = 0.05f; in isRenderedImageValid() local 354 compareThreshold, tcu::COMPARE_LOG_RESULT); in isRenderedImageValid()
|
/external/deqp/modules/gles2/functional/ |
D | es2fShaderFragDataTests.cpp | 76 const bool isOk = compareThreshold(resultColor, expectedColor, threshold); in compareSingleColor()
|
D | es2fPrerequisiteTests.cpp | 245 bool isPixelOk = compareThreshold(refRGBA, resRGBA, colorThreshold); in iterate()
|
D | es2fBlendTests.cpp | 272 …UVec4 compareThreshold = m_context.getRenderTarget().getPixelFormat().getColorThreshold().toIVec()… in iterate() local 275 …parison Result", referenceImg.getAccess(), renderedImg.getAccess(), compareThreshold, tcu::COMPARE… in iterate()
|
D | es2fPolygonOffsetTests.cpp | 77 inline bool compareThreshold (const tcu::IVec4& a, const tcu::IVec4& b, const tcu::IVec4& threshold) in compareThreshold() function 117 if (compareThreshold(cRef, cTest, threshold)) in compareImages() 133 if (compareThreshold(cRef, cTest, threshold)) in compareImages()
|
D | es2fMultisampleTests.cpp | 134 …if (!tcu::compareThreshold(pixColor, insideColor, tcu::RGBA(3, 3, 3, 3))) // Pixel color differs f… in isPixelRegionUnicolored() 161 if (!tcu::compareThreshold(img.getPixel(x, y), refColor, tcu::RGBA(3, 3, 3, 3))) in drawUnicolorTestErrors() 450 if (tcu::compareThreshold(color, m_detectedColors[i], tcu::RGBA(3, 3, 3, 3))) in iterate()
|
/external/deqp/external/openglcts/modules/glesext/draw_buffers_indexed/ |
D | esextcDrawBuffersIndexedBlending.cpp | 395 if (!tcu::compareThreshold(pixel, expectedColor, epsilon)) in VerifyImg()
|
D | esextcDrawBuffersIndexedColorMasks.cpp | 431 if (!tcu::compareThreshold(pixel, expectedColor, epsilon)) in VerifyImg()
|
/external/deqp/modules/egl/ |
D | teglImageFormatTests.cpp | 463 …const tcu::RGBA compareThreshold (32, 32, 32, 32); // layer colors are far apart, large threshol… in invokeGLES2() local 576 …"Result from rendering with depth buffer", referenceScreen, screen, compareThreshold, tcu::COMPARE… in invokeGLES2() 590 …const tcu::RGBA compareThreshold (32, 32, 32, 32); // layer colors are far apart, large threshol… in invokeGLES2() local 694 …esult from rendering with stencil buffer", referenceScreen, screen, compareThreshold, tcu::COMPARE… in invokeGLES2()
|
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmGraphicsShaderTestUtil.cpp | 4442 if (!tcu::compareThreshold(upperLeft, instance.outputColors[0], threshold)) in runAndVerifyDefaultPipeline() 4446 if (!tcu::compareThreshold(upperRight, instance.outputColors[1], threshold)) in runAndVerifyDefaultPipeline() 4450 if (!tcu::compareThreshold(lowerLeft, instance.outputColors[2], threshold)) in runAndVerifyDefaultPipeline() 4454 if (!tcu::compareThreshold(lowerRight, instance.outputColors[3], threshold)) in runAndVerifyDefaultPipeline()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcBlendEquationAdvancedTests.cpp | 735 bool firstOk = tcu::compareThreshold(ref, res, threshold); in iterate() 1076 bool pixelOk = tcu::compareThreshold(ref, res, threshold); in iterate()
|