[PATCH 5/5] Move the optional output name property from drm_output to weston_output

Richard Hughes hughsient at gmail.com
Thu May 2 06:44:50 PDT 2013


On 2 May 2013 13:49, Kai-Uwe Behrmann <ku.b at gmx.de> wrote:
> Why will come a need for a CMS to read hardcoded names from the config file?

Well, colord won't, but not everybody wants/needs colord, e.g. on an
embedded display where a color profile is never likely to change. For
this case I've added a cms-static plugin[1] that reads the weston.conf
config file like this:

[output]
name=LVDS1
icc_profile=/usr/share/color/icc/colord/Bluish.icc

So the "static" CMS plugin needs the LVDS1 name so it can check the
weston_output when the created callback gets called. Note, in the
colord plugin we also set the LVDS1-type name as metadata on the
device, although it's not required.

Richard.

[1] krh didn't want this directly in the compositor-drm file, which makes sense.


More information about the wayland-devel mailing list