summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-02-23 11:18:14 +0100
committerMattias Andrée <maandree@operamail.com>2014-02-23 11:18:14 +0100
commit4e1f44c405afeb7b1114a424a9647b2b6b914d16 (patch)
tree3d1a89276faed8f8995cd423f6617fd787e0374c
parentadd randr_get and vidmode_get (diff)
downloadblueshift-4e1f44c405afeb7b1114a424a9647b2b6b914d16.tar.gz
blueshift-4e1f44c405afeb7b1114a424a9647b2b6b914d16.tar.bz2
blueshift-4e1f44c405afeb7b1114a424a9647b2b6b914d16.tar.xz
info: doc randr_get and vidmode_get
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--info/blueshift.texinfo12
1 files changed, 12 insertions, 0 deletions
diff --git a/info/blueshift.texinfo b/info/blueshift.texinfo
index a19d0f4..53d18a6 100644
--- a/info/blueshift.texinfo
+++ b/info/blueshift.texinfo
@@ -523,6 +523,18 @@ 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.
+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}
+and @code{vidmode_get} have optional two parameters,
+@code{crtc} and @code{screen}, which are the CRTC of
+the monitor to read from, and the screen to which the
+monitor belongs, respectively. The functions return
+a parameterless function that applies adjustsments
+that were applied at the time of invokation of
+@code{randr_get} or @code{vidmode_get} to the current
+working curves.
+
Keep in mind that the order your call the
function matters. For example, adjusting
the gamma before the brightness does not