/external/deqp/modules/gles2/functional/ |
D | es2fColorClearTest.cpp | 236 RGBA colorThreshold = pixelFormat.getColorThreshold(); in iterate() local 244 colorThreshold.setRed(colorThreshold.getRed() + 1); in iterate() 245 colorThreshold.setGreen(colorThreshold.getGreen() + 1); in iterate() 246 colorThreshold.setBlue(colorThreshold.getBlue() + 1); in iterate() 247 colorThreshold.setAlpha(colorThreshold.getAlpha() + 1); in iterate() 258 bool isPixelOk = diff.isBelowThreshold(colorThreshold); in iterate() 274 …ge comparison failed, max diff = " << maxDiff << ", threshold = " << colorThreshold << tcu::TestLo… in iterate()
|
D | es2fDefaultVertexAttributeTests.cpp | 426 …const tcu::RGBA colorThreshold = m_context.getRenderTarget().getPixelFormat().getColorThreshold() … in verifyUnicoloredBuffer() local 434 …g rendered image. Expecting color " << refColor << ", threshold " << colorThreshold << tcu::TestLo… in verifyUnicoloredBuffer() 441 if (de::abs(color.getRed() - refColor.getRed()) > colorThreshold.getRed() || in verifyUnicoloredBuffer() 442 de::abs(color.getGreen() - refColor.getGreen()) > colorThreshold.getGreen() || in verifyUnicoloredBuffer() 443 de::abs(color.getBlue() - refColor.getBlue()) > colorThreshold.getBlue()) in verifyUnicoloredBuffer()
|
D | es2fPrerequisiteTests.cpp | 234 RGBA colorThreshold = pixelFormat.getColorThreshold(); in iterate() local 245 bool isPixelOk = compareThreshold(refRGBA, resRGBA, colorThreshold); in iterate()
|
D | es2fPolygonOffsetTests.cpp | 97 const int colorThreshold = 128; in compareImages() local 99 …Vec4 threshold = tcu::IVec4(colorThreshold, colorThreshold, colorThreshold, formatThreshold.getAl… in compareImages()
|
D | es2fTextureMipmapTests.cpp | 357 …lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(pixelFormat) - (isTrili… in iterate() 681 …lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(m_renderCtx.getRenderT… in iterate() 870 comparePrec.colorThreshold = tcu::computeFixedPointThreshold(cmpBits); in iterate() 1023 comparePrec.colorThreshold = tcu::computeFixedPointThreshold(cmpBits); in iterate()
|
/external/deqp/modules/gles3/functional/ |
D | es3fColorClearTest.cpp | 236 RGBA colorThreshold = pixelFormat.getColorThreshold(); in iterate() local 244 colorThreshold.setRed(colorThreshold.getRed() + 1); in iterate() 245 colorThreshold.setGreen(colorThreshold.getGreen() + 1); in iterate() 246 colorThreshold.setBlue(colorThreshold.getBlue() + 1); in iterate() 247 colorThreshold.setAlpha(colorThreshold.getAlpha() + 1); in iterate() 258 bool isPixelOk = diff.isBelowThreshold(colorThreshold); in iterate() 274 …ge comparison failed, max diff = " << maxDiff << ", threshold = " << colorThreshold << tcu::TestLo… in iterate()
|
D | es3fDefaultVertexAttributeTests.cpp | 503 …const tcu::RGBA colorThreshold = m_context.getRenderTarget().getPixelFormat().getColorThreshold() … in verifyUnicoloredBuffer() local 511 …g rendered image. Expecting color " << refColor << ", threshold " << colorThreshold << tcu::TestLo… in verifyUnicoloredBuffer() 518 if (de::abs(color.getRed() - refColor.getRed()) > colorThreshold.getRed() || in verifyUnicoloredBuffer() 519 de::abs(color.getGreen() - refColor.getGreen()) > colorThreshold.getGreen() || in verifyUnicoloredBuffer() 520 de::abs(color.getBlue() - refColor.getBlue()) > colorThreshold.getBlue()) in verifyUnicoloredBuffer()
|
D | es3fPrerequisiteTests.cpp | 234 RGBA colorThreshold = pixelFormat.getColorThreshold(); in iterate() local 245 bool isPixelOk = compareThreshold(refRGBA, resRGBA, colorThreshold); in iterate()
|
D | es3fPolygonOffsetTests.cpp | 100 const int colorThreshold = 128; in compareImages() local 102 …Vec4 threshold = tcu::IVec4(colorThreshold, colorThreshold, colorThreshold, formatThreshold.getAl… in compareImages()
|
D | es3fTextureMipmapTests.cpp | 401 …lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(pixelFormat) - (isTrili… in iterate() 720 …lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(m_renderCtx.getRenderT… in iterate() 908 comparePrec.colorThreshold = tcu::computeFixedPointThreshold(cmpBits); in iterate() 1061 comparePrec.colorThreshold = tcu::computeFixedPointThreshold(cmpBits); in iterate() 1348 …lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(pixelFormat) - (isTrili… in iterate() 1562 …lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(pixelFormat) - (isTrili… in iterate() 1877 …lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(m_context.getRenderTar… in iterate() 2194 …lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(pixelFormat) - (isTrili… in iterate()
|
D | es3fDrawTests.cpp | 778 const int colorThreshold = 20; in verifyImage() local 797 if (de::abs(pixel.getGreen() - 255) > colorThreshold) in verifyImage() 801 if (de::abs(pixel.getBlue() - 0) > colorThreshold) in verifyImage()
|
/external/skia/tools/ |
D | skdiff_html.cpp | 30 const int colorThreshold, in print_table_header() argument 59 if (colorThreshold == 0) { in print_table_header() 63 stream->writeDecAsText(colorThreshold); in print_table_header() 225 const int colorThreshold, in print_diff_page() argument 283 print_table_header(&outputStream, matchCount, colorThreshold, differences, in print_diff_page()
|
D | skdiff_image.cpp | 22 const int colorThreshold, in create_diff_images() argument 72 create_and_write_diff_image(drp, dmp, colorThreshold, outputDir, outputFilename); in create_diff_images() 123 int colorThreshold = 0; in tool_main() local 205 colorThreshold = atoi(argv[++i]); in tool_main() 330 create_diff_images(diffProc, colorThreshold, baseFile, comparisonFile, outputDir, outputFile, in tool_main()
|
D | skdiff_html.h | 15 const int colorThreshold,
|
D | skdiff_main.cpp | 379 const int colorThreshold, in create_diff_images() argument 502 create_and_write_diff_image(drp, dmp, colorThreshold, in create_diff_images() 619 int colorThreshold = 0; in tool_main() local 733 colorThreshold = atoi(argv[++i]); in tool_main() 808 create_diff_images(diffProc, colorThreshold, &differences, in tool_main() 824 print_diff_page(summary.fNumMatches, colorThreshold, differences, in tool_main()
|
D | skdiff_utils.h | 49 const int colorThreshold,
|
D | skdiff_utils.cpp | 121 const int colorThreshold, in create_and_write_diff_image() argument 135 compute_diff(drp, dmp, colorThreshold); in create_and_write_diff_image()
|
D | skdiff.cpp | 158 void compute_diff(DiffRecord* dr, DiffMetricProc diffFunction, const int colorThreshold) { in compute_diff() argument 205 if (!colors_match_thresholded(c0, c1, colorThreshold)) { in compute_diff()
|
D | skdiff.h | 270 void compute_diff(DiffRecord* dr, DiffMetricProc diffFunction, const int colorThreshold);
|
/external/deqp/framework/common/ |
D | tcuTexLookupVerifier.hpp | 47 Vec4 colorThreshold; //!< Threshold for match. member 53 , colorThreshold (0.0f) in LookupPrecision() 63 UVec4 colorThreshold; //!< Threshold for match. member 69 , colorThreshold (0) in IntLookupPrecision()
|
D | tcuTexLookupVerifier.cpp | 80 return boolAll(logicalOr(lessThanEqual(diff, prec.colorThreshold), logicalNot(prec.colorMask))); in isColorValid() 85 …return boolAll(logicalOr(lessThanEqual(absDiff(ref, result).asUint(), prec.colorThreshold), logica… in isColorValid() 90 …return boolAll(logicalOr(lessThanEqual(absDiff(ref, result), prec.colorThreshold), logicalNot(prec… in isColorValid() 142 DE_ASSERT(boolAll(greaterThan(prec.colorThreshold, Vec4(0.0f)))); in computeBilinearSearchStepFromFloatLine() 146 const Vec4 stepCount = d / prec.colorThreshold; in computeBilinearSearchStepFromFloatLine() 156 DE_ASSERT(boolAll(greaterThan(prec.colorThreshold, Vec4(0.0f)))); in computeBilinearSearchStepFromFloatQuad() 164 const Vec4 stepCount = maxD / prec.colorThreshold; in computeBilinearSearchStepFromFloatQuad() 173 DE_ASSERT(boolAll(greaterThan(prec.colorThreshold, Vec4(0.0f)))); in computeBilinearSearchStepForUnorm() 175 const Vec4 stepCount = 1.0f / prec.colorThreshold; in computeBilinearSearchStepForUnorm() 184 DE_ASSERT(boolAll(greaterThan(prec.colorThreshold, Vec4(0.0f)))); in computeBilinearSearchStepForSnorm() [all …]
|
/external/deqp/modules/gles31/stress/ |
D | es31sVertexAttributeBindingTests.cpp | 76 const int colorThreshold = 20; in verifyImageYellowGreen() local 90 if (de::abs(pixel.getGreen() - 255) > colorThreshold) in verifyImageYellowGreen() 94 if (de::abs(pixel.getBlue() - 0) > colorThreshold) in verifyImageYellowGreen()
|
/external/deqp/modules/glshared/ |
D | glsTextureTestUtil.cpp | 1744 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) in computeTextureLookupDiff() 1849 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) in computeTextureLookupDiff() 2042 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) in computeTextureLookupDiff() 2216 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) in computeTextureLookupDiff() 2383 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) in computeTextureLookupDiff() 2492 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) in computeTextureLookupDiff() 2689 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) in computeTextureLookupDiff() 3173 lookupPrec.colorThreshold = precision.colorThreshold; in compareGenMipmapBilinear() 3209 lookupPrec.colorThreshold = precision.colorThreshold; in compareGenMipmapBox() 3291 …const tcu::Vec4 threshold = select(precision.colorThreshold, tcu::Vec4(1.0f), precision.colorMask… in compareGenMipmapResult() [all …]
|
/external/deqp/modules/gles2/stress/ |
D | es2sSpecialFloatTests.cpp | 319 const int colorThreshold = 10; in drawTestPattern() local 323 if (colorDiff.x() > formatThreshold.getRed() + colorThreshold || in drawTestPattern() 324 colorDiff.y() > formatThreshold.getGreen() + colorThreshold || in drawTestPattern() 325 colorDiff.z() > formatThreshold.getBlue() + colorThreshold) in drawTestPattern()
|
/external/deqp/modules/gles3/stress/ |
D | es3sSpecialFloatTests.cpp | 327 const int colorThreshold = 10; in drawTestPattern() local 331 if (colorDiff.x() > formatThreshold.getRed() + colorThreshold || in drawTestPattern() 332 colorDiff.y() > formatThreshold.getGreen() + colorThreshold || in drawTestPattern() 333 colorDiff.z() > formatThreshold.getBlue() + colorThreshold) in drawTestPattern()
|