Re: [Mesa-dev] [RFC, PATCH] Fix 24bpp software rendering, take 2

2011-06-28 Thread Marc Pignat
This patch add the support for 24bpp in the dri/swrast implementation. Signed-off-by: Marc Pignat --- Hi all! Here is a fix for https://bugs.freedesktop.org/show_bug.cgi?id=23525 This time it has been tested under kvm/qemu using: * cirrus emulation (truecolor 24 bits with 24 bpp) * vga

Re: [Mesa-dev] [RFC, PATCH] Fix 24bpp software rendering

2011-06-25 Thread Marc Pignat
Hi Brian Please revert, this code does not work any more on 32bpp. It seems that I haven't understood what the depthBits field is... My goal is to make it work on x11 when color depth is 24 and bits_per_pixel is 24 (not 32). How can I find which mode is used? Best regards Marc _

[Mesa-dev] [RFC, PATCH] Fix 24bpp software rendering

2011-06-24 Thread Marc Pignat
This patch add the support for 24bpp in the dri/swrast implementation. Signed-off-by: Marc Pignat --- Hi all! I think it is important because users of KVM or QEMU use this mode as the default. Here is a small list of bugs that should be fixed by this patch: * https://bugs.freedesktop.org