Skip to content

color-lcms: print profile id instead of pointer

Pekka Paalanen requested to merge pq/weston:mr/colorid into main

Pointer values are hard to track for humans, being long numbers. Now that we have unique id for each color profile, print that instead of the pointer. It is a small number easy to track for humans.

Profile id numbers do get re-used aggressively, so you have to keep track of what is being destroyed and created over time when reading logs. Pointers had the same caveat, just a lot more random.

The prefix 'p' indicates "profile", just in case we use another id space for some other thing similarly.


Plus, two more patches to generate and print id numbers for color transformations as well, for the same reason.

cc @leandrohrb

Merge request reports

Loading