xserver-multidpi/hw/kdrive
Jeremy Uejio c8216aede6 Sun bug #6685465: Xephyr uses wrong or bad colortable in 8-bit mode
<http://bugs.opensolaris.org/view_bug.do?bug_id=6685465>

This bug is caused by Xephyr not handling the RGB byte order correctly
of the server where Xephyr is displaying on. The previous code just
assumed that the order was RGB and did not take into account that
Xservers may use different order (such as BGR).

The fix is to add a function to calculate the byte order and bits
to shift based on the visual mask and the visual bits_per_rgb (which
is usually 8, but could be server dependent).  Since the shifts won't
change once the display connection has been made, I can cache these
values so that Xephyr doesn't have to keep recalculating them everytime
it tries to translate the Xephyr colormap entries for Xephyr clients to
the actual server colormap entries (i.e. calling the function
hostx_set_cmap_entry() repeatedly for every colormap entry).
2008-07-01 13:37:12 -07:00
..
ephyr Sun bug #6685465: Xephyr uses wrong or bad colortable in 8-bit mode 2008-07-01 13:37:12 -07:00
fake kdrive: need not export symbols for glx anymore 2008-05-23 22:40:25 +03:00
fbdev kdrive: need not export symbols for glx anymore 2008-05-23 22:40:25 +03:00
linux Add mediumraw support to the linux kdrive driver 2008-04-22 18:05:53 +01:00
sdl kdrive: need not export symbols for glx anymore 2008-05-23 22:40:25 +03:00
src kdrive: fix building with --disable-xv (bug#16488) 2008-06-23 23:45:57 +02:00
vesa kdrive: need not export symbols for glx anymore 2008-05-23 22:40:25 +03:00
Kdrive.tmpl Update RCS tags, fix keyboard hang on VT switch, fix scroll wheel mice, add 2003-07-07 19:13:03 +00:00
Makefile.am The great kdrive purge. 2008-05-16 08:16:01 -04:00
Xkdrive.man The great kdrive purge. 2008-05-16 08:16:01 -04:00