Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[WIP] DDS import #7
Hi @mosra !
As promissed, here is the WIP Pullrequest. The tests currently still fail and print two identical arrays (for compressed images). For uncompressed, the size of the imagedata seems larger than it should, did not figure out why that is yet (the size calculated correctly in the importer).
Okay, first things first:
The tests are printing the same values but failing because
#include <Corrade/TestSuite/Compare/Container.h> ... CORRADE_COMPARE_AS(image->data(), Containers::ArrayView<const char>(pixels), TestSuite::Compare::Container);
For uncompressed, the failing test is my bug mosra/magnum#104 (yes, you are computing the size correctly).
Great, thanks a lot!
I merged it locally and made some modifications so all the tests pass now, but it depends on not yet published Magnum changes, so I'll push everything at once... another crazily large change :)