https://bugs.kde.org/show_bug.cgi?id=513895

Zamundaaa <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/kwin/-/commit/ed12505a54 |ma/kwin/-/commit/9973b1d694
                   |0910de28faf2c19e30dcc77315c |6defb361cee94aa4d3eee1d3236
                   |0c5                         |8fc

--- Comment #4 from Zamundaaa <[email protected]> ---
Git commit 9973b1d6946defb361cee94aa4d3eee1d32368fc by Xaver Hugl.
Committed on 11/02/2026 at 12:59.
Pushed by zamundaaa into branch 'Plasma/6.6'.

core/colorpipeline: add a clamping operation

Does exactly what it says. It's needed to ensure the shader and KMS behave the
same: clamping the output to the screen's configured max luminance.
To prevent performance regressions, the clamping operation is only added if
necessary - which it generally isn't with normal SDR content buffers.


(cherry picked from commit ed12505a540910de28faf2c19e30dcc77315c0c5)

Co-authored-by: Xaver Hugl <[email protected]>

M  +1    -1    autotests/test_colorspaces.cpp
M  +6    -7    src/backends/drm/drm_colorop.cpp
M  +42   -2    src/core/colorpipeline.cpp
M  +19   -2    src/core/colorpipeline.h
M  +3    -1    src/scene/itemrenderer_opengl.cpp
M  +1    -0    src/scene/itemrenderer_opengl.h
M  +14   -0    src/scene/surfaceitem.cpp
M  +2    -0    src/scene/surfaceitem.h

https://invent.kde.org/plasma/kwin/-/commit/9973b1d6946defb361cee94aa4d3eee1d32368fc

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to