/external/deqp/modules/gles2/functional/ |
D | es2fClippingTests.cpp | 147 …cess& test, const ConstPixelBufferAccess& ref, const PixelBufferAccess& diffMask, int kernelRadius… in compareImages() argument 155 tcu::clear(diffMask, MASK_COLOR_OK); in compareImages() 209 diffMask.setPixel(MASK_COLOR_DEV, x, y); in compareImages() 217 diffMask.setPixel(MASK_COLOR_FAIL, x, y); in compareImages() 240 …cess& test, const ConstPixelBufferAccess& ref, const PixelBufferAccess& diffMask, int kernelRadius) in compareBlackNonBlackImages() argument 242 return compareImages(log, test, ref, diffMask, kernelRadius, compareBlackNonBlackPixels); in compareBlackNonBlackImages() 257 …cess& test, const ConstPixelBufferAccess& ref, const PixelBufferAccess& diffMask, int kernelRadius) in compareColoredImages() argument 259 return compareImages(log, test, ref, diffMask, kernelRadius, compareColoredPixels); in compareColoredImages() 566 tcu::Surface diffMask (TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); in testRender() local 573 …ackNonBlackImages(log, testSurface.getAccess(), refSurface.getAccess(), diffMask.getAccess(), kern… in testRender() [all …]
|
D | es2fPolygonOffsetTests.cpp | 93 …& test, const tcu::ConstPixelBufferAccess& ref, const tcu::PixelBufferAccess& diffMask, int radius) in compareImages() argument 106 tcu::clear(diffMask, MASK_COLOR_OK); in compareImages() 139 diffMask.setPixel(MASK_COLOR_DEV, x, y); in compareImages() 147 diffMask.setPixel(MASK_COLOR_FAIL, x, y); in compareImages() 165 tcu::Surface diffMask (testImage.getWidth(), testImage.getHeight()); in verifyImages() local 167 …faultyPixels = compareImages(log, renderCtx, referenceImage, testImage, diffMask.getAccess(), kern… in verifyImages() 174 log << TestLog::Image("Difference mask", "Difference mask", diffMask.getAccess()); in verifyImages()
|
/external/deqp/modules/gles3/functional/ |
D | es3fClippingTests.cpp | 150 …cess& test, const ConstPixelBufferAccess& ref, const PixelBufferAccess& diffMask, int kernelRadius… in compareImages() argument 158 tcu::clear(diffMask, MASK_COLOR_OK); in compareImages() 212 diffMask.setPixel(MASK_COLOR_DEV, x, y); in compareImages() 220 diffMask.setPixel(MASK_COLOR_FAIL, x, y); in compareImages() 243 …cess& test, const ConstPixelBufferAccess& ref, const PixelBufferAccess& diffMask, int kernelRadius) in compareBlackNonBlackImages() argument 245 return compareImages(log, test, ref, diffMask, kernelRadius, compareBlackNonBlackPixels); in compareBlackNonBlackImages() 260 …cess& test, const ConstPixelBufferAccess& ref, const PixelBufferAccess& diffMask, int kernelRadius) in compareColoredImages() argument 262 return compareImages(log, test, ref, diffMask, kernelRadius, compareColoredPixels); in compareColoredImages() 569 tcu::Surface diffMask (TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); in testRender() local 576 …ackNonBlackImages(log, testSurface.getAccess(), refSurface.getAccess(), diffMask.getAccess(), kern… in testRender() [all …]
|
D | es3fPolygonOffsetTests.cpp | 96 …& test, const tcu::ConstPixelBufferAccess& ref, const tcu::PixelBufferAccess& diffMask, int radius) in compareImages() argument 109 tcu::clear(diffMask, MASK_COLOR_OK); in compareImages() 142 diffMask.setPixel(MASK_COLOR_DEV, x, y); in compareImages() 150 diffMask.setPixel(MASK_COLOR_FAIL, x, y); in compareImages() 168 tcu::Surface diffMask (testImage.getWidth(), testImage.getHeight()); in verifyImages() local 170 …faultyPixels = compareImages(log, renderCtx, referenceImage, testImage, diffMask.getAccess(), kern… in verifyImages() 177 log << TestLog::Image("Difference mask", "Difference mask", diffMask.getAccess()); in verifyImages()
|
/external/deqp/framework/common/ |
D | tcuImageCompare.cpp | 291 …rAccess& ref, const ConstPixelBufferAccess& cmp, const PixelBufferAccess& diffMask, int diffFactor) in computeSquaredDiffSum() argument 294 DE_ASSERT(ref.getWidth() == cmp.getWidth() && ref.getWidth() == diffMask.getWidth()); in computeSquaredDiffSum() 295 DE_ASSERT(ref.getHeight() == cmp.getHeight() && ref.getHeight() == diffMask.getHeight()); in computeSquaredDiffSum() 309 …diffMask.setPixel(tcu::RGBA(deClamp32(sum*diffFactor, 0, 255), deClamp32(255-sum*diffFactor, 0, 25… in computeSquaredDiffSum() 337 …TextureLevel diffMask (TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8), reference.ge… in measurePixelDiffAccuracy() local 339 deInt64 squaredSum = computeSquaredDiffSum(reference, result, diffMask.getAccess(), diffFactor); in measurePixelDiffAccuracy() 354 << TestLog::Image("DiffMask", "Difference", diffMask) in measurePixelDiffAccuracy()
|
/external/angle/src/libANGLE/renderer/gl/ |
D | StateManagerGL.cpp | 1175 gl::DrawBufferMask diffMask = mBlendStateExt.mEnabledMask ^ enabledMask; in setBlendEnabledIndexed() local 1176 const size_t diffCount = diffMask.count(); in setBlendEnabledIndexed() 1192 diffMask = enabledMask; in setBlendEnabledIndexed() 1197 diffMask = disabledMask; in setBlendEnabledIndexed() 1202 for (size_t drawBufferIndex : diffMask) in setBlendEnabledIndexed() 1249 gl::DrawBufferMask diffMask = in setBlendFuncs() local 1252 size_t diffCount = diffMask.count(); in setBlendFuncs() 1282 diffMask = tempDiffMask; in setBlendFuncs() 1304 for (size_t drawBufferIndex : diffMask) in setBlendFuncs() 1336 gl::DrawBufferMask diffMask = mBlendStateExt.compareEquations(blendStateExt.mEquationColor, in setBlendEquations() local [all …]
|