/third_party/vk-gl-cts/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()
|
/third_party/vk-gl-cts/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()
|
/third_party/skia/tools/skdiff/ |
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() 226 const int colorThreshold, in print_diff_page() argument 284 print_table_header(&outputStream, matchCount, colorThreshold, differences, in print_diff_page()
|
D | skdiff_main.cpp | 362 const int colorThreshold, in create_diff_images() argument 489 create_and_write_diff_image(&drp, dmp, colorThreshold, in create_diff_images() 603 int colorThreshold = 0; in main() local 721 colorThreshold = atoi(argv[++i]); in main() 796 create_diff_images(diffProc, colorThreshold, ignoreColorSpace, &differences, in main() 811 print_diff_page(summary.fNumMatches, colorThreshold, differences, in main()
|
D | skdiff_html.h | 15 const int colorThreshold,
|
D | skdiff_utils.h | 49 const int colorThreshold,
|
D | skdiff_utils.cpp | 144 const int colorThreshold, in create_and_write_diff_image() argument 158 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 203 if (!colors_match_thresholded(c0, c1, colorThreshold)) { in compute_diff()
|
D | skdiff.h | 270 void compute_diff(DiffRecord* dr, DiffMetricProc diffFunction, const int colorThreshold);
|
/third_party/flutter/skia/tools/skdiff/ |
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_main.cpp | 377 const int colorThreshold, in create_diff_images() argument 504 create_and_write_diff_image(drp, dmp, colorThreshold, in create_diff_images() 621 int colorThreshold = 0; in main() local 740 colorThreshold = atoi(argv[++i]); in main() 815 create_diff_images(diffProc, colorThreshold, ignoreColorSpace, &differences, in main() 831 print_diff_page(summary.fNumMatches, colorThreshold, differences, in main()
|
D | skdiff_html.h | 15 const int colorThreshold,
|
D | skdiff_utils.h | 49 const int colorThreshold,
|
D | skdiff_utils.cpp | 144 const int colorThreshold, in create_and_write_diff_image() argument 158 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 203 if (!colors_match_thresholded(c0, c1, colorThreshold)) { in compute_diff()
|
D | skdiff.h | 270 void compute_diff(DiffRecord* dr, DiffMetricProc diffFunction, const int colorThreshold);
|
/third_party/vk-gl-cts/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 …]
|
/third_party/vk-gl-cts/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()
|