Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions imaging_snapshot_tests/src/cases/masks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,10 @@ impl SnapshotCase for GmMaskAlpha {
}

fn supports_backend(&self, backend: &str) -> bool {
matches!(backend, "skia" | "tiny_skia" | "vello_cpu")
matches!(
backend,
"skia" | "tiny_skia" | "vello_cpu" | "vello" | "vello_hybrid"
)
}

fn run(&self, sink: &mut dyn PaintSink, width: f64, height: f64) {
Expand All @@ -137,7 +140,10 @@ impl SnapshotCase for GmMaskLuminance {
}

fn supports_backend(&self, backend: &str) -> bool {
matches!(backend, "skia" | "tiny_skia" | "vello_cpu" | "vello")
matches!(
backend,
"skia" | "tiny_skia" | "vello_cpu" | "vello" | "vello_hybrid"
)
}

fn run(&self, sink: &mut dyn PaintSink, width: f64, height: f64) {
Expand Down
9 changes: 8 additions & 1 deletion imaging_snapshot_tests/src/cases/svg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,15 @@ impl SnapshotCase for GmSvgLuminanceMask {
10
}

fn vello_hybrid_max_diff_pixels(&self) -> u64 {
10
}

fn supports_backend(&self, backend: &str) -> bool {
backend != "vello_hybrid"
matches!(
backend,
"skia" | "tiny_skia" | "vello_cpu" | "vello" | "vello_hybrid"
)
}

fn run(&self, sink: &mut dyn PaintSink, _width: f64, _height: f64) {
Expand Down
Loading
Loading