From fc49478a082a300940878e5de72fa2055ca7b3b0 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 21 Feb 2014 14:50:00 +0100 Subject: add vidmode support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- info/blueshift.texinfo | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'info') 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 -- cgit v1.2.3-70-g09d2