"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libs/pigment/tests/KoRgbU8ColorSpaceTester.cpp" between
krita-5.1.3.tar.xz and krita-5.1.4.tar.xz

About: Krita is a painting program offering art tools for everyone (concept art, texture and matte painters, illustrations and comics).

KoRgbU8ColorSpaceTester.cpp  (krita-5.1.3.tar.xz):KoRgbU8ColorSpaceTester.cpp  (krita-5.1.4.tar.xz)
skipping to change at line 363 skipping to change at line 363
0, 0, 0, 0,
1, numTestablePixels, opacity); 1, numTestablePixels, opacity);
if (memcmp(badPixelDstPtr, expectedDst, cs->pixelSize()) != 0) { if (memcmp(badPixelDstPtr, expectedDst, cs->pixelSize()) != 0) {
qDebug() << "badPixelPos" << badPixelPos; qDebug() << "badPixelPos" << badPixelPos;
qDebug() << "opacity" << opacity; qDebug() << "opacity" << opacity;
qDebug() << "oriS" << badSrc[0] << badSrc[1] << badSrc[2] << badSrc[ 3]; qDebug() << "oriS" << badSrc[0] << badSrc[1] << badSrc[2] << badSrc[ 3];
qDebug() << "oriD" << badDst[0] << badDst[1] << badDst[2] << badDst[ 3]; qDebug() << "oriD" << badDst[0] << badDst[1] << badDst[2] << badDst[ 3];
qDebug() << "expD" << expectedDst[0] << expectedDst[1] << expectedDs t[2] << expectedDst[3]; qDebug() << "expD" << expectedDst[0] << expectedDst[1] << expectedDs t[2] << expectedDst[3];
qDebug() << "dst1" << badPixelDstPtr[0] << badPixelDstPtr[1] << badP ixelDstPtr[2] << badPixelDstPtr[3]; qDebug() << "dst1" << badPixelDstPtr[0] << badPixelDstPtr[1] << badP ixelDstPtr[2] << badPixelDstPtr[3];
#if HAVE_XSIMD #if defined HAVE_XSIMD && !defined(XSIMD_NO_SUPPORTED_ARCHITECTURE)
QFAIL("Failed to compose pixels"); QFAIL("Failed to compose pixels");
#else #else
qWarning() << "Skipping failed test when xsimd library is not used"; qWarning() << "Skipping failed test when xsimd library is not used";
#endif #endif
} }
}; };
/** /**
* This test is supposed to catch irregularities between vector and scalar v ersions * This test is supposed to catch irregularities between vector and scalar v ersions
* of the composite op. In vector version we handle division be zero in a re laxed * of the composite op. In vector version we handle division be zero in a re laxed
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)