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

Zamundaaa <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/-/commit/d11b9a1739
                   |                            |93768a25616d8235436ad36e589
                   |                            |17c

--- Comment #12 from Zamundaaa <[email protected]> ---
Git commit d11b9a173993768a25616d8235436ad36e58917c by Xaver Hugl.
Committed on 05/02/2026 at 14:12.
Pushed by zamundaaa into branch 'master'.

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.

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/d11b9a173993768a25616d8235436ad36e58917c

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

Reply via email to