testsuite: Add a blend node test case
authorTimm Bäder <mail@baedert.org>
Mon, 6 May 2019 15:26:46 +0000 (17:26 +0200)
committerTimm Bäder <mail@baedert.org>
Mon, 6 May 2019 15:34:48 +0000 (17:34 +0200)
This is currently broken in the GL renderer.

testsuite/gsk/compare/blend-normal.node [new file with mode: 0644]
testsuite/gsk/compare/blend-normal.png [new file with mode: 0644]
testsuite/gsk/meson.build

diff --git a/testsuite/gsk/compare/blend-normal.node b/testsuite/gsk/compare/blend-normal.node
new file mode 100644 (file)
index 0000000..f6b15f3
--- /dev/null
@@ -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 (file)
index 0000000..2ef7482
Binary files /dev/null and b/testsuite/gsk/compare/blend-normal.png differ
index ed58ebe559cd0525672b3fd8cdf207cb00ba5389..7f6fc3b3be4cfd1a9cca621150127546d79d25ce 100644 (file)
@@ -36,6 +36,7 @@ compare_render_tests = [
   'outset_shadow_rounded_top',
   'outset_shadow_simple',
   'shadow-in-opacity',
+  'blend-normal',
 ]
 
 renderers = [