repeatedly rendering the same `ImageData` does not occur any error but the image does not appear except the first rendering
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 4.3k
- Forks
- 300
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 61
Description
I found this bug after upgrading the version of vello from 0.7.0 to 0.9.0.
Here's the code for recreating this bug (most things are omitted to simplify the code):
use vello::kurbo::Affine;
use vello::peniko::{ Color, ImageData };
let image_data = ImageData {
// ...
};
let scene = vello::Scene::new();
scene.draw_image(&image_data, /* ... */);
// the first rendering draws the image correctly,
// but repeating this does not
renderer.render_to_texture(
&device, &queue,
&scene, &texture_view,
&RenderParams {
base_color: Color::TRANSPARENT,
width, height,
antialiasing_method: vello::AaConfig::Area
}
);
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 reproducing the issue with the provided ImageData, Scene::draw_image, and repeated renderer.render_to_texture calls using vello 0.9.0, then compare the first and subsequent outputs. Trace the image-rendering path involved by these entry points and verify that repeated rendering of the same scene displays the image consistently without errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100