Skip to content
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

dds: Add more DDS test images #3459

Merged
merged 1 commit into from
Jul 2, 2022
Merged

dds: Add more DDS test images #3459

merged 1 commit into from
Jul 2, 2022

Conversation

aras-p
Copy link
Contributor

@aras-p aras-p commented Jun 29, 2022

Description

Somewhat in preparation of addressing #2338, this adds more images into DDS test suite. The actual images are at AcademySoftwareFoundation/OpenImageIO-images#4, this one is just using them in the test python script.

Tests

Yes, this PR is only about the newly added tests. Of course all the dds tests are failing on CI without having the new images merged into the oiio-images repository (AcademySoftwareFoundation/OpenImageIO-images#4).

Checklist:

  • I have read the contribution guidelines.
  • If this is more extensive than a small change to existing code, I
    have previously submitted a Contributor License Agreement
    (individual, and if there is any way my
    employers might think my programming belongs to them, then also
    corporate).
  • I have updated the documentation, if applicable.
  • I have ensured that the change is tested somewhere in the testsuite
    (adding new test cases if necessary).
  • My code follows the prevailing code style of this project.

@lgritz lgritz merged commit 50f0e27 into AcademySoftwareFoundation:master Jul 2, 2022
lgritz pushed a commit that referenced this pull request Oct 5, 2022
* DDS: fixes for A8, L8, A8L8 formats

While developing #3573 at one time I had them working properly, but then
while fixing the address sanitizer failure for 3-channel formats I
botched them again. Note to self: never again do a "yeah I'll add tests
later", since if I had all of them running all the time this would
not have happened. 🤦

* DDS: extend test coverage for more formats & channel size cases

With more test images recently added (#3459),
start using them for DDS tests. This covers now:
- Alpha, Luminance and Alpha+Luminance formats,
- RGB formats with rarer channel sizes (rgb10 a2, r3g3b2),
- Several "broken" DDS file cases
- Removed usage of sample-DXT1 since it is well covered by others.
lgritz pushed a commit to lgritz/OpenImageIO that referenced this pull request Oct 6, 2022
…ftwareFoundation#3581)

* DDS: fixes for A8, L8, A8L8 formats

While developing AcademySoftwareFoundation#3573 at one time I had them working properly, but then
while fixing the address sanitizer failure for 3-channel formats I
botched them again. Note to self: never again do a "yeah I'll add tests
later", since if I had all of them running all the time this would
not have happened. 🤦

* DDS: extend test coverage for more formats & channel size cases

With more test images recently added (AcademySoftwareFoundation#3459),
start using them for DDS tests. This covers now:
- Alpha, Luminance and Alpha+Luminance formats,
- RGB formats with rarer channel sizes (rgb10 a2, r3g3b2),
- Several "broken" DDS file cases
- Removed usage of sample-DXT1 since it is well covered by others.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants