/external/skia/tests/ |
D | DrawTextTest.cpp | 46 SkColor refColor; in compare() local 50 refColor = ref.getColor(refX, refY); in compare() 52 refColor = bgColor; in compare() 54 if (refColor != testColor) { in compare()
|
D | FontHostStreamTest.cpp | 50 SkColor refColor; in compare() local 54 refColor = ref.getColor(refX, refY); in compare() 56 refColor = bgColor; in compare() 58 if (refColor != testColor) { in compare()
|
D | BlurTest.cpp | 86 SkColor refColor; in compare() local 90 refColor = ref.getColor(refX, refY); in compare() 92 refColor = bgColor; in compare() 94 if (refColor != testColor) { in compare()
|
/external/deqp/modules/gles2/functional/ |
D | es2fDefaultVertexAttributeTests.cpp | 424 const tcu::RGBA refColor (refValue); in verifyUnicoloredBuffer() local 434 …cu::TestLog::Message << "Verifying rendered image. Expecting color " << refColor << ", threshold "… 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 | es2fMultisampleTests.cpp | 154 tcu::RGBA refColor = img.getPixel((xMin + xMax) / 2, (yMin + yMax) / 2); in drawUnicolorTestErrors() local 161 if (!tcu::compareThreshold(img.getPixel(x, y), refColor, tcu::RGBA(3, 3, 3, 3))) in drawUnicolorTestErrors()
|
/external/deqp/modules/gles3/functional/ |
D | es3fDefaultVertexAttributeTests.cpp | 501 const tcu::RGBA refColor (refValue); in verifyUnicoloredBuffer() local 511 …cu::TestLog::Message << "Verifying rendered image. Expecting color " << refColor << ", threshold "… 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 | es3fMultisampleTests.cpp | 156 tcu::RGBA refColor = img.getPixel((xMin + xMax) / 2, (yMin + yMax) / 2); in drawUnicolorTestErrors() local 163 if (!tcu::compareThreshold(img.getPixel(x, y), refColor, tcu::RGBA(3, 3, 3, 3))) in drawUnicolorTestErrors()
|
/external/deqp/modules/gles31/functional/ |
D | es31fTextureGatherTests.cpp | 708 …bool verifySingleColored (TestLog& log, const ConstPixelBufferAccess& result, const Vec4& refColor) in verifySingleColored() argument 718 tcu::clear(idealAccess, refColor); in verifySingleColored() 723 if (result.getPixel(px, py) != refColor) in verifySingleColored() 1461 const Vec4 refColor (incompleteColor[componentNdx]); in verify() local 1462 const bool isOk = verifySingleColored(log, rendered, refColor); in verify() 1465 log << TestLog::Message << "Note: expected color " << refColor << " for all pixels; " in verify()
|
D | es31fGeometryShaderTests.cpp | 3528 const tcu::RGBA refColor = tcu::RGBA(barColor); in verifyImageSingleColoredRow() local 3531 … tcu::allEqual(tcu::lessThan(tcu::abs(color.toIVec().swizzle(0, 1, 2) - refColor.toIVec().swizzle(… in verifyImageSingleColoredRow()
|
/external/deqp/external/vulkancts/modules/vulkan/ |
D | vktRenderPassTests.cpp | 2594 const Vec4 refColor (ref.float32[0], in comparePixelToColorClearValue() local 2604 …(tcu::logicalAnd(lessThanEqual(tcu::absDiff(resColor, tcu::linearToSRGB(refColor)), threshold), ch… in comparePixelToColorClearValue() 2606 …return !(tcu::anyNotEqual(tcu::logicalAnd(lessThanEqual(tcu::absDiff(resColor, refColor), threshol… in comparePixelToColorClearValue() 2612 const UVec4 refColor (ref.uint32[0], in comparePixelToColorClearValue() local 2618 …return !(tcu::anyNotEqual(tcu::logicalAnd(lessThanEqual(tcu::absDiff(resColor, refColor), threshol… in comparePixelToColorClearValue() 2624 const IVec4 refColor (ref.int32[0], in comparePixelToColorClearValue() local 2630 …return !(tcu::anyNotEqual(tcu::logicalAnd(lessThanEqual(tcu::absDiff(resColor, refColor), threshol… in comparePixelToColorClearValue() 2636 const Vec4 refColor (ref.float32[0], in comparePixelToColorClearValue() local 2647 if (calcFloatDiff(resColor[ndx], refColor[ndx]) > threshold[ndx] && channelMask[ndx]) in comparePixelToColorClearValue()
|