1
0
Fork 0
mutter-performance-source/data
Jonas Ådahl 0c2fa8e9a8 clutter/stage-view: Add linear intermediate color space buffer
Allow compositing in a linear color space and do so either when forcing
it via the debug controls D-Bus API, or when the experimental HDR mode
is enabled.

This relies on paint nodes etc to actually transform everything into the
linear target color space, which isn't done yet, so enabling it right
now will cause a broken result. Yet, introduce this now, so that
painting can be fixed piece by piece.

Linear blending is automatically enabled on monitors where HDR is
enabled, as this makes it possible to use an linear color space when
blending content from different color spaces with different transfer
functions.

Linear blending requires extra precision, i.e. 16 bit per channel
in the intermediate buffer due how the values are distributed,
so only enable the experimental HDR mode if the Cogl context supports
half float formats.

By default, no intermadiate linear offscreen framebuffer is used.

To test, do e.g.

  ./tools/debug-control.py --toggle ForceLinearBlending

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3433>
2024-07-09 18:55:54 +02:00
..
dbus-interfaces clutter/stage-view: Add linear intermediate color space buffer 2024-07-09 18:55:54 +02:00
50-mutter-navigation.xml Fix shortcut wording 2023-05-08 21:00:05 +00:00
50-mutter-system.xml data: Stop exposing old panel-main-menu shortcut 2021-08-30 21:43:34 +00:00
50-mutter-wayland.xml Add restore-shortcuts to key bindings list 2017-11-10 17:59:26 +01:00
50-mutter-windows.xml data: Don't expose window shading shortcut 2018-01-24 19:09:27 +01:00
61-mutter.rules Revert "udev-rules: Disable sending modifiers to clients with amdgpu" 2023-05-30 14:25:18 +02:00
meson.build build: Compile schemas locally for use in build tests 2024-06-13 22:14:51 +00:00
mutter-schemas.convert build: Move data files to their dedicated subfolder 2014-06-05 10:50:15 +02:00
org.gnome.mutter.gschema.xml.in settings: Add experimental feature for variable refresh rate 2024-03-02 12:08:21 +00:00
org.gnome.mutter.wayland.gschema.xml.in settings: Fix spelling of endianness 2023-01-29 17:37:43 +01:00