Skip to content
Commit 1d59530e authored by Philipp Zabel's avatar Philipp Zabel Committed by Marius Vlad
Browse files

libweston: Set the presentation clock in the compositor



Let backends declare the presentation clocks they can use with a
new bitfield weston_backend::supported_presentation_clocks and set
presentation clock after loading the backend in the compositor.

Make weston_compositor_set_presentation_clock() internal and replace
weston_compositor_set_presentation_clock_software() with an exported
weston_compositor_backends_loaded(), which is called by the compositor
after the backend is loaded.

In the future, this can be extended to determine the subset of clocks
supported by all backends.

Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
parent 51d23a40
Loading
Loading
Loading
Pipeline #950506 passed with stages
in 4 minutes and 22 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment