diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-03-10 23:27:04 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-03-10 23:27:04 +0100 |
commit | d567bb3e0f402eb3ff2d1b0d9615bef85efd405e (patch) | |
tree | 8f18928b0fd7ef59c5f2146aceae19a413348749 /info/blueshift.texinfo | |
parent | raise exception if blueshift_idcrtc fails (diff) | |
download | blueshift-d567bb3e0f402eb3ff2d1b0d9615bef85efd405e.tar.gz blueshift-d567bb3e0f402eb3ff2d1b0d9615bef85efd405e.tar.bz2 blueshift-d567bb3e0f402eb3ff2d1b0d9615bef85efd405e.tar.xz |
_icc_profile atom support
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'info/blueshift.texinfo')
-rw-r--r-- | info/blueshift.texinfo | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/info/blueshift.texinfo b/info/blueshift.texinfo index 48cd214..bbd59d0 100644 --- a/info/blueshift.texinfo +++ b/info/blueshift.texinfo @@ -694,6 +694,28 @@ profile file. @code{load_icc} takes one argument, the pathname of the ICC profile file; the function returns a fuction that can be invoked to apply the profile. +Alternatively, you can use either of the functions: + +@table @code +@item parse_icc(data) +Parse raw (series of bytes) ICC profile data into a function +that applies the profile when invoked. + +@item get_current_icc_raw() +Load the raw data for the currently applied ICC profiles, +stored on the X server. This function returns a list of +3-tuples, each tuple contains the index of a screen, +the index of a monitor and the raw data (series of bytes) +of the ICC profile for indicated monitor on the indicated +screen. Monitors without profiles are not listed. + +@item get_current_icc() +This function works like @code{get_current_icc_raw}, except +rather than returning raw profile data it returns functions +that apply the profiles when invoked. + +@end table + If you want to apply your adjustments on top of the current colour adjustments, you can use the functions @code{randr_get} or @code{vidmode_get}. @code{randr_get} |