https://bugs.kde.org/show_bug.cgi?id=491452
Zamundaaa <xaver.h...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REPORTED |RESOLVED Resolution|--- |FIXED Latest Commit| |https://invent.kde.org/plas | |ma/kwin/-/commit/6bd07ad6b3 | |0e34f43652934630d30234ad65a | |c7c --- Comment #1 from Zamundaaa <xaver.h...@gmail.com> --- Git commit 6bd07ad6b30e34f43652934630d30234ad65ac7c by Xaver Hugl. Committed on 09/08/2024 at 13:18. Pushed by zamundaaa into branch 'master'. backends/drm: remove the shadow buffer when possible, and reduce it to 10bpc when not Using the custom values for min. and max. luminance in transfer functions, we can reduce the ranges of values in the shadow buffer to be limited to [0, 1], and with that we can switch from a floating point buffer back to a normalized format. As gamma 2.2 encoding is much more efficient at storing color values, this also drops the buffer from 16bpc down to 10bpc. Furthermore, this offloads the gamma 2.2 -> PQ conversion to KMS when possible, and then uses the scanout buffer with gamma 2.2 encoding directly. This way the shadow buffer gets completely skipped and performance and efficiency get improved a lot. Related: bug 477223 M +7 -7 autotests/test_colorspaces.cpp M +7 -10 src/backends/drm/drm_egl_layer.cpp M +34 -26 src/backends/drm/drm_egl_layer_surface.cpp M +2 -2 src/backends/drm/drm_egl_layer_surface.h M +45 -28 src/backends/drm/drm_output.cpp M +11 -3 src/backends/drm/drm_output.h M +4 -10 src/backends/drm/drm_pipeline.cpp M +2 -2 src/backends/x11/standalone/x11_standalone_output.cpp M +1 -1 src/compositor_wayland.cpp M +3 -3 src/core/colorpipeline.cpp M +1 -1 src/core/colorpipeline.h M +16 -2 src/core/colorspace.cpp M +3 -1 src/core/colorspace.h M +2 -2 src/wayland/frog_colormanagement_v1.cpp M +1 -1 src/wayland/frog_colormanagement_v1.h M +3 -3 src/wayland/xx_colormanagement_v4.cpp https://invent.kde.org/plasma/kwin/-/commit/6bd07ad6b30e34f43652934630d30234ad65ac7c -- You are receiving this mail because: You are watching all bug changes.