Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
compositor_->SetDisplayColorSpaces(color_spaces->color_spaces());
Should this be set when `compositor_` is created also?
CHECK_EQ(image_description, image_description_);
Potentially we can be crashed by compositor sending multiple `preferred_changed` events?
uint32_t identity) {
we don't need `identity` here, is it because we only retain one description at a time?
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Commit-Queue | +1 |
compositor_->SetDisplayColorSpaces(color_spaces->color_spaces());
Should this be set when `compositor_` is created also?
It is, on L574
Potentially we can be crashed by compositor sending multiple `preferred_changed` events?
Yes, removed.
we don't need `identity` here, is it because we only retain one description at a time?
We always recreate the WaylandWpImageDescription in this method, so `identity` isn't needed. Possibly it can be used to cache the description in a followup so a round-trip wouldn't be required.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[Wayland] Implement WaylandWpColorManagementSurface::OnPreferredChanged
* Move DisplayColorSpacesRef from Display private to a public class.
This is required Because DisplayColorSpaces is large and probably
shouldn't be copied.
* Add WindowTreeHost::display_color_spaces_ to hold the explicitly-set
DisplayColorSpaces.
* Move conversion code into
WaylandWpImageDescription::AsDisplayColorSpaces and reuse it for the
OnPreferredChanged callback.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
: display.GetColorSpaces());
Hi, can you explain why this change is needed (and can't be done via display)? This creates another source of the truth about color space, which can be error prone.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
: display.GetColorSpaces());
Hi, can you explain why this change is needed (and can't be done via display)? This creates another source of the truth about color space, which can be error prone.
It must be per-surface and cannot go in display because on Wayland, clients don't get to know their global window coordinates, so the position is always treated as 0,0. So if you have 2 monitors side-by-side with the left HDR and the right SDR, no matter where the window is placed, it will think it's on the HDR monitor. So colors will be wrong if the window is on the SDR monitor. The solution is to handle a signal sent from the compositor, which is sent per-window, that indicates the desired color space.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |