Add tests that render to a non-RGBA8 surface
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 4.3k
- Forks
- 300
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 61
Description
While working on filters, it has often happened to me that the tests worked fine, but when I opened the interactive demo it didn't work anymore due to mismatches in the texture format. This is because (I think) the tests always render to an RGBA8 surface, but when opening the interactive winit demo for example, it will render to a BGRA8 surface on MacOS. It would be nice to have some tests for this so that this case is covered as well.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing filter tests that render to RGBA8 and the interactive winit demo path described in the issue. Add coverage for a non-RGBA8 surface, such as the demo's BGRA8 case, then run the relevant test suite and confirm that texture-format mismatches are covered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- computer-graphics, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100