tests: add viewport test for repeat mode

This test ensures that
	"pixman-renderer: half-fix bilinear sampling on edges"
keeps on working.

Unlike in the original report
https://gitlab.freedesktop.org/wayland/weston/issues/373, here we use buffer
scale 2 instead of output scale 2 to trigger bilinear filter. The effect is the
same, the actual resulting image in the failing case is just a little
different. This is so that it will be easy to add more viewport screenshooting
tests in this program in the future.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
Pekka Paalanen
2020-03-11 17:43:44 +02:00
parent f26d17fe03
commit 4505f81111
3 changed files with 90 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 829 B