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

Zamundaaa <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/kwin/-/commit/d11b9a1739 |ma/kwin/-/commit/a153f9614c
                   |93768a25616d8235436ad36e589 |47b6c1136f3ed779906eef90914
                   |17c                         |0c1

--- Comment #13 from Zamundaaa <[email protected]> ---
Git commit a153f9614c47b6c1136f3ed779906eef909140c1 by Xaver Hugl.
Committed on 05/02/2026 at 21:09.
Pushed by zamundaaa into branch 'Plasma/6.6'.

opengl/icc_shader: more properly apply the MHC2 tag

For shaper+matrix profiles, the matrix was applied in RGB... but it needs to be
applied in XYZ space, with an additional unintuitive step to convert back to
RGB
after it.
The spec also doesn't describe how you'd correctly apply it in combination with
BToA tags, so the tag forces the shaper+matrix path from now on.

The previous code resulting in visually correct results with some profiles was
merely a coincidence, so this adds an additional autotest case to verify the
correctness more objectively.


(cherry picked from commit d11b9a173993768a25616d8235436ad36e58917c)

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

A  +-    --    autotests/data/HP 'Native' profile.icc
A  +-    --    autotests/data/HP 'sRGB' profile with MHC2.icc
M  +12   -5    autotests/test_colorspaces.cpp
M  +5    -2    src/backends/drm/drm_output.cpp
M  +14   -2    src/opengl/icc_shader.cpp

https://invent.kde.org/plasma/kwin/-/commit/a153f9614c47b6c1136f3ed779906eef909140c1

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

Reply via email to