Home
last modified time | relevance | path

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

/external/skqp/tests/
DFontHostStreamTest.cpp47 SkColor refColor; in compare() local
51 refColor = ref.getColor(refX, refY); in compare()
53 refColor = bgColor; in compare()
55 if (refColor != testColor) { in compare()
DDrawTextTest.cpp45 SkColor refColor; in compare() local
49 refColor = ref.getColor(refX, refY); in compare()
51 refColor = bgColor; in compare()
53 if (refColor != testColor) { in compare()
DBlurTest.cpp87 SkColor refColor; in compare() local
91 refColor = ref.getColor(refX, refY); in compare()
93 refColor = bgColor; in compare()
95 if (refColor != testColor) { in compare()
/external/skia/tests/
DFontHostStreamTest.cpp47 SkColor refColor; in compare() local
51 refColor = ref.getColor(refX, refY); in compare()
53 refColor = bgColor; in compare()
55 if (refColor != testColor) { in compare()
DDrawTextTest.cpp45 SkColor refColor; in compare() local
49 refColor = ref.getColor(refX, refY); in compare()
51 refColor = bgColor; in compare()
53 if (refColor != testColor) { in compare()
DBlurTest.cpp88 SkColor refColor; in compare() local
92 refColor = ref.getColor(refX, refY); in compare()
94 refColor = bgColor; in compare()
96 if (refColor != testColor) { in compare()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiImageClearingTests.cpp352 Vec4 refColor (ref.float32[0], in comparePixelToColorClearValue() local
363 refColor = linearToSRGB(refColor); in comparePixelToColorClearValue()
365 …const bool result = !(anyNotEqual(logicalAnd(lessThanEqual(absDiff(resColor, refColor), threshold… in comparePixelToColorClearValue()
370 …s << "Ref:" << refColor << " Mask:" << channelMask << " Threshold:" << threshold << " Color:" << r… in comparePixelToColorClearValue()
380 const UVec4 refColor (ref.uint32[0], in comparePixelToColorClearValue() local
386 …const bool result = !(anyNotEqual(logicalAnd(lessThanEqual(absDiff(resColor, refColor), threshold… in comparePixelToColorClearValue()
391 …s << "Ref:" << refColor << " Mask:" << channelMask << " Threshold:" << threshold << " Color:" << r… in comparePixelToColorClearValue()
401 const IVec4 refColor (ref.int32[0], in comparePixelToColorClearValue() local
407 …const bool result = !(anyNotEqual(logicalAnd(lessThanEqual(absDiff(resColor, refColor), threshold… in comparePixelToColorClearValue()
412 …s << "Ref:" << refColor << " Mask:" << channelMask << " Threshold:" << threshold << " Color:" << r… in comparePixelToColorClearValue()
[all …]
/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/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassMultisampleResolveTests.cpp1177 const Vec4 refColor (m_sampleMask == 0x0u in verify() local
1195 if (refColor != color) in verify()
1260 const UVec4 refColor (m_sampleMask == 0x0u in verify() local
1272 const BVec4 isRenderValue (refColor == renderValue); in verify()
1273 const BVec4 isClearValue (refColor == clearValue); in verify()
1286 if (refColor != color) in verify()
1360 const IVec4 refColor (m_sampleMask == 0x0u in verify() local
1372 const BVec4 isRenderValue (refColor == renderValue); in verify()
1373 const BVec4 isClearValue (refColor == clearValue); in verify()
/external/deqp/modules/gles31/functional/
Des31fTextureGatherTests.cpp724 …bool verifySingleColored (TestLog& log, const ConstPixelBufferAccess& result, const Vec4& refColor) in verifySingleColored() argument
734 tcu::clear(idealAccess, refColor); in verifySingleColored()
739 if (result.getPixel(px, py) != refColor) in verifySingleColored()
1481 const Vec4 refColor (incompleteColor[componentNdx]); in verify() local
1482 const bool isOk = verifySingleColored(log, rendered, refColor); in verify()
1485 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()