Files
weston/tests
Pekka Paalanen 741fca40b5 tests: run subsurface-shot on GL too
This adds the necessary fuzz to image matching to let GL-renderer pass.
The difference is due to rounding. weston-test-desktop-shell.c uses

weston_surface_set_color(dts->background_surface, 0.16, 0.32, 0.48, 1.);

to set the background color. Pixman-renderer will truncate those to uint8, but
GL-renderer seems to round instead, which causes the +1 in background color
channel values.

	0.16 * 255 = 40.8
	0.32 * 255 = 81.6
	0.48 * 255 = 122.4

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
2020-02-05 11:13:51 +00:00
..
2019-03-28 10:09:52 +00:00
2020-01-30 10:10:35 +00:00
2020-01-30 10:10:35 +00:00
2020-01-30 10:10:35 +00:00
2020-01-30 10:10:35 +00:00
2020-01-30 10:10:35 +00:00
2017-01-23 14:12:06 +02:00
2020-01-30 10:10:35 +00:00
2020-01-30 10:10:35 +00:00
2020-01-30 10:10:35 +00:00
2016-06-23 17:44:54 +03:00
2020-01-30 10:10:35 +00:00
2020-01-30 10:10:35 +00:00