-
This new public API is intended to deliver EDID etc. information to the frontend. The use case here is display colorimetry, to help the frontend craft output image descriptions (color profiles). The frontend will need to link to and use libdisplay-info to make use of this. This avoids having to replicate in libweston the high-level API that libdisplay-info already has. The libdisplay-info API is also likely to be extended, and it is not nice to play catch-up with it. As a di_info can only be destroyed by calling into libdisplay-info, libweston core can only ensure it has already been freed. There is not enough reason to make libweston core depend on libdisplay-info, only the DRM-backend is. It will be up to DRM-backend to ensure display_info is updated and device_changed is set only when necessary. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
39b577e3