/external/deqp/framework/common/ |
D | tcuImageCompare.cpp | 91 static int findNumPositionDeviationFailingPixels (const PixelBufferAccess& errorMask, const ConstPi… in findNumPositionDeviationFailingPixels() argument 111 tcu::clear(errorMask, okColor); in findNumPositionDeviationFailingPixels() 151 errorMask.setPixel(errorColor, x, y, z); in findNumPositionDeviationFailingPixels() 174 errorMask.setPixel(errorColor, x, y, z); in findNumPositionDeviationFailingPixels() 220 …TextureLevel errorMask (TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8), reference.… in fuzzyCompare() local 221 float difference = fuzzyCompare(params, reference, result, errorMask.getAccess()); in fuzzyCompare() 230 fuzzyCompare(params, reference, result, errorMask.getAccess()); in fuzzyCompare() 241 << TestLog::Image("ErrorMask", "Error mask", errorMask) in fuzzyCompare() 494 PixelBufferAccess errorMask = errorMaskStorage.getAccess(); in floatUlpThresholdCompare() local 514 errorMask.setPixel(isOk ? Vec4(0.0f, 1.0f, 0.0f, 1.0f) : Vec4(1.0f, 0.0f, 0.0f, 1.0f), x, y, z); in floatUlpThresholdCompare() [all …]
|
D | tcuBilinearImageCompare.cpp | 191 …ference, const ConstPixelBufferAccess& result, const PixelBufferAccess& errorMask, const RGBA thre… in bilinearCompareRGBA8() argument 197 clear(errorMask, Vec4(0.0f, 1.0f, 0.0f, 1.0f)); in bilinearCompareRGBA8() 209 errorMask.setPixel(Vec4(1.0f, 0.0f, 0.0f, 1.0f), x, y); in bilinearCompareRGBA8() 219 …ference, const ConstPixelBufferAccess& result, const PixelBufferAccess& errorMask, const RGBA thre… in bilinearCompare() argument 225 DE_ASSERT(reference.getWidth() == errorMask.getWidth() && in bilinearCompare() 226 reference.getHeight() == errorMask.getHeight() && in bilinearCompare() 227 reference.getDepth() == errorMask.getDepth()); in bilinearCompare() 230 return bilinearCompareRGBA8(reference, result, errorMask, threshold); in bilinearCompare()
|
D | tcuFuzzyImageCompare.cpp | 273 …ConstPixelBufferAccess& ref, const ConstPixelBufferAccess& cmp, const PixelBufferAccess& errorMask) in fuzzyCompare() argument 276 DE_ASSERT(errorMask.getWidth() == ref.getWidth() && errorMask.getHeight() == ref.getHeight()); in fuzzyCompare() 314 clear(errorMask, Vec4(0.0f, 1.0f, 0.0f, 1.0f)); in fuzzyCompare() 340 errorMask.setPixel(Vec4(red*rF, (1.0f-red)*rF, 0.0f, 1.0f), x, y); in fuzzyCompare()
|
D | tcuBilinearImageCompare.hpp | 35 …ference, const ConstPixelBufferAccess& result, const PixelBufferAccess& errorMask, const RGBA thre…
|
D | tcuFuzzyImageCompare.hpp | 44 …onstPixelBufferAccess& ref, const ConstPixelBufferAccess& cmp, const PixelBufferAccess& errorMask);
|
D | tcuRasterizationVerifier.cpp | 663 tcu::Surface errorMask (surface.getWidth(), surface.getHeight()); in verifyTriangleGroupInterpolationWithInterpolator() local 665 tcu::clear(errorMask.getAccess(), tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in verifyTriangleGroupInterpolationWithInterpolator() 774 errorMask.setPixel(x, y, invalidPixelColor); in verifyTriangleGroupInterpolationWithInterpolator() 834 errorMask.setPixel(x, y, invalidPixelColor); in verifyTriangleGroupInterpolationWithInterpolator() 849 << tcu::TestLog::Image("ErrorMask", "ErrorMask", errorMask) in verifyTriangleGroupInterpolationWithInterpolator() 1263 tcu::Surface errorMask (surface.getWidth(), surface.getHeight()); in verifySinglesampleLineGroupRasterization() local 1266 tcu::clear(errorMask.getAccess(), tcu::IVec4(0, 255, 0, 255)); in verifySinglesampleLineGroupRasterization() 1306 errorMask.setPixel(x, y, tcu::RGBA::red()); in verifySinglesampleLineGroupRasterization() 1651 tcu::Surface errorMask (surface.getWidth(), surface.getHeight()); in verifyLineGroupPixelIndependentInterpolation() local 1660 tcu::clear(errorMask.getAccess(), tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in verifyLineGroupPixelIndependentInterpolation() [all …]
|
/external/deqp/framework/opengl/ |
D | gluTextureTestUtil.hpp | 195 const tcu::PixelBufferAccess& errorMask, 205 const tcu::PixelBufferAccess& errorMask, 215 const tcu::PixelBufferAccess& errorMask, 225 const tcu::PixelBufferAccess& errorMask, 235 const tcu::PixelBufferAccess& errorMask, 245 const tcu::PixelBufferAccess& errorMask, 255 const tcu::PixelBufferAccess& errorMask, 330 const tcu::PixelBufferAccess& errorMask, 340 const tcu::PixelBufferAccess& errorMask, 350 const tcu::PixelBufferAccess& errorMask,
|
D | gluTextureTestUtil.cpp | 1227 const tcu::PixelBufferAccess& errorMask, in computeTextureLookupDiff() argument 1236 …DE_ASSERT(result.getWidth() == errorMask.getWidth() && result.getHeight() == errorMask.getHeight()… in computeTextureLookupDiff() 1264 tcu::clear(errorMask, tcu::RGBA::green().toVec()); in computeTextureLookupDiff() 1318 errorMask.setPixel(tcu::RGBA::red().toVec(), px, py); in computeTextureLookupDiff() 1330 const tcu::PixelBufferAccess& errorMask, in computeTextureLookupDiff() argument 1339 …DE_ASSERT(result.getWidth() == errorMask.getWidth() && result.getHeight() == errorMask.getHeight()… in computeTextureLookupDiff() 1371 tcu::clear(errorMask, tcu::RGBA::green().toVec()); in computeTextureLookupDiff() 1444 errorMask.setPixel(tcu::RGBA::red().toVec(), px, py); in computeTextureLookupDiff() 1465 tcu::Surface errorMask (result.getWidth(), result.getHeight()); in verifyTextureResult() local 1471 …numFailedPixels = computeTextureLookupDiff(result, reference.getAccess(), errorMask.getAccess(), s… in verifyTextureResult() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fDitheringTests.cpp | 288 Surface errorMask (viewportWid, viewportHei); in drawAndCheckGradient() local 301 errorMask.setPixel(x, y, tcu::RGBA::red()); in drawAndCheckGradient() 310 errorMask.setPixel(x, y, tcu::RGBA::green()); in drawAndCheckGradient() 316 log << TestLog::Image("ColorChoiceErrorMask", "Error mask for color choices", errorMask); in drawAndCheckGradient() 402 Surface errorMask (viewportWid, viewportHei); in drawAndCheckUnicoloredQuad() local 411 errorMask.setPixel(x, y, tcu::RGBA::red()); in drawAndCheckUnicoloredQuad() 420 errorMask.setPixel(x, y, tcu::RGBA::green()); in drawAndCheckUnicoloredQuad() 426 log << TestLog::Image("ColorChoiceErrorMask", "Error mask for color choices", errorMask); in drawAndCheckUnicoloredQuad()
|
D | es3fShaderDerivateTests.cpp | 403 const tcu::PixelBufferAccess& errorMask, in verifyConstantDerivate() argument 433 errorMask.setPixel(tcu::RGBA::red().toVec(), x, y); in verifyConstantDerivate() 467 const tcu::PixelBufferAccess& errorMask, in reverifyConstantDerivateWithFlushRelaxations() argument 476 DE_ASSERT(result.getWidth() == errorMask.getWidth()); in reverifyConstantDerivateWithFlushRelaxations() 477 DE_ASSERT(result.getHeight() == errorMask.getHeight()); in reverifyConstantDerivateWithFlushRelaxations() 491 tcu::clear(errorMask, green); in reverifyConstantDerivateWithFlushRelaxations() 574 errorMask.setPixel(red, x, y); in reverifyConstantDerivateWithFlushRelaxations() 598 … (const tcu::ConstPixelBufferAccess& result, const tcu::PixelBufferAccess& errorMask) = DE_NULL; 854 tcu::Surface errorMask(result.getWidth(), result.getHeight()); in iterate() local 855 tcu::clear(errorMask.getAccess(), tcu::RGBA::green().toVec()); in iterate() [all …]
|
D | es3fShaderInvarianceTests.cpp | 361 tcu::Surface errorMask (m_renderSize, m_renderSize); in checkImage() local 363 tcu::clear(errorMask.getAccess(), okColor); in checkImage() 372 errorMask.setPixel(x, y, errColor); in checkImage() 384 << tcu::TestLog::Image("Error mask", "Error mask", errorMask) in checkImage()
|
/external/deqp/modules/gles2/functional/ |
D | es2fDitheringTests.cpp | 282 Surface errorMask (viewportWid, viewportHei); in drawAndCheckGradient() local 294 errorMask.setPixel(x, y, tcu::RGBA::red()); in drawAndCheckGradient() 303 errorMask.setPixel(x, y, tcu::RGBA::green()); in drawAndCheckGradient() 309 log << TestLog::Image("ColorChoiceErrorMask", "Error mask for color choices", errorMask); in drawAndCheckGradient() 397 Surface errorMask (viewportWid, viewportHei); in drawAndCheckUnicoloredQuad() local 406 errorMask.setPixel(x, y, tcu::RGBA::red()); in drawAndCheckUnicoloredQuad() 415 errorMask.setPixel(x, y, tcu::RGBA::green()); in drawAndCheckUnicoloredQuad() 421 log << TestLog::Image("ColorChoiceErrorMask", "Error mask for color choices", errorMask); in drawAndCheckUnicoloredQuad()
|
D | es2fDefaultVertexAttributeTests.cpp | 423 tcu::Surface errorMask (RENDER_SIZE, RENDER_SIZE); in verifyUnicoloredBuffer() local 432 tcu::clear(errorMask.getAccess(), tcu::RGBA::green().toIVec()); in verifyUnicoloredBuffer() 453 errorMask.setPixel(x, y, tcu::RGBA::red()); in verifyUnicoloredBuffer() 467 << tcu::TestLog::Image("ErrorMask", "Error Mask", errorMask) in verifyUnicoloredBuffer()
|
D | es2fShaderInvarianceTests.cpp | 361 tcu::Surface errorMask (m_renderSize, m_renderSize); in checkImage() local 363 tcu::clear(errorMask.getAccess(), okColor); in checkImage() 372 errorMask.setPixel(x, y, errColor); in checkImage() 384 << tcu::TestLog::Image("Error mask", "Error mask", errorMask) in checkImage()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderDerivateTests.cpp | 339 const tcu::PixelBufferAccess& errorMask, in verifyConstantDerivate() argument 369 errorMask.setPixel(tcu::RGBA::red().toVec(), x, y); in verifyConstantDerivate() 403 const tcu::PixelBufferAccess& errorMask, in reverifyConstantDerivateWithFlushRelaxations() argument 412 DE_ASSERT(result.getWidth() == errorMask.getWidth()); in reverifyConstantDerivateWithFlushRelaxations() 413 DE_ASSERT(result.getHeight() == errorMask.getHeight()); in reverifyConstantDerivateWithFlushRelaxations() 427 tcu::clear(errorMask, green); in reverifyConstantDerivateWithFlushRelaxations() 510 errorMask.setPixel(red, x, y); in reverifyConstantDerivateWithFlushRelaxations() 600 …ify (const tcu::ConstPixelBufferAccess& result, const tcu::PixelBufferAccess& errorMask) = 0; 730 tcu::Surface errorMask(resultImage.getWidth(), resultImage.getHeight()); in iterate() local 731 tcu::clear(errorMask.getAccess(), tcu::RGBA::green().toVec()); in iterate() [all …]
|
/external/deqp/modules/internal/ |
D | ditImageCompareTests.cpp | 68 tcu::TextureLevel errorMask; in iterate() local 78 …errorMask.setStorage(refImg.getFormat(), refImg.getWidth(), refImg.getHeight(), refImg.getDepth()); in iterate() 82 result = tcu::fuzzyCompare(params, refImg, cmpImg, errorMask); in iterate() 88 << TestLog::Image("ErrorMask", "Error Mask", errorMask); in iterate()
|
/external/deqp/modules/egl/ |
D | teglNativeCoordMappingTests.cpp | 266 tcu::Surface errorMask (result.getWidth(), result.getHeight()); in validate() local 279 errorMask.setPixel(x, y, tcu::RGBA(255, 0, 0, 255)); in validate() 283 errorMask.setPixel(x, y, tcu::RGBA(0, 255, 0, 255)); in validate() 289 errorMask.setPixel(x, y, tcu::RGBA(255, 0, 0, 255)); in validate() 293 errorMask.setPixel(x, y, tcu::RGBA(0, 255, 0, 255)); in validate() 301 errorMask.setPixel(x, y, tcu::RGBA(255, 0, 0, 255)); in validate() 305 errorMask.setPixel(x, y, tcu::RGBA(0, 255, 0, 255)); in validate() 313 log << TestLog::Image("Error Mask", "Error Mask", errorMask.getAccess()); in validate()
|
/external/deqp/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassMultisampleResolveTests.cpp | 737 …tcu::TextureLevel errorMask (tcu::TextureFormat(tcu::TextureFormat::RGB, tcu::TextureFormat::… in verify() local 788 errorMask.getAccess().setPixel(okColor, x, y, z); in verify() 797 errorMask.getAccess().setPixel(errorColor, x, y, z); in verify() 816 logImage("ErrorMask", errorMask.getAccess()); in verify() 891 errorMask.getAccess().setPixel((isOk ? okColor : errorColor), x, y, z); in verify() 902 logImage("ErrorMask", errorMask.getAccess()); in verify() 992 errorMask.getAccess().setPixel((isOk ? okColor : errorColor), x, y, z); in verify() 1003 logImage("ErrorMask", errorMask.getAccess()); in verify() 1090 …tcu::TextureLevel errorMask (tcu::TextureFormat(tcu::TextureFormat::RGB, tcu::TextureFormat::UNOR… in iterate() local 1123 errorMask.getAccess().setPixel(okColor, x, y, z); in iterate() [all …]
|
/external/deqp/modules/gles2/stress/ |
D | es2sSpecialFloatTests.cpp | 179 tcu::Surface errorMask (TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); in checkResultImage() local 190 errorMask.setPixel(x, y, tcu::RGBA::green()); in checkResultImage() 193 errorMask.setPixel(x, y, tcu::RGBA::red()); in checkResultImage() 204 << tcu::TestLog::Image("Error mask", "Error mask", errorMask) in checkResultImage() 249 tcu::Surface errorMask (TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); in drawTestPattern() local 327 errorMask.setPixel(x, y, tcu::RGBA::red()); in drawTestPattern() 331 errorMask.setPixel(x, y, tcu::RGBA::green()); in drawTestPattern() 341 << tcu::TestLog::Image("Error mask", "Error mask", errorMask) in drawTestPattern() 1392 tcu::Surface errorMask (TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); in testFBO() local 1409 errorMask.setPixel(x, y, badPixelColor); in testFBO() [all …]
|
/external/deqp/modules/gles31/stress/ |
D | es31sTessellationGeometryInteractionTests.cpp | 381 tcu::Surface errorMask (image.getWidth(), image.getHeight()); in verifyResultLayer() local 384 tcu::clear(errorMask.getAccess(), tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f)); in verifyResultLayer() 397 errorMask.setPixel(x, y, tcu::RGBA::red()); in verifyResultLayer() 417 << tcu::TestLog::Image("ErrorMask", "Error mask", errorMask.getAccess()) in verifyResultLayer()
|
/external/deqp/modules/gles31/functional/ |
D | es31fSampleVariableTests.cpp | 209 tcu::Surface errorMask (resultImage.getWidth(), resultImage.getHeight()); in verifyImageWithVerifier() local 212 tcu::clear(errorMask.getAccess(), tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f)); in verifyImageWithVerifier() 229 errorMask.setPixel(x, y, tcu::RGBA::red()); in verifyImageWithVerifier() 242 << tcu::TestLog::Image("ErrorMask", "Error Mask", errorMask.getAccess()) in verifyImageWithVerifier() 745 tcu::Surface errorMask (width, height); in verifySampleBuffers() local 750 tcu::clear(errorMask.getAccess(), tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f)); in verifySampleBuffers() 781 errorMask.setPixel(x, y, tcu::RGBA::red()); in verifySampleBuffers() 799 << tcu::TestLog::Image("ErrorMask", "Error Mask", errorMask.getAccess()) in verifySampleBuffers() 809 tcu::Surface errorMask (width, height); in verifySampleBuffers() local 813 tcu::clear(errorMask.getAccess(), tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f)); in verifySampleBuffers() [all …]
|
D | es31fPrimitiveBoundingBoxTests.cpp | 1318 tcu::Surface errorMask (config.viewportSize.x(), config.viewportSize.y()); in verifyRenderResult() local 1343 tcu::clear(errorMask.getAccess(), tcu::IVec4(0,0,0,255)); in verifyRenderResult() 1380 errorMask.setPixel(x, y, tcu::RGBA::red()); in verifyRenderResult() 1393 << tcu::TestLog::Image("ErrorMask", "Error mask", errorMask.getAccess()) in verifyRenderResult() 2204 deUint8 errorMask = 0; in checkLineContinuity() local 2237 errorMask = SCANRESULT_LINE_CONT_WARN_BIT; in checkLineContinuity() 2239 errorMask = SCANRESULT_LINE_CONT_ERR_BIT; in checkLineContinuity() 2242 return errorMask; in checkLineContinuity() 2256 deUint8 errorMask = 0; in checkLineWidths() local 2296 errorMask |= SCANRESULT_LINE_WIDTH_ERR_BIT; in checkLineWidths() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureMipmapTests.cpp | 336 tcu::Surface errorMask (viewportWidth, viewportHeight); in iterate() local 381 tcu::getSubregion(errorMask.getAccess(), curX, curY, curW, curH), in iterate() 396 << TestLog::Image("ErrorMask", "Error mask", errorMask); in iterate() 569 tcu::Surface errorMask (viewportWidth, viewportHeight); in iterate() local 619 tcu::getSubregion(errorMask.getAccess(), curX, curY, curW, curH), in iterate() 635 << TestLog::Image("ErrorMask", "Error mask", errorMask); in iterate() 850 tcu::Surface errorMask (viewportWidth, viewportHeight); in iterate() local 894 tcu::getSubregion(errorMask.getAccess(), curX, curY, curW, curH), in iterate() 909 << TestLog::Image("ErrorMask", "Error mask", errorMask); in iterate() 1033 tcu::Surface errorMask (viewportWidth, viewportHeight); in iterate() local [all …]
|
/external/deqp/modules/gles3/stress/ |
D | es3sSpecialFloatTests.cpp | 182 tcu::Surface errorMask (TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); in checkResultImage() local 193 errorMask.setPixel(x, y, tcu::RGBA::green()); in checkResultImage() 196 errorMask.setPixel(x, y, tcu::RGBA::red()); in checkResultImage() 207 << tcu::TestLog::Image("Error mask", "Error mask", errorMask) in checkResultImage() 257 tcu::Surface errorMask (TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); in drawTestPattern() local 335 errorMask.setPixel(x, y, tcu::RGBA::red()); in drawTestPattern() 339 errorMask.setPixel(x, y, tcu::RGBA::green()); in drawTestPattern() 349 << tcu::TestLog::Image("Error mask", "Error mask", errorMask) in drawTestPattern() 1755 tcu::Surface errorMask (TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); in testFBO() local 1772 errorMask.setPixel(x, y, badPixelColor); in testFBO() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
D | vktTessellationGeometryGridRenderTests.cpp | 486 tcu::Surface errorMask (image.getWidth(), image.getHeight()); in verifyResultLayer() local 489 tcu::clear(errorMask.getAccess(), tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f)); in verifyResultLayer() 502 errorMask.setPixel(x, y, tcu::RGBA::red()); in verifyResultLayer() 520 << tcu::TestLog::Image("ErrorMask", "Error mask", errorMask.getAccess()) in verifyResultLayer()
|