Fix blend modes and opacity on raster data (#1996)

* Apply alpha blending to images when using vello

* Fix bounds for image layer

* Fix rendering for non vello images
This commit is contained in:
Dennis Kobert 2024-09-20 22:42:39 +02:00 committed by GitHub
parent 768ca0c535
commit 32da545a49
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 26 additions and 8 deletions

View file

@ -931,5 +931,6 @@ async fn upload_texture<'a: 'n>(_: (), input: ImageFrame<Color>, executor: &'a W
TextureFrame {
texture: texture.into(),
transform: input.transform,
alpha_blend: Default::default(),
}
}