/third_party/flutter/skia/tests/ |
D | FontHostStreamTest.cpp | 49 SkColor refColor; in compare() local 53 refColor = ref.getColor(refX, refY); in compare() 55 refColor = bgColor; in compare() 57 if (refColor != testColor) { in compare()
|
D | DrawTextTest.cpp | 49 SkColor refColor; in compare() local 53 refColor = ref.getColor(refX, refY); in compare() 55 refColor = bgColor; in compare() 57 if (refColor != testColor) { in compare()
|
D | FontMgrFontConfigTest.cpp | 22 SkColor refColor = ref.getColor(x, y); in bitmap_compare() local 23 if (refColor != testColor) { in bitmap_compare()
|
D | BlurTest.cpp | 110 SkColor refColor; in compare() local 114 refColor = ref.getColor(refX, refY); in compare() 116 refColor = bgColor; in compare() 118 if (refColor != testColor) { in compare()
|
D | FontMgrAndroidParserTest.cpp | 266 SkColor refColor = ref.getColor(x, y); in bitmap_compare() local 267 if (refColor != testColor) { in bitmap_compare()
|
/third_party/skia/tests/ |
D | FontHostStreamTest.cpp | 49 SkColor refColor; in compare() local 53 refColor = ref.getColor(refX, refY); in compare() 55 refColor = bgColor; in compare() 57 if (refColor != testColor) { in compare()
|
D | DrawTextTest.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 | FontMgrFontConfigTest.cpp | 23 SkColor refColor = ref.getColor(x, y); in bitmap_compare() local 24 if (refColor != testColor) { in bitmap_compare()
|
D | BlurTest.cpp | 107 SkColor refColor; in compare() local 111 refColor = ref.getColor(refX, refY); in compare() 113 refColor = bgColor; in compare() 115 if (refColor != testColor) { in compare()
|
D | FontMgrAndroidParserTest.cpp | 265 SkColor refColor = ref.getColor(x, y); in bitmap_compare() local 266 if (refColor != testColor) { in bitmap_compare()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineSamplerBorderSwizzleTests.cpp | 461 tcu::Vec4 refColor (ref.float32[0], in comparePixelToColorClearValue() local 497 …const bool result = !(anyNotEqual(logicalAnd(lessThanEqual(absDiff(resColor, refColor), threshol… in comparePixelToColorClearValue() 502 s << "Ref:" << refColor << " Threshold:" << threshold << " Color:" << resColor; in comparePixelToColorClearValue() 515 const tcu::UVec4 refColor (ref.uint32[0], in comparePixelToColorClearValue() local 543 …const bool result = !(anyNotEqual(logicalAnd(lessThanEqual(absDiff(resColor, refColor), thresho… in comparePixelToColorClearValue() 548 s << "Ref:" << refColor << " Threshold:" << threshold << " Color:" << resColor; in comparePixelToColorClearValue() 561 const tcu::IVec4 refColor (ref.int32[0], in comparePixelToColorClearValue() local 589 …const bool result = !(anyNotEqual(logicalAnd(lessThanEqual(absDiff(resColor, refColor), thresho… in comparePixelToColorClearValue() 594 s << "Ref:" << refColor << " Threshold:" << threshold << " Color:" << resColor; in comparePixelToColorClearValue() 609 const tcu::Vec4 refColor (ref.float32[0], in comparePixelToColorClearValue() local [all …]
|
D | vktPipelineDynamicOffsetTests.cpp | 677 tcu::Vec4 refColor(0.0f); in verifyImage() local 680 refColor += testColors[quadIdx + binding * bindingOffset + binding]; in verifyImage() 682 refColor += testColors[(m_params.numDynamicBindings + binding) * bindingOffset]; in verifyImage() 683 refColor.w() = 1.0f; in verifyImage() 685 m_vertices[quadIdx * 6 + vertexIdx].color.xyzw() = refColor; in verifyImage() 1260 tcu::Vec4 refColor(0.0f); in verifyOutput() local 1263 refColor += testColors[i + binding * bindingOffset + binding]; in verifyOutput() 1265 refColor += testColors[(m_params.numDynamicBindings + binding) * bindingOffset]; in verifyOutput() 1266 refColor.w() = 1.0f; in verifyOutput() 1268 refColors[i] = refColor; in verifyOutput()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassMultisampleResolveTests.cpp | 979 const Vec4 refColor (m_sampleMask == 0x0u in verify() local 997 if (refColor != color) in verify() 1062 const UVec4 refColor (m_sampleMask == 0x0u in verify() local 1073 const BVec4 isRenderValue (refColor == renderValue); in verify() 1074 const BVec4 isClearValue (refColor == clearValue); in verify() 1089 if (refColor != color) in verify() 1163 const IVec4 refColor (m_sampleMask == 0x0u in verify() local 1174 const BVec4 isRenderValue (refColor == renderValue); in verify() 1175 const BVec4 isClearValue (refColor == clearValue); in verify() 1190 if (refColor != color) in verify() [all …]
|
D | vktRenderPassUnusedAttachmentTests.cpp | 921 const tcu::Vec4 refColor = tcu::Vec4(0.1f, 0.2f, 0.3f, 0.4f); in verifyImage() local 923 if (de::abs(color[cpnt] - refColor[cpnt]) > 0.01f) in verifyImage() 929 const tcu::Vec4 refColor = tcu::Vec4(0.4f, 0.6f, 0.2f, 1.0f); in verifyImage() local 931 if (de::abs(resultColor[cpnt] - refColor[cpnt]) > 0.01f) in verifyImage()
|
D | vktRenderPassUnusedClearAttachmentTests.cpp | 977 …const float* refColor = (m_testParams.colorUsed[i] ? m_clearColor.color.float32 : m_initialC… in iterate() local 985 if (de::abs(color[cpnt] - refColor[cpnt]) > 0.01f) in iterate() 991 msg << ((j == 0) ? "" : ", ") << refColor[j]; in iterate()
|
/third_party/vk-gl-cts/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()
|
/third_party/vk-gl-cts/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()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
D | vktApiImageClearingTests.cpp | 351 Vec4 refColor (ref.float32[0], in comparePixelToColorClearValue() local 357 refColor = linearToSRGB(refColor); in comparePixelToColorClearValue() 359 …const bool result = !(anyNotEqual(logicalAnd(lessThanEqual(absDiff(resColor, refColor), threshold… in comparePixelToColorClearValue() 364 …s << "Ref:" << refColor << " Mask:" << channelMask << " Threshold:" << threshold.vec4 << " Color:"… in comparePixelToColorClearValue() 374 const UVec4 refColor (ref.uint32[0], in comparePixelToColorClearValue() local 378 …const bool result = !(anyNotEqual(logicalAnd(lessThanEqual(absDiff(resColor, refColor), threshold… in comparePixelToColorClearValue() 383 …s << "Ref:" << refColor << " Mask:" << channelMask << " Threshold:" << threshold.uvec4 << " Color:… in comparePixelToColorClearValue() 393 const IVec4 refColor (ref.int32[0], in comparePixelToColorClearValue() local 397 …const bool result = !(anyNotEqual(logicalAnd(lessThanEqual(absDiff(resColor, refColor), threshold… in comparePixelToColorClearValue() 402 …s << "Ref:" << refColor << " Mask:" << channelMask << " Threshold:" << threshold.ivec4 << " Color:… in comparePixelToColorClearValue() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/ |
D | vktMeshShaderApiTests.cpp | 626 …const tcu::Vec4 refColor = ((m_params.drawCount == 0u || (m_params.drawType == DrawType::DRAW && y… in iterate() local 634 reference.setPixel(refColor, x, y); in iterate()
|
D | vktMeshShaderMiscTests.cpp | 408 const auto refColor = tcu::Vec4(red, green, 1.0f, 1.0f); in generateReferenceLevel() local 409 access.setPixel(refColor, x, y); in generateReferenceLevel()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fTextureGatherTests.cpp | 725 …bool verifySingleColored (TestLog& log, const ConstPixelBufferAccess& result, const Vec4& refColor) in verifySingleColored() argument 735 tcu::clear(idealAccess, refColor); in verifySingleColored() 740 if (result.getPixel(px, py) != refColor) in verifySingleColored() 1486 const Vec4 refColor (incompleteColor[componentNdx]); in verify() local 1487 const bool isOk = verifySingleColored(log, rendered, refColor); in verify() 1490 log << TestLog::Message << "Note: expected color " << refColor << " for all pixels; " in verify()
|
D | es31fGeometryShaderTests.cpp | 3573 const tcu::RGBA refColor = tcu::RGBA(barColor); in verifyImageSingleColoredRow() local 3576 … tcu::allEqual(tcu::lessThan(tcu::abs(color.toIVec().swizzle(0, 1, 2) - refColor.toIVec().swizzle(… in verifyImageSingleColoredRow()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl4cGlSpirvTests.cpp | 130 bool compareUintColors(const GLuint inColor, const GLuint refColor, const int epsilon) in compareUintColors() argument 137 int r2 = (refColor & 0xFF); in compareUintColors() 138 int g2 = ((refColor >> 8) & 0xFF); in compareUintColors() 139 int b2 = ((refColor >> 16) & 0xFF); in compareUintColors() 140 int a2 = ((refColor >> 24) & 0xFF); in compareUintColors()
|