Commits on Source (8)
-
Pekka Paalanen authored
Global arguments leak into Meson subprojects. Let's not do that. Specifically, -fvisibility=hidden leaks into a future sub-project libdisplay-info, where it results the DSO not exporting any symbols. Libdisplay-info uses a linker script to define the exported symbols and not visiblity. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
fefdd577 -
Pekka Paalanen authored
This will make adding libdisplay-info as another EDID parser easier, because libdisplay-info always returns malloc'd strings. To make things easier to extend as well, I introduce struct drm_head_info. The libdisplay-info case will likely return more information than this in the future. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
dfdb1a71 -
Pekka Paalanen authored
Now that this is used only internally in modes.c, move it there. It will not be used with libdisplay-info. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
d48d571f -
Pekka Paalanen authored
Move the ad hoc filling code into a separate function. Then we can easily add an alternative implementation of the new function using libdisplay-info without messing up the code any more than necessary. Pure refactoring. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
902697d0 -
Pekka Paalanen authored
We want to install all dependencies ourselves to know exactly what we get. I accidentally got some wraps built when I did not expect so. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
ff2d2f75 -
Pekka Paalanen authored
DRM-backend will want to use this. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
1605a6a7 -
Pekka Paalanen authored
Add libdisplay-info as a better alternative for parsing EDID. This way we do not need to extend Weston's ad hoc parser for new things that especially HDR support requires. Eventually the ad hoc parser will be deleted and libdisplay-info becomes a hard dependency for the drm-backend, reducing our maintenance burden. Unlike the ad hoc code, libdisplay-info has automated CI testing. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
d6a4c58f -
Pekka Paalanen authored
Hardcode the ad hoc EDID parser to always claim that only SDR is supported. Even though libdisplay-info is not yet asked for HDR capabilities, it shall be the only way to see them. To be nicer to experimenters, main.c adds a note that you really need libdisplay-info if you want to play with HDR. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
8ca6c24c
subprojects/.gitignore
0 → 100644
subprojects/display-info.wrap
0 → 100644