xserver-multidpi/composite
Dave Airlie 6ffda5aae7 dix/glx/composite: consolidate visual resize in one place.
The previous code was copied and in both cases incorrectly fixed
up the colormaps after resizing the visuals, this patch consolidates
the visual resize + colormaps fixups in one place. This version
also consolidates the vid allocation for the DepthPtr inside the
function.

I'm not 100% sure colormap.[ch] is the correct place for this but
visuals are mostly created in fb and I know thats not the place to
be resizing them.

Fixes fd.o bug #19470.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-30 10:00:07 +10:00
..
compalloc.c Correct some Sun license notices to Sun's standard X11 license format 2009-05-15 11:24:15 -07:00
compext.c input: define server-supported protocol versions in one single file. 2009-09-21 21:47:35 +10:00
compinit.c dix/glx/composite: consolidate visual resize in one place. 2009-09-30 10:00:07 +10:00
compint.h Correct some Sun license notices to Sun's standard X11 license format 2009-05-15 11:24:15 -07:00
compositeext.h Export CompositeRegisterAlternateVisuals. 2009-04-27 13:29:40 -07:00
compoverlay.c Correct some Sun license notices to Sun's standard X11 license format 2009-05-15 11:24:15 -07:00
compwindow.c Correct some Sun license notices to Sun's standard X11 license format 2009-05-15 11:24:15 -07:00
Makefile.am Export CompositeRegisterAlternateVisuals. 2009-04-27 13:29:40 -07:00