Commits on Source (5)
-
Custom headless refresh rates can be useful to instrument clients matching different screen configurations. This commit adds support for that to the headless backend and exposes it to the frontend with the "--refresh-rate" CLI option. The default refresh value is still 60 Hz. Signed-off-by: Loïc Molinari <loic.molinari@collabora.com>
6caeba69 -
Damages and captures both trigger repaints of outputs. Some configurations don't care about damages and use headless only for captures. This commit adds a new feature to libweston that lets outputs repaint only on captures, not on damages. The headless backend enables that new feature when given a special refresh rate of 0 mHz. Signed-off-by: Loïc Molinari <loic.molinari@collabora.com>
7b2eddf0 -
The test suite is throttled by the headless backend repaint timer. This commit uses the headless refresh rate option to speed up runtime by using the immediate repaint-only-on-capture mode by default. Tests which don't support that mode yet override the refresh value to use the highest rate possible. Fixes #682 Signed-off-by: Loïc Molinari <loic.molinari@collabora.com>
343adb2a -
Add a section about the headless backend to the main Weston manual page and describe the current CLI options as well the new `--refresh-rate` one. Fix the incorrect list of supported transforms in the CLI usage. Signed-off-by: Loïc Molinari <loic.molinari@collabora.com>
5791bdf6 -
Some tests don't need to wait for the frame callback when a surface is moved. This commit renames the move_client() helper function to move_client_frame_sync() so that tests which need synchronisation must explicitely request it. This allows to get 4 more tests using repaint only on capture and to speed up runtime. Signed-off-by: Loïc Molinari <loic.molinari@collabora.com>
31a9a483