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.

Attachment: 0001-Add-initial-color-management-framework-code.patch
Description: Binary data

Attachment: 0002-Add-a-colord-implementation-of-a-CMS-plugin-for-west.patch
Description: Binary data

_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to