diff options
author | Matthias Clasen <mclasen@redhat.com> | 2023-04-30 16:16:32 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2023-05-01 13:43:33 -0400 |
commit | 21df62f4287cea0f9264228a5d5afe1237425369 (patch) | |
tree | ad840f7eaa1f84ad3d9586d39cb72f65a66d6d53 | |
parent | 4e501d2d4415a52d2acbc566acaf4036ad5e0948 (diff) | |
download | gtk+-21df62f4287cea0f9264228a5d5afe1237425369.tar.gz |
Add another test
-rw-r--r-- | testsuite/gsk/compare/blend-modes.node | 23 | ||||
-rw-r--r-- | testsuite/gsk/compare/blend-modes.png | bin | 0 -> 626 bytes | |||
-rw-r--r-- | testsuite/gsk/meson.build | 1 |
3 files changed, 24 insertions, 0 deletions
diff --git a/testsuite/gsk/compare/blend-modes.node b/testsuite/gsk/compare/blend-modes.node new file mode 100644 index 0000000000..b5e7e3eeb6 --- /dev/null +++ b/testsuite/gsk/compare/blend-modes.node @@ -0,0 +1,23 @@ +blend { + mode: difference; + bottom: color { + bounds: 0 0 100 100; + color: red; + } + top: color { + bounds: 50 50 100 100; + color: blue; + } +} + +blend { + mode: normal; + bottom: color { + bounds: 150 0 100 100; + color: red; + } + top: color { + bounds: 200 50 100 100; + color: blue; + } +} diff --git a/testsuite/gsk/compare/blend-modes.png b/testsuite/gsk/compare/blend-modes.png Binary files differnew file mode 100644 index 0000000000..8ae7de33f6 --- /dev/null +++ b/testsuite/gsk/compare/blend-modes.png diff --git a/testsuite/gsk/meson.build b/testsuite/gsk/meson.build index a337eaa280..aa2f3b07dd 100644 --- a/testsuite/gsk/meson.build +++ b/testsuite/gsk/meson.build @@ -15,6 +15,7 @@ compare_render_tests = [ 'big-checkerboard-scaled-down-nearest', 'big-checkerboard-scaled-down2', 'blend-difference', + 'blend-modes', 'blend-invisible-child', 'blend-normal', 'border-bottom-right', |