Home
last modified time | relevance | path

Searched refs:refColor (Results 1 – 10 of 10) sorted by relevance

/external/skia/tests/
DDrawTextTest.cpp46 SkColor refColor; in compare() local
50 refColor = ref.getColor(refX, refY); in compare()
52 refColor = bgColor; in compare()
54 if (refColor != testColor) { in compare()
DFontHostStreamTest.cpp50 SkColor refColor; in compare() local
54 refColor = ref.getColor(refX, refY); in compare()
56 refColor = bgColor; in compare()
58 if (refColor != testColor) { in compare()
DBlurTest.cpp86 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/
Des2fDefaultVertexAttributeTests.cpp424 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()
Des2fMultisampleTests.cpp154 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/
Des3fDefaultVertexAttributeTests.cpp501 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()
Des3fMultisampleTests.cpp156 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/
Des31fTextureGatherTests.cpp708 …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()
Des31fGeometryShaderTests.cpp3528 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/
DvktRenderPassTests.cpp2594 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()