mirror of
https://github.com/storytold/lightcraft.git
synced 2026-10-25 10:37:11 -06:00
On a profiled display the Grey and Sharpening-mask views rendered in the display's primaries, so their histogram counted display-primary pixels, not the photo's sRGB ones. They now render in sRGB like the clipping views (`Overlay::renders_in_srgb`) and are converted for the display after; they show no photo colour, so nothing is lost. The GPU equivalence test now covers Grey (mean/max LSB limits) and the shadow/highlight clipping views (share of differing pixels, as for Visualize Spots: both renderers draw them with the same `visualize::apply`, and a 1-LSB difference at 0/255 flips a pixel). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>