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
..
reference Optimize PNGs with zopflipng 2019-03-28 10:09:52 +00:00
bad-buffer-test.c tests: migrate client tests 2020-01-30 10:10:35 +00:00
config-parser-test.c tests/config-parser: Remove useless duplicate test 2019-11-28 19:24:13 +00:00
devices-test.c tests: migrate devices 2020-01-30 10:10:35 +00:00
event-test.c tests: migrate client tests 2020-01-30 10:10:35 +00:00
input-timestamps-helper.c tests: replace fprintf() with testlog() 2019-11-22 12:54:10 +02:00
input-timestamps-helper.h tests: Introduce input timestamps helper 2018-02-20 10:20:29 +02:00
internal-screenshot-test.c tests: add range argument for fuzzy image matching 2020-02-05 11:13:51 +00:00
internal-screenshot.ini tests: Add internal test for the weston test screenshot capability 2015-05-21 15:06:11 -07:00
ivi-layout-internal-test.c tests: migrate ivi-layout-internal 2020-01-30 10:10:35 +00:00
ivi-layout-test-client.c tests: migrate ivi-layout-test 2020-01-30 10:10:34 +00:00
ivi-layout-test-plugin.c tests: migrate ivi-layout-test 2020-01-30 10:10:34 +00:00
ivi-shell-app-test.c tests: migrate ivi-shell-app 2020-01-30 10:10:35 +00:00
ivi-test.h ivi-shell: implement surface_on_many_layer test 2016-06-29 11:32:23 +03:00
keyboard-test.c tests: migrate client tests 2020-01-30 10:10:35 +00:00
linux-explicit-synchronization-test.c tests: migrate linux-explicit-synchronization 2020-01-30 10:10:35 +00:00
matrix-test.c Rename matrix.h to libweston/matrix.h 2019-04-18 12:31:46 +03:00
meson.build tests: remove tests_weston and WESTON_TEST_CLIENT_PATH 2020-01-30 10:10:35 +00:00
plugin-registry-test.c tests: thread-based client harness 2020-01-30 10:10:34 +00:00
pointer-test.c tests: migrate client tests 2020-01-30 10:10:35 +00:00
presentation-test.c tests: migrate client tests 2020-01-30 10:10:35 +00:00
roles-test.c tests: thread-based client harness 2020-01-30 10:10:34 +00:00
setbacklight.c tests: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:19 -07:00
string-test.c tests: add missing include 2017-01-23 14:12:06 +02:00
subsurface-shot-test.c tests: run subsurface-shot on GL too 2020-02-05 11:13:51 +00:00
subsurface-test.c tests: migrate client tests 2020-01-30 10:10:35 +00:00
surface-global-test.c tests: migrate surface, surface-global 2020-01-30 10:10:35 +00:00
surface-screenshot-test.c Unify the include style of shared/ headers 2019-10-04 16:04:48 +03:00
surface-test.c tests: migrate surface, surface-global 2020-01-30 10:10:35 +00:00
text-test.c tests: migrate client tests 2020-01-30 10:10:35 +00:00
timespec-test.c Unify the include style of shared/ headers 2019-10-04 16:04:48 +03:00
touch-test.c tests: migrate client tests 2020-01-30 10:10:35 +00:00
vertex-clip-test.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
viewporter-test.c tests: migrate client tests 2020-01-30 10:10:35 +00:00
weston-test-client-helper.c tests: add range argument for fuzzy image matching 2020-02-05 11:13:51 +00:00
weston-test-client-helper.h tests: add range argument for fuzzy image matching 2020-02-05 11:13:51 +00:00
weston-test-desktop-shell.c Use weston_compositor_add_destroy_listener_once() in plugins 2019-11-21 16:32:55 +00:00
weston-test-fixture-compositor.c build: add test-gl-renderer option 2020-02-05 11:13:51 +00:00
weston-test-fixture-compositor.h tests: thread-based client harness 2020-01-30 10:10:34 +00:00
weston-test-runner.c tests: thread-based client harness 2020-01-30 10:10:34 +00:00
weston-test-runner.h tests: thread-based client harness 2020-01-30 10:10:34 +00:00
weston-test.c tests: release resources on compositor destruction 2020-02-04 13:30:19 +00:00
weston-testsuite-data.h tests: thread-based client harness 2020-01-30 10:10:34 +00:00
xwayland-test.c tests: migrate xwayland 2020-01-30 10:10:35 +00:00