summaryrefslogtreecommitdiffstats
path: root/info
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-02-21 14:50:00 +0100
committerMattias Andrée <maandree@operamail.com>2014-02-21 14:50:00 +0100
commitfc49478a082a300940878e5de72fa2055ca7b3b0 (patch)
tree2ec9eae42025aebb1415de2a4715f12c11f26c11 /info
parentremove old variables (diff)
downloadblueshift-fc49478a082a300940878e5de72fa2055ca7b3b0.tar.gz
blueshift-fc49478a082a300940878e5de72fa2055ca7b3b0.tar.bz2
blueshift-fc49478a082a300940878e5de72fa2055ca7b3b0.tar.xz
add vidmode support
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--info/blueshift.texinfo19
1 files changed, 11 insertions, 8 deletions
diff --git a/info/blueshift.texinfo b/info/blueshift.texinfo
index 902b1e6..a112a93 100644
--- a/info/blueshift.texinfo
+++ b/info/blueshift.texinfo
@@ -546,17 +546,20 @@ the three colour components, not tuples.
Input and output is one colour instance.
To apply a colour curve to the display
-server, invoke the @code{randr} function;
+server, invoke the @code{randr} function, or
+@code{vidmode}@footnote{@code{vidmode} has
+the same API as @code{randr}, but it only
+supports using the zeroth CRTC};
@code{print_curves} can be used to print
the curves to stdout instead (for debugging).
These functions apply the curves to all
-monitors in the default screen (screen 0), put
-you can also use select monitors by specifying
-each monitor in as separate arguments. The
-monitors are indexed from zero. The screen by
-can be selected by adding the argument
-@code{screen = X}, where @code{X} is the
-index of the screen.
+monitors in the default screen (screen 0),
+put you can also use select monitors by
+specifying each monitor in as separate
+arguments. The monitors are indexed from
+zero. The screen by can be selected by
+adding the argument @code{screen = X},
+where @code{X} is the index of the screen.
If you want to write your own curve flushing
fucntion @code{translate_to_integers} can be