xserver-multidpi/hw/xfree86/modes
James Cloos afc153a5b4
Fix RANDR’s gamma_to_ramp().
In order to generate a 256-entry ramp in [0,65535] which covers the full
range, one must mupliply eight-bit values not by 256 but rather by 257.

Many years back – well before the RANDR extension was written, and
before xorg@fdo – a similar bug fix was made to the DIX for converting
client-supplied eight-bit color values into sixteen-bit values.

Noticed by: Elle Stone and Graeme Gill.

Signed-off-by: James Cloos <cloos@jhcloos.com>
2012-05-08 17:55:10 -04:00
..
Makefile.am displayid: Implement mode decoding. 2009-07-17 14:48:55 -04:00
xf86Crtc.c xf86Crtc: include "xf86xv.h" only if XV 2012-04-05 21:56:59 -05:00
xf86Crtc.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86Cursors.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86cvt.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86DiDGA.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86DisplayIDModes.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86EdidModes.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86gtf.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86Modes.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86Modes.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86RandR12.c Fix RANDR’s gamma_to_ramp(). 2012-05-08 17:55:10 -04:00
xf86RandR12.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86Rename.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86Rotate.c xfree86: workaround crash on close 2012-04-23 20:20:42 -07:00