mutter:wip/mutkupavels/fix-memory-leak-in-output-xrandr

Last commit made on 2022-09-02
Get this branch:
git clone -b wip/mutkupavels/fix-memory-leak-in-output-xrandr https://git.launchpad.net/mutter

Branch merges

Branch information

Name:
wip/mutkupavels/fix-memory-leak-in-output-xrandr
Repository:
lp:mutter

Recent commits

3c50a9f... by Alberts Muktupāvels

output-xrandr: Fix memory leak

Introduced in 99d84ae1cc8f027a35c32d266cef48758daaff6d.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2589>

eb764e0... by Jonas Ådahl

barrier/x11: Let the seat bind the input events for us

Without doing this, the events bound by the X11 barrier manager will get
overridden by the ones later bound by the seat.

Fixes: 0debb24e12d7b2f60d489b31981019f5f7b9b508
Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/2394
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2604>

73bb333... by Jonas Ådahl

backend: Remove unused barrier vfunc

It was added in error, and has been unused since its introduction. Lets
correct the error.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2604>

3e22eb3... by Sebastian Keller <email address hidden>

color-store: Fix two small leaks in init_profile_directory

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2603>

48ff211... by Sebastian Keller <email address hidden>

color-store: Fix small file path leak in ensure_device_profile

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2603>

57c7d75... by Sebastian Keller <email address hidden>

color-device: Don't wrongly use Unknown vendor in ICC profile from EDID

If the vendor_name was previously successfully determined, we would end
up in the else case, overwriting it with "Unknown vendor" and leaking
the previous vendor_name.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2603>

9aa9cac... by Jonas Ådahl

color-device: Pass calibration state separately when creating profile

This allows using two separate ICC profiles for one "color profile",
which is necessary to properly support color transform
calibration profiles from an EFI variable.

These types of profiles are intended to be applied using the color
transformation matrix (CTM) property on the output, which makes the
presented output match sRGB. In order to avoid color profile aware
clients making the wrong assumption, we must set the profile exposed
externally to be what is the expected perceived result, i.e. sRGB, while
still applying CTM from the real ICC profile.

The separation is done by introducing a MetaColorCalibration struct,
that is filled with relevant data. For profiles coming from EFI, a
created profile is practically an sRGB one, but the calibration data
comes from EFI, while for other profiles, the calibration data and the
ICC profile itself come from the same source.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2568>

5b251bd... by Jonas Ådahl

color-device: Add API to set test efivar path

This will be used by tests to set the special efivar calibration
profile.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2568>

2a87eb6... by Robert Mader

renderer-view: Use common helper function to transform matrices

To deduplicate some code. Tested with all eight possible values.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2468>

d3b81d7... by Robert Mader

stage-impl: Use onscreen framebuffer for scanout

We may want to use scanout even if the default framebuffer
of the stage view is an offscreen, for example when a Wayland
client provides pre-rotated buffers. The caller is responsible
to ensure this is correct - we already asserted on that before.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2468>