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 (true

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

2011-06-25 Thread Brian Paul
On Sat, Jun 25, 2011 at 4:41 AM, Marc Pignat wrote: > Hi Brian > > Please revert, this code does not work any more on 32bpp. OK, reverted. > 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

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 _

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

2011-06-24 Thread Brian Paul
On 06/24/2011 07:19 AM, Marc Pignat wrote: This patch add the support for 24bpp in the dri/swrast implementation. Signed-off-by: Marc Pignat Pushed. Thanks. Can you close the relevant bugs if they check out? -Brian ___ mesa-dev mailing list mesa-

[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/show