[rebased] Add a color management framework to weston

Richard Hughes hughsient at gmail.com
Tue Apr 16 09:41:30 PDT 2013


I've rebased my cms patches from 1.0.6 to master/1.1.0. Two patches
attached. I've been testing them using gnome-color-manager, but you
can equally do something like:

colormgr device-add-profile
/org/freedesktop/ColorManager/devices/weston_drm_0
/org/freedesktop/ColorManager/profiles/icc_4b416c56cc6c3322a30b6d48548b449f
colormgr device-add-profile
/org/freedesktop/ColorManager/devices/weston_drm_0
/org/freedesktop/ColorManager/profiles/icc_a5bdfcca60078dce523c5acc8d1cbaad

Then, to make the display a test blue color:

colormgr device-make-profile-default
/org/freedesktop/ColorManager/devices/weston_drm_0
/org/freedesktop/ColorManager/profiles/icc_4b416c56cc6c3322a30b6d48548b449f

And to restore the screen back to sRGB with linear gamma ramps:

colormgr device-make-profile-default
/org/freedesktop/ColorManager/devices/weston_drm_0
/org/freedesktop/ColorManager/profiles/icc_a5bdfcca60078dce523c5acc8d1cbaad

Richard.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-initial-color-management-framework-code.patch
Type: application/octet-stream
Size: 20687 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20130416/737cd82a/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Add-a-colord-implementation-of-a-CMS-plugin-for-west.patch
Type: application/octet-stream
Size: 14049 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20130416/737cd82a/attachment-0003.obj>


More information about the wayland-devel mailing list