linebender / linebender/tiny-skia

Optimize clipping

Open
#9 6 comments 0 reactions 0 assignees View on GitHub
perfomance
Dominant language
Rust
Stars
1.6k
Forks
99
Avg merge
2h 52m
Merged PRs (30d)
1

Description

Currently, we're using just a simple alpha mask, unlike Skia, which has a very complicated clipping algorithm. It's like 5000 LOC. But this algorithms is always faster that just a mask and uses less memory.

Contributor guide

No contributing guide indexed for this repository

Research direction

Begin by comparing the current alpha-mask clipping approach with Skia's clipping algorithm, then measure their speed and memory use. The issue names no files or tests, so the implementation entry point and validation coverage must be located first. Done means clipping is faster and uses less memory without changing rendered output.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
computer-graphics, performance
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.