xserver-multidpi/hw
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
..
dmx Bug #16302: Fix GLX drawable refcounting in DMX. 2008-06-23 14:35:20 -04:00
kdrive Sun bug #6685465: Xephyr uses wrong or bad colortable in 8-bit mode 2008-07-01 13:37:12 -07:00
vfb Merge branch 'master' into mpx 2008-05-26 17:37:31 +09:30
xfree86 Work around the DIX losing mmWidth/mmHeight for RandR 1.1 DDXen. 2008-07-01 09:08:22 -07:00
xnest xnest: wrap the xnest cursor sprite funcs around the mi funcs. 2008-06-11 17:24:19 +09:30
xquartz XQuartz: Under the new startup model, we no longer need to do the foreground/background dance. 2008-06-10 10:52:04 -07:00
xwin Death to mfb. 2008-06-13 10:51:18 -04:00
Makefile.am Remove xgl. 2008-06-12 16:00:50 -04:00