Tile data management changed in Krita

Boudewijn Rempt boud at valdyas.org
Mon Mar 21 11:50:25 UTC 2016


Hi Fazek,

This is quite dangerous... It's typically the sort of commit that should go through review and testing first because it's the core-most part of Krita. I also get a build failure now, so I'm guessing you're not building the unittests?

Scanning dependencies of target KisLowMemoryTests
[ 50%] Building CXX object libs/image/tiles3/tests/CMakeFiles/KisLowMemoryTests.dir/kis_low_memory_tests.cpp.o
/home/boud/dev/krita/libs/image/tiles3/tests/kis_low_memory_tests.cpp: In member function ‘void KisLowMemoryTests::hangingTilesTest()’:
/home/boud/dev/krita/libs/image/tiles3/tests/kis_low_memory_tests.cpp:167:52: error: cannot convert ‘KisTileDataSP {aka QSharedPointer<KisTileData>}’ to ‘KisTileData*’ in initialization
      KisTileData *weirdTileData = dstTile->tileData();
                                                     ^
/home/boud/dev/krita/libs/image/tiles3/tests/kis_low_memory_tests.cpp:180:52: error: cannot convert ‘KisTileDataSP {aka QSharedPointer<KisTileData>}’ to ‘KisTileData*’ in initialization
      KisTileData *cowedTileData = dstTile->tileData();
                                                     ^
[ 50%] Linking CXX executable KisPainterTest
libs/image/tiles3/tests/CMakeFiles/KisLowMemoryTests.dir/build.make:62: recipe for target 'libs/image/tiles3/tests/CMakeFiles/KisLowMemoryTests.dir/kis_low_memory_tests.cpp.o' failed
make[2]: *** [libs/image/tiles3/tests/CMakeFiles/KisLowMemoryTests.dir/kis_low_memory_tests.cpp.o] Error 1
CMakeFiles/Makefile2:17296: recipe for target 'libs/image/tiles3/tests/CMakeFiles/KisLowMemoryTests.dir/all' failed
make[1]: *** [libs/image/tiles3/tests/CMakeFiles/KisLowMemoryTests.dir/all] Error 2


On Mon, 21 Mar 2016, Fazekas László wrote:

> Hello all,
>
> I just modified the internal logic of the tile data management in Krita 
> (T1835 in phabricator). If you encounter any strange behaviour related 
> to tiles please tell me. Specially if the program crashes or complains 
> about remaining tiles when exiting.
>
> Thanks,
> Fazek
>
> _______________________________________________
> Krita mailing list
> kimageshop at kde.org
> https://mail.kde.org/mailman/listinfo/kimageshop
>

-- 
Boudewijn Rempt | http://www.krita.org, http://www.valdyas.org


More information about the kimageshop mailing list