From 0581e38b09aae10b918c24cd00d4dff2304e36b1 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sat, 4 Mar 2023 02:50:38 +0100 Subject: [PATCH] testsuite: Add a test for stripes The GL renderer was creating sripes for nodes that were scaled in particular ways, probably due to rounding errors. This testsuite focuses on one of those stripes to make sure they are gone. --- testsuite/gsk/compare/texture-scale-stripes.node | 8 ++++++++ testsuite/gsk/compare/texture-scale-stripes.png | Bin 0 -> 313 bytes testsuite/gsk/meson.build | 1 + 3 files changed, 9 insertions(+) create mode 100644 testsuite/gsk/compare/texture-scale-stripes.node create mode 100644 testsuite/gsk/compare/texture-scale-stripes.png diff --git a/testsuite/gsk/compare/texture-scale-stripes.node b/testsuite/gsk/compare/texture-scale-stripes.node new file mode 100644 index 0000000000..acd72b2e44 --- /dev/null +++ b/testsuite/gsk/compare/texture-scale-stripes.node @@ -0,0 +1,8 @@ +clip { + clip: 3950 3950 100 100; + child: texture-scale { + bounds: 0 0 19991 19991; + filter: nearest; + texture: url('data:,'); + } +} \ No newline at end of file diff --git a/testsuite/gsk/compare/texture-scale-stripes.png b/testsuite/gsk/compare/texture-scale-stripes.png new file mode 100644 index 0000000000000000000000000000000000000000..e46858c416f2f7592cb5570c9c02159018723197 GIT binary patch literal 313 zcmeAS@N?(olHy`uVBq!ia0vp^DImfep<6 z=RNFY`j#Q8bJNN={lty^%oUPC$sRq5hHXbAh9Bb$>l+`YWBxn0+XI7y!PC{xWt~$( F69DarWmf