Fix Vello rendering blurry images with a half-pixel offset

This commit is contained in:
Keavon Chambers 2026-03-11 04:48:08 -07:00
parent 81d0b8b8d4
commit 6d0357bbcf
2 changed files with 5 additions and 6 deletions

9
Cargo.lock generated
View File

@ -6480,8 +6480,7 @@ dependencies = [
[[package]]
name = "vello"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "72fef40773530322d5c2ffe3c1107e9874bd8239ac137d1c2b6c1edad695146e"
source = "git+https://github.com/Keavon/vello.git?branch=0.7.0-fix-images-rendering-blurry#9a2591c80470789eb82681203c21b7d9002bedcb"
dependencies = [
"bytemuck",
"futures-intrusive",
@ -6499,8 +6498,7 @@ dependencies = [
[[package]]
name = "vello_encoding"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "24c91203ec4b483440614a9a5c7c2d991932af72c5349659a63ec49476f0b79c"
source = "git+https://github.com/Keavon/vello.git?branch=0.7.0-fix-images-rendering-blurry#9a2591c80470789eb82681203c21b7d9002bedcb"
dependencies = [
"bytemuck",
"guillotiere",
@ -6512,8 +6510,7 @@ dependencies = [
[[package]]
name = "vello_shaders"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7a765d44d4bd354146e44f9a860f4e92effd91a97302549be9e47f0a18d8128c"
source = "git+https://github.com/Keavon/vello.git?branch=0.7.0-fix-images-rendering-blurry#9a2591c80470789eb82681203c21b7d9002bedcb"
dependencies = [
"bytemuck",
"log",

View File

@ -237,3 +237,5 @@ debug = true
# Force cargo to use only one version of the dpi crate (vendoring breaks without this)
dpi = { git = "https://github.com/rust-windowing/winit.git" }
download-cef = { git = "https://github.com/timon-schelling/cef-rs.git", branch = "graphite" }
vello = { git = "https://github.com/Keavon/vello.git", branch = "0.7.0-fix-images-rendering-blurry" }
vello_encoding = { git = "https://github.com/Keavon/vello.git", branch = "0.7.0-fix-images-rendering-blurry" }