linebender / linebender/tiny-skia

Feature request: split PixmapMut into ranges of scan lines

Open
#118 5 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.