mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-02 05:12:02 +00:00
[client] wayland: use multi-line debug output for hdr support info
This commit is contained in:
@@ -81,16 +81,29 @@ static void cmDone(void * data, struct wp_color_manager_v1 * cm)
|
|||||||
canPQ || (wlWm.cmHasPerceptualIntent && wlWm.cmHasWindowsSCRGB),
|
canPQ || (wlWm.cmHasPerceptualIntent && wlWm.cmHasWindowsSCRGB),
|
||||||
memory_order_relaxed);
|
memory_order_relaxed);
|
||||||
atomic_store_explicit(&wlWm.cmFeaturesDone, true, memory_order_release);
|
atomic_store_explicit(&wlWm.cmFeaturesDone, true, memory_order_release);
|
||||||
DEBUG_INFO("Color management features: parametric:%d luminances:%d "
|
DEBUG_INFO_ML(
|
||||||
"mastering_primaries:%d extended_target:%d st2084_pq:%d "
|
"Color management features:\n"
|
||||||
"ext_linear:%d bt2020:%d srgb:%d windows_scrgb:%d perceptual:%d "
|
" parametric : %d\n"
|
||||||
"can_do_hdr:%d",
|
" luminances : %d\n"
|
||||||
wlWm.cmHasParametric, wlWm.cmHasLuminances,
|
" mastering_primaries: %d\n"
|
||||||
|
" extended_target : %d\n"
|
||||||
|
" st2084_pq : %d\n"
|
||||||
|
" ext_linear : %d\n"
|
||||||
|
" bt2020 : %d\n"
|
||||||
|
" srgb : %d\n"
|
||||||
|
" windows_scrgb : %d\n"
|
||||||
|
" perceptual : %d\n"
|
||||||
|
" can_do_hdr : %d",
|
||||||
|
wlWm.cmHasParametric,
|
||||||
|
wlWm.cmHasLuminances,
|
||||||
wlWm.cmHasMasteringPrimaries,
|
wlWm.cmHasMasteringPrimaries,
|
||||||
wlWm.cmHasExtendedTargetVolume,
|
wlWm.cmHasExtendedTargetVolume,
|
||||||
wlWm.cmHasTFSt2084PQ, wlWm.cmHasTFExtLinear,
|
wlWm.cmHasTFSt2084PQ,
|
||||||
wlWm.cmHasPrimariesBT2020, wlWm.cmHasPrimariesSRGB,
|
wlWm.cmHasTFExtLinear,
|
||||||
wlWm.cmHasWindowsSCRGB, wlWm.cmHasPerceptualIntent,
|
wlWm.cmHasPrimariesBT2020,
|
||||||
|
wlWm.cmHasPrimariesSRGB,
|
||||||
|
wlWm.cmHasWindowsSCRGB,
|
||||||
|
wlWm.cmHasPerceptualIntent,
|
||||||
atomic_load(&wlWm.cmCanDoHDR));
|
atomic_load(&wlWm.cmCanDoHDR));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user