[gtk/wip/baedert/for-master: 8/11] testsuite: Add another repeat node test case
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master: 8/11] testsuite: Add another repeat node test case
- Date: Sun, 11 Aug 2019 06:36:28 +0000 (UTC)
commit 01214c615f727c4a45962e4ba87484c8e4c68ad5
Author: Timm Bäder <mail baedert org>
Date: Sat Aug 10 19:56:10 2019 +0200
testsuite: Add another repeat node test case
testsuite/gsk/compare/repeat-texture.node | 9 +++++++++
testsuite/gsk/compare/repeat-texture.png | Bin 0 -> 118 bytes
testsuite/gsk/meson.build | 1 +
3 files changed, 10 insertions(+)
---
diff --git a/testsuite/gsk/compare/repeat-texture.node b/testsuite/gsk/compare/repeat-texture.node
new file mode 100644
index 0000000000..ee7870430b
--- /dev/null
+++ b/testsuite/gsk/compare/repeat-texture.node
@@ -0,0 +1,9 @@
+repeat {
+ child: texture {
+ bounds: 0 0 1 2;
+ texture:
url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAABmJLR0QA/wD/AP+gvaeTAAAAEklEQVQImWNgYGD4z8DAwMAAAAYEAQD7YNrQAAAAAElFTkSuQmCC");
+ }
+
+ bounds: 0 0 25 25;
+}
+
diff --git a/testsuite/gsk/compare/repeat-texture.png b/testsuite/gsk/compare/repeat-texture.png
new file mode 100644
index 0000000000..3aaae7b03f
Binary files /dev/null and b/testsuite/gsk/compare/repeat-texture.png differ
diff --git a/testsuite/gsk/meson.build b/testsuite/gsk/meson.build
index e2e0494ca4..e367cd7ef6 100644
--- a/testsuite/gsk/meson.build
+++ b/testsuite/gsk/meson.build
@@ -58,6 +58,7 @@ compare_render_tests = [
'scale-up-down',
'opacity-overlapping-children',
'repeat',
+ 'repeat-texture',
]
# these are too sensitive to differences in the renderers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]