From: Timm Bäder Date: Mon, 6 May 2019 15:26:46 +0000 (+0200) Subject: testsuite: Add a blend node test case X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~21^2~10 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8559593a18159c3f0b0a13a3eeab59e9bc23ff97;p=gtk4.git testsuite: Add a blend node test case This is currently broken in the GL renderer. --- diff --git a/testsuite/gsk/compare/blend-normal.node b/testsuite/gsk/compare/blend-normal.node new file mode 100644 index 0000000000..f6b15f3ec8 --- /dev/null +++ b/testsuite/gsk/compare/blend-normal.node @@ -0,0 +1,11 @@ +blend { + mode: normal; + bottom: color { + bounds: 0 0 100 100; + color: red; + } + top: color { + bounds: 50 50 100 100; + color: blue; + } +} \ No newline at end of file diff --git a/testsuite/gsk/compare/blend-normal.png b/testsuite/gsk/compare/blend-normal.png new file mode 100644 index 0000000000..2ef7482b45 Binary files /dev/null and b/testsuite/gsk/compare/blend-normal.png differ diff --git a/testsuite/gsk/meson.build b/testsuite/gsk/meson.build index ed58ebe559..7f6fc3b3be 100644 --- a/testsuite/gsk/meson.build +++ b/testsuite/gsk/meson.build @@ -36,6 +36,7 @@ compare_render_tests = [ 'outset_shadow_rounded_top', 'outset_shadow_simple', 'shadow-in-opacity', + 'blend-normal', ] renderers = [