[gtk] testsuite: Add a blend node test case
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] testsuite: Add a blend node test case
- Date: Mon, 6 May 2019 15:40:33 +0000 (UTC)
commit 8559593a18159c3f0b0a13a3eeab59e9bc23ff97
Author: Timm Bäder <mail baedert org>
Date: Mon May 6 17:26:46 2019 +0200
testsuite: Add a blend node test case
This is currently broken in the GL renderer.
testsuite/gsk/compare/blend-normal.node | 11 +++++++++++
testsuite/gsk/compare/blend-normal.png | Bin 0 -> 508 bytes
testsuite/gsk/meson.build | 1 +
3 files changed, 12 insertions(+)
---
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 = [
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]