linebender / linebender/vello

Don't clear atlas regions in `vello_hybrid`

Open
#1,402 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C-gpu performance
Dominant language
Rust
Stars
4.3k
Forks
300
Avg merge
2d 13h
Merged PRs (30d)
61

Description

I discussed this with Alex, and it seems like we might be able to remove the call to `clear_atlas_region` when deallocating images. Since new images can just override the area they need, it shouldn't be necessary to explicitly clear previous images.

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 in the vello_hybrid image-deallocation path and locate the call to clear_atlas_region. Inspect how newly allocated images overwrite atlas areas and verify that removing the clear does not leave stale pixels in rendered output. Done means the unnecessary clear is removed without changing rendering behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
computer-graphics
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.