[PATCH] dix/glx/composite: consolidate visual resize in one place.

Keith Packard keithp at keithp.com
Mon Sep 28 21:21:31 PDT 2009


Excerpts from Dave Airlie's message of Mon Sep 28 18:49:09 -0700 2009:
> 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 at redhat.com>

Reviewed-by: Keith Packard <keithp at keithp.com>

-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-devel/attachments/20090928/ea2cf77d/attachment.pgp 


More information about the xorg-devel mailing list