Skip to content
Commit f4c69abc authored by Loïc Molinari's avatar Loïc Molinari Committed by Derek Foreman
Browse files

libweston: Let multiple backends register the Windowed Output API



The windowed output API is implemented by the Wayland, the X11 and the
headless backends. It's currently not possible to create a secondary
headless backend when the primary backend is Wayland or X11 because
the windowed output API would be registered twice. This commit
suffixes the windowed output API names with the backend name in order
to avoid clashes: "weston_windowed_output_api_<backend>_v2".

A use case for Wayland or X11 as primary backend and headless as
secondary is for instance to request output captures on the headless
backend to avoid read backs on the primary backend's render buffers.

Signed-off-by: default avatarLoïc Molinari <loic.molinari@collabora.com>
parent 1eae99b2
Loading
Loading
Loading
Pipeline #1126743 passed with stages
in 6 minutes and 35 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