linebender / linebender/tiny-skia
Feature request: split PixmapMut into ranges of scan lines
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.6k
- Forks
- 99
- Avg merge
- 2h 52m
- Merged PRs (30d)
- 1
Description
I have a task that creates a vertical stack of animation frames, where each frame is rendered separately. If I had a separate PixmapMut for each frame, then I'd be able to render the frames in parallel without needing any synchronization. And since a range of scan lines is a contiguous range of bytes, this should be feasible with the existing PixmapMut type.
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 PixmapMut definition and reviewing its current ownership and pixel-access APIs. Determine how a contiguous range of scan lines could become an independently usable PixmapMut, and define completion as separate frame ranges that can be rendered in parallel without synchronization.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100