mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2025-12-20 02:20:13 +01:00
tests: Set optimal refresh rate for tests
A very marginal benefit, but why not. Any tests using screen capture are now using a refresh rate of 0 (redraw immediately on capture request), whilst others are using HIGHEST_OUTPUT_REFRESH. Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
parent
ef6747a951
commit
e2b3ab38bd
3 changed files with 3 additions and 0 deletions
|
|
@ -47,6 +47,7 @@ fixture_setup(struct weston_test_harness *harness)
|
|||
|
||||
compositor_setup_defaults(&setup);
|
||||
setup.shell = SHELL_IVI;
|
||||
setup.refresh = HIGHEST_OUTPUT_REFRESH;
|
||||
|
||||
return weston_test_harness_execute_as_plugin(harness, &setup);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@ fixture_setup(struct weston_test_harness *harness)
|
|||
|
||||
compositor_setup_defaults(&setup);
|
||||
setup.shell = SHELL_IVI;
|
||||
setup.refresh = HIGHEST_OUTPUT_REFRESH;
|
||||
setup.extra_module = "test-ivi-layout.so";
|
||||
|
||||
return weston_test_harness_execute_as_client(harness, &setup);
|
||||
|
|
|
|||
|
|
@ -57,6 +57,7 @@ fixture_setup(struct weston_test_harness *harness)
|
|||
|
||||
compositor_setup_defaults(&setup);
|
||||
setup.shell = SHELL_TEST_DESKTOP;
|
||||
setup.refresh = HIGHEST_OUTPUT_REFRESH;
|
||||
setup.xwayland = true;
|
||||
setup.logging_scopes = "log,xwm-wm-x11";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue