[RFC PATCH 1/6] Add colorcorrection protocol

Richard Hughes hughsient at gmail.com
Mon Mar 31 01:25:34 PDT 2014


On 31 March 2014 08:46, Pekka Paalanen <ppaalanen at gmail.com> wrote:
> how much data can an ICC profile be?

Printer profiles can be several megabytes in size, but display
profiles (what will be seen here) are usually in the 20-30kb size
range.

> Also, what if a client has several surfaces all with the same ICC
> profile, would it not be useful to have some notion of re-using an
> already sent and parsed color profile? Otherwise I would imagine lots
> of overhead if every surface has a private copy of the profile
> sent over the wire, parsed, and stored in the compositor's renderer.

I don't think typically they'll be many different profiles in use, on
a typical system most things will just be (assumed) sRGB to 'n'
display profiles, where n is the number of outputs.

> Is that a reasonable requirement for all compositors that support
> per-output ICC profiles?

I think it's a very little amount of work, IMO doing it centrally
makes a lot of sense as some bits are tricky to do correctly.

Overall, I'm very happy to see someone pick up this work. Thanks.

Richard.


More information about the wayland-devel mailing list