-
Notifications
You must be signed in to change notification settings - Fork 59
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
BasisImporter #62
BasisImporter #62
Conversation
0a5d43f
to
1f76e6b
Compare
Codecov Report
@@ Coverage Diff @@
## master #62 +/- ##
==========================================
- Coverage 90.94% 90.79% -0.16%
==========================================
Files 49 51 +2
Lines 4240 3898 -342
==========================================
- Hits 3856 3539 -317
+ Misses 384 359 -25
Continue to review full report at Codecov.
|
@mosra So, there has been zero visible progress on build system / library support in basis_universal since June. With this PR, I just copied the files of my forked repository with the debug iterator level fix into external, but that was just a temporary solution. How are we going to include basis? I currently don't see a way that doesn't involve our own patched version, but maybe a submodule is a better idea than just copying the files? |
Oh well. I would say we do it similarly as we did with ImGui (finding sources and building through and external CMake script), plus relying on your fork for Windows builds until BinomialLLC/basis_universal#46 gets finally merged. Or is there anything else needed beyond that? Submodules are problematic since |
That submodule concern makes a lot of sense, yes. Finding the sources via CMake is a good idea, I remember you suggested that before 👍 But good to have it documented here on GitHub now.
For windows support, no further code changes. But to build as a library, we will have to add some cmake project. (Theirs just builds the basisu tool.) |
1f76e6b
to
08138f9
Compare
5d5f0a0
to
6cbe2cc
Compare
f6bbf13
to
9a637c3
Compare
032b19b
to
2cd6e42
Compare
2cd6e42
to
13cfcb9
Compare
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.
This looks quite finished already! 🎉
aab0800
to
0c9df86
Compare
5b22504
to
57b645b
Compare
Alright, done! 🎉 |
c4adfb6
to
bd6791e
Compare
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.
I'm a bit sad that codecov is broken and doesn't show the actual covered lines. Would need to check the coverage locally, then.
6d7b29e
to
23cead4
Compare
@mosra Ready! 👍 |
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.
Last few bits and then I'll leave you in peace :)
For the real-world test before I merge to master
(and a nice & useful feature as a side-effect) I'll add compressed image support to magnum-player and try to open a few Basis images with it.
d50b492
to
124d4c8
Compare
Done once more :) |
124d4c8
to
ac6fece
Compare
Signed-off-by: Squareys <squareys@googlemail.com>
ac6fece
to
d4bb29a
Compare
Signed-off-by: Squareys <squareys@googlemail.com>
Signed-off-by: Squareys <squareys@googlemail.com>
Signed-off-by: Squareys <squareys@googlemail.com>
d4bb29a
to
b3341af
Compare
Hi @mosra !
This is the pullrequest for the BasisImporter plugin. The BasisConverter will be in a separate pullrequest.
I will ping you once you can take the first look at it. Big warning: I currently added all of the https://github.com/binomialLLC/basis_universal code with my patch. I am still hoping BinomialLLC/basis_universal#46 or BinomialLLC/basis_universal#11 or maybe BinomialLLC/basis_universal#13 will be fixed/merged/dealt with by the time this pullrequest is ready or the next release that Rich is working on solves linking to it as a library.
If not, we can rediscuss options for how to integrate it best.
Sincerely,
Jonathan
TODOs
[ ] AnyImageImporter delegation=> AnyImageImporter: Delegate .basis files magnum#370