07:13pq: emersion, if that's about removing working ABI from a stable library that is evidently also being used in the wild, then how could it be possible? I'm not sure if that's what you're referring to. "Removing" does include "make not work". We can come back to that once we cannot find any user of it anymore, new or *old*. But even it would techincally be a violation of stable ABI rules.
07:15pq: JoshuaAshton, from that code block, it is impossible for me to see if you are using column- or row-major layout.
07:17pq: JoshuaAshton, re: scRGB; That's exactly what I'm talking about. I simply cannot assume that scRGB would never be used for bigger than BT.2020 gamut. Instead, the protocol requires applications to be explicit about the actual gamut, or they get the BT.709 gamut. If you as an application *know* it will never be bigger than BT.2020, you are free to say that via protocol when you know nothing else.
07:19pq: JoshuaAshton, I do not have the luxury of not caring about HLG. Lucky you.
07:19pq: JoshuaAshton, can you elaborate those industry opinions about HLG? who and why?
07:21pq: JoshuaAshton, was that only game and game engine developers, or also broadcasting companies?
07:22pq: or broadcasting tech suppliers or such
07:25emersion: pq: a build option off by default is not nearly as dramatic
07:25pq: yes, but what would that achieve?
07:26pq: it doesn't allow us to drop code, and no distribution would be able to turn it on
07:27emersion: BSDs for instance might be able to drop once all compositors in their repo have migrated away
07:28pq: ok
07:29pq: are there still BSD flavors that do not have working wl_event_loop implementation?
08:03wlb: wayland Issue #376 opened by Pekka Paalanen (pq) It sounds like wl_surface.damage was deprecated https://gitlab.freedesktop.org/wayland/wayland/-/issues/376 [Protocol]
10:28pq: Huh. Building libdisplay-info as a Weston meson subproject results in a DSO that exports no symbols. That's not intentional, is it?
10:31emersion: that doesn't seem correct
10:32emersion: fwiw i've used libdisplay-info as a wlroots/gamescope subproject without issues
10:32pq: wonder if some build/link flags from weston leak into display-info that breaks it
10:33pq: it worked as a static lib, naturally
10:35emersion: if you add_global_arguments(), it would leak indeed
10:36emersion: but add_project_arguments() shouldn't
10:36emersion: project options might leak
10:36emersion: (you can override these per-subproject)
10:38pq: I don't see anything odd in the command to link the DSO, and -Wl,--version-script,/home/pq/git/weston/subprojects/display-info/libdisplay-info.map is there too.
10:40emersion: pq, -fvisibility=hidden
10:40emersion: in add_global_arguments()
10:40pq: ooh
10:40emersion: weston should really use project args here
10:40pq: yes
10:41pq: thanks!
10:42pq: aml and neatvnc don't hit the problem, because they use visiblity=hidden themselves already
10:43emersion: np!
10:43emersion: yea that makes sense
11:35pq: and libdisplay-info
11:54ifreund: anyone know of real-world clients that unmap and remap their xdg-toplevels?
11:54ifreund: just trying to get an idea of what semantics clients expect that to have
11:55ifreund: e.g. should I persist compositor-specific window management state or reset it and behave the same as if it were a new toplevel on re-map
11:57davidre: ifreund: What do you think of? Clients that delete and create new xdg_toplevels from the same wl_surface?
11:58ifreund: davidre: clients that commit an empty buffer to the surface (unmapping it) and then do a new initial configure sequence
11:58ifreund: I really don't see why we chose to allow this in the protocol to be quite honest
11:59ifreund: but maybe there's a use-case I'm not aware of that justifies the complexity
12:05wlb: weston Merge request !1229 opened by Pekka Paalanen (pq) Draft: Integrate libdisplay-info (optional at first) https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1229 [Build system], [CI], [DRM/KMS backend]
16:33emersion: zamundaaa: where did you find the BT.709 to BT.2020 matrices?
16:41JEEB: i think both itu and arib have a document for that process
16:42JEEB: they are usually taken step by step tho
16:43JEEB: so fist matrix to idemtity matrix, and then to the one you need
16:43JEEB: *first
16:58zamundaaa[m]: emersion: I convert from BT.709 to XYZ, and then from XYZ to BT2020
16:59zamundaaa[m]: atm I use pretty much 1:1 the same code as https://github.com/ValveSoftware/gamescope/blob/master/src/shaders/colorimetry.h#L117
20:57emersion: ack, for some reason i thought you found the final matrix somewhere
20:57emersion: but seems easy enough to generate (and cleaner)