New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BasisImageConverter #65
Conversation
11e3a5c
to
9247d38
Compare
9247d38
to
6fd3a05
Compare
Codecov Report
@@ Coverage Diff @@
## master #65 +/- ##
==========================================
- Coverage 90.99% 90.62% -0.38%
==========================================
Files 51 53 +2
Lines 4377 4201 -176
==========================================
- Hits 3983 3807 -176
Misses 394 394
Continue to review full report at Codecov.
|
6d3ff09
to
7f7938f
Compare
7f7938f
to
d79157b
Compare
Rebased onto |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
4284f45
to
d5c0702
Compare
6a3de47
to
987be5d
Compare
d5c0702
to
337f841
Compare
337f841
to
930fd27
Compare
src/MagnumPlugins/BasisImageConverter/Test/BasisImageConverterTest.cpp
Outdated
Show resolved
Hide resolved
src/MagnumPlugins/BasisImageConverter/Test/BasisImageConverterTest.cpp
Outdated
Show resolved
Hide resolved
CORRADE_VERIFY(compressedData); | ||
|
||
if(_importerManager.loadState("BasisImporterRGBA8") == PluginManager::LoadState::NotFound) | ||
CORRADE_SKIP("BasisImporterRGBA8 plugin not found, cannot test"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just check for BasisImporter
alone, this error message may be confusing for people who don't know the aliases. Same below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But I guess I would check for BasisImporterRGBA8
, but just change the error message, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If there's BasisImporter
and it doesn't provide a BasisImporterRGBA8
alias, then there's something very off and it should blow up (while this would lead to just SKIP
) ... so pick the loudest alternative :D
But this is a minor thing, nothing critical.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, not necessarily, could just be compiled out or an older version
Not sure what your comment means in practice, shall I remove the RGBA8 prefix from both the skip message and the loadState call?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, remove both.
Signed-off-by: Squareys <squareys@googlemail.com>
Signed-off-by: Squareys <squareys@googlemail.com>
Signed-off-by: Squareys <squareys@googlemail.com>
5fac7a2
to
c4172ac
Compare
@mosra Rebased, let's see what the CIs say! |
46db66f
to
d31cba5
Compare
Signed-off-by: Squareys <squareys@googlemail.com>
d31cba5
to
0f181d8
Compare
Merged, thank you! |
Hey @mosra !
Here's step 2 of Basis support, based on the
basis-importer
branch, so will need to rebase once #62 is merged :)TODOs:
doExportData
[ ] API for config options?